canonical / craft-parts

https://canonical-craft-parts.readthedocs-hosted.com
GNU Lesser General Public License v3.0
11 stars 37 forks source link

use craftgit for git operation instead of relying on build-package #900

Open dariuszd21 opened 2 weeks ago

dariuszd21 commented 2 weeks ago

What needs to get done

use craftgit, where git client is run as a subprocess with the fallback to the git to ensure backward compatibility.

Why it needs to get done

our snap package will bundle with craftgit which is git client packaged specifically for the craft libraries use. we should use it in the places where we really on the system git and fallback to the git if it's not a snap or the binary is not available.

syncronize-issues-to-jira[bot] commented 2 weeks ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3664.

This message was autogenerated