Skip to content

Conversation

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Aug 20, 2025

The ParseGitRef function was only used in frontend/{dockerfile, dockerui}, expect a single occurrence in solver/llbsolver/history.go.

The occurrence in solver/llbsolver/history.go now uses util/gitutil/git_url.go:ParseURL().

The `ParseGitRef` function was only used in `frontend/{dockerfile, dockerui}`,
expect a single occurrence in `solver/llbsolver/history.go`.

The occurrence in `solver/llbsolver/history.go` now uses
`util/gitutil/git_url.go:ParseURL()`.

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v0.24.0 milestone Aug 20, 2025
@AkihiroSuda AkihiroSuda requested a review from tonistiigi August 20, 2025 23:44
@tonistiigi tonistiigi requested a review from crazy-max August 21, 2025 14:12
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

The ParseGitRef function was only used in frontend/{dockerfile, dockerui},

We are calling this func on Buildx repo https://github.com/search?q=repo%3Adocker%2Fbuildx%20gitutil.ParseGitRef&type=code but looking at it I think we can use ParseURL instead.

@AkihiroSuda AkihiroSuda merged commit eef386d into moby:master Aug 22, 2025
139 checks passed
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.

3 participants