-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
Support Acquire-By-Hash for index files #664
Commits on Nov 30, 2017
-
Support Acquire-By-Hash for index files
The added "aptly publish repo" option "-access-by-hash" publishes the index files (Packages*, Sources*) also as hardlinked hashes. Example: /dists/yakkety/main/binary-amd64/by-hash/SHA512/31833ec39acc... The Release files indicate this with the option "Acquire-By-Hash: yes" This is used by apt >= 1.2.0 and prevents the "Hash sum mismatch" race condition between a server side "aptly publish repo" and "apt-get update" on a client. See: http://www.chiark.greenend.org.uk/~cjwatson/blog/no-more-hash-sum-mismatch-errors.html This implementation uses symlinks in the by-hash/*/ directory for keeping only two versions of the index files and deleting older files automatically. Note: this only works with aptly.FileSystemPublishedStorage Closes: aptly-dev#536 Signed-off-by: André Roth <neolynx@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bb2db7e - Browse repository at this point
Copy the full SHA bb2db7eView commit details -
Extend PublishedStorage interface for Acquire-By-Hash
Signed-off-by: André Roth <neolynx@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e079127 - Browse repository at this point
Copy the full SHA e079127View commit details -
Extend s3 storage with link and file exists methods
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 7498fd8 - Browse repository at this point
Copy the full SHA 7498fd8View commit details -
Extend swift storage with link and file exists methods
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 438e206 - Browse repository at this point
Copy the full SHA 438e206View commit details -
Rename AccessByHash to AcquireByHash for consistency with other flags
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 092a7ed - Browse repository at this point
Copy the full SHA 092a7edView commit details -
Extend publish snapshot test with acquire by hash
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 2bd0b78 - Browse repository at this point
Copy the full SHA 2bd0b78View commit details -
Oliver Sauder committed
Nov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for d6b4b79 - Browse repository at this point
Copy the full SHA d6b4b79View commit details -
Avoid exception when failing tests doesn't have a doc string
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 4718625 - Browse repository at this point
Copy the full SHA 4718625View commit details -
Add acquire by hash when updating publish
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for b4f3573 - Browse repository at this point
Copy the full SHA b4f3573View commit details -
Update man page and bash completion
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for f5e1e19 - Browse repository at this point
Copy the full SHA f5e1e19View commit details -
Order publish parameters in bash completion
This makes it easier maintainable.
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 674a0e8 - Browse repository at this point
Copy the full SHA 674a0e8View commit details -
Simplify packaging indexing by hash and stop when there is an error
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 2e48860 - Browse repository at this point
Copy the full SHA 2e48860View commit details -
Implement FileExists in files storage as simple stat to improve perfo…
…rmance
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 3efa105 - Browse repository at this point
Copy the full SHA 3efa105View commit details -
Build src path on basis of storage prefix when symlinking
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for e504fdc - Browse repository at this point
Copy the full SHA e504fdcView commit details -
Adjust FileExists to differentiate between error and actual file exis…
…tence
Oliver Sauder committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for b2bf4f7 - Browse repository at this point
Copy the full SHA b2bf4f7View commit details