-
Notifications
You must be signed in to change notification settings - Fork 2
Upstream reference updates #27
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
Conversation
Not Signed, Do not merge
Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
|
I took a quick look over this and I'm pretty happy with it. My one concern is that the upstream distribution change doesn't use types to differentiate normalized references from unnormalized ones. For example, I believe the pull/push code expects a normalize reference, but since it takes |
6d78732 to
2b2be6a
Compare
|
What I found in doing the code changes is that If we were to have |
|
Added another commit which familiarizes the output strings, still have more work to get tests passing. Most the code today assumes values are not normalized which makes this switch to having all references normalized a larger change. |
Maybe instead of embedding type NormalizedName interface {
Normalized() Named
Familiar() Named
}This would keep things explicit, and also address my concern about accidentally passing an unnormalized reference to a function expecting a normalized one or vice versa, by making a normalized name an explicit type. |
#27 94.97 executor/oci/internal/resolvconf/resolvconf.go:461:6: the error type name `systemErr` should conform to the `xxxError` format (errname) #27 94.97 type systemErr struct{ error } #27 94.97 ^ Also fix an unhandled error; we don't need a defer() for that one Signed-off-by: Sebastiaan van Stijn <[email protected]>
PR to review reference changes in distribution package with corresponding changes in docker engine.
See distribution/distribution#1778