Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in 'soruce.http.uidgid' #3425

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benlongo
Copy link
Contributor

I doubt it is possible to directly change this because it's a public API, but I'm unsure how that should be done. This PR is here mostly just to bring attention to the issue and discuss possible resolutions.

@@ -33,7 +33,7 @@ const (
CapSourceHTTP apicaps.CapID = "source.http"
CapSourceHTTPChecksum apicaps.CapID = "source.http.checksum"
CapSourceHTTPPerm apicaps.CapID = "source.http.perm"
CapSourceHTTPUIDGID apicaps.CapID = "soruce.http.uidgid"
CapSourceHTTPUIDGID apicaps.CapID = "source.http.uidgid"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
CapSourceHTTPUIDGID apicaps.CapID = "source.http.uidgid"
CapSourceHTTPUIDGID apicaps.CapID = "source.http.uidgid"
CapSourceHTTPUIDGIDTypo apicaps.CapID = "soruce.http.uidgid" // typo (v0.3 - v0.11), but unremovable for maintaining compatibility

The typo cap must also remain enabled (see https://github.com/moby/buildkit/search?q=CapSourceHTTPUIDGID to find the code that has to be updated)

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.

@benlongo Can you make the change suggested by @AkihiroSuda? Otherwise LGTM.

@tiborvass
Copy link
Collaborator

Ping @benlongo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants