-
Notifications
You must be signed in to change notification settings - Fork 543
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
Use Temp File For layout.{Write,Append,Replace}
Image/Index Methods
#1226
Commits on Jan 6, 2022
-
Add layout.WriteLayer for streaming layers and undersized layers from…
… incomplete downloads WriteLayer is an alternative to WriteBlob which can be used with streaming layers which have not yet calculated a digest or size. A temporary file is first written and then renamed when the reader has been fully consumed. Also, existing layers which do not have the correct size (and thus invalid hashes, but the hash is not checked) are overwritten. {Append,Replace,Write}{Image,Layer} functions utilize WriteLayer instead of WriteBlob to correctly overwrite undersized layers which were previously ignored without error. Undersized layers should no longer occur, since WriteLayer writes to a temporary file first, but when WriteBlob was used, these were common due to incomplete downloads.
Configuration menu - View commit details
-
Copy full SHA for 6ffd378 - Browse repository at this point
Copy the full SHA 6ffd378View commit details -
Improve error messages for validate.Image and validate.Index when lay…
…er blob content is truncated
Configuration menu - View commit details
-
Copy full SHA for a559ccd - Browse repository at this point
Copy the full SHA a559ccdView commit details -
Unexport
layout.WriteLayer
; Implement suggested changes for validat……eLayers and temp file naming
Configuration menu - View commit details
-
Copy full SHA for ab33ba1 - Browse repository at this point
Copy the full SHA ab33ba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d9503b - Browse repository at this point
Copy the full SHA 4d9503bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 575f86d - Browse repository at this point
Copy the full SHA 575f86dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1efe3ef - Browse repository at this point
Copy the full SHA 1efe3efView commit details
Commits on Jan 7, 2022
-
Refactor
stream.compressedReader
to have less access to mutable fie……lds and fix data race
Configuration menu - View commit details
-
Copy full SHA for b2322b6 - Browse repository at this point
Copy the full SHA b2322b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf1181 - Browse repository at this point
Copy the full SHA ecf1181View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c3cdb6 - Browse repository at this point
Copy the full SHA 4c3cdb6View commit details