-
Notifications
You must be signed in to change notification settings - Fork 379
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
In pulls, compute DiffIDs earlier, and also for v2s2 #2635
base: main
Are you sure you want to change the base?
Commits on Nov 22, 2024
-
Tighten the conditions for storageImageSource.cachedManifest
If the value is set to a zero-byte value, use it, instead of trying to look for a value again / elsewhere. This should not make a difference in practice, a zero-length manifest is invalid anyway; so it's just a conceptual cleanup / a microoptimization. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf52eb1 - Browse repository at this point
Copy the full SHA bf52eb1View commit details -
Cache also the manifest MIME type in storageImageSource
Should not change behavior. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e4bf64 - Browse repository at this point
Copy the full SHA 9e4bf64View commit details -
Simplify handling of toplevelManifest
Other parts of the code already assume that the value is always valid, so don't treat an empty value specially. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d951a88 - Browse repository at this point
Copy the full SHA d951a88View commit details -
Tighten the semantics of s.manifest
Always check for nil, not for len(0). Ensure that PutManifest always sets it to non-nil, so that valid call sequences (with an invalid empty manifest) don't show up as hard-to-explain invariant violations. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b011a58 - Browse repository at this point
Copy the full SHA b011a58View commit details -
Only compute the MIME type of the committed manifest once
We will add one more user. Should not change behavior. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5cb5ee - Browse repository at this point
Copy the full SHA c5cb5eeView commit details -
Allow determining DiffID values for v2s2 images
For now this is not really relevant, but we will want to enforce the correctness of those values in the future. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90ee11a - Browse repository at this point
Copy the full SHA 90ee11aView commit details -
Add private.ImageDestination.NoteOriginalOCIConfig
For now, this only adds the API, nothing actually benefits from it yet. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe08409 - Browse repository at this point
Copy the full SHA fe08409View commit details -
Use NoteOriginalOCIConfig in storageImageDestination
Record DiffIDs early, so that we can commit partially-pulled layers immediately after staging them, and we don't have to wait for PutManifest. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e69286e - Browse repository at this point
Copy the full SHA e69286eView commit details