Skip to content

git: wrap upstream gitutil cli#2005

Draft
jedevc wants to merge 2 commits intodocker:masterfrom
jedevc:git-cli-upstreaming
Draft

git: wrap upstream gitutil cli#2005
jedevc wants to merge 2 commits intodocker:masterfrom
jedevc:git-cli-upstreaming

Conversation

@jedevc
Copy link
Collaborator

@jedevc jedevc commented Aug 16, 2023

⚠️ Requires moby/buildkit#4106.

jedevc added 2 commits August 16, 2023 16:14
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>

if setGitLabels {
if root, err := gitc.RootDir(); err != nil {
if root, err := gitc.WorkTree(ctx); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need the RootDir func otherwise root will always be empty here.

@thaJeztah
Copy link
Member

@jedevc I see moby/buildkit#4106 was merged; is this still something to complete? (and a rebase)?

@jedevc
Copy link
Collaborator Author

jedevc commented Jul 24, 2024

Yeah, ideally this would help remove some of the duplication between buildx and buildkit's custom git logic.

Unfortunately, I don't really have any spare cycles at the moment to pick up the rebase - however, I don't think there's anything that's critically changed in buildx for this? So shouldn't be too bad if someone else wants to pick up this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants