Implement a cache-friendly-url repo layout option#1372
Open
Implement a cache-friendly-url repo layout option#1372
Conversation
Contributor
Author
|
@quba42 I intend to do some more work when I come back in January on adding functional tests. However I have smoke-tested it locally and it seems to work for me, so feel free to take a look and see if you have comments if you get the chance. |
1ce6435 to
8d33856
Compare
edaf95f to
c0c81a7
Compare
Contributor
Author
|
@quba42 This is ready for your review. |
bea5f43 to
d5657f2
Compare
…ut the normal URLs
d5657f2 to
aaefec8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a
layoutparameter on AptPublications that allows you to choose between three different "styles" of package URL:nested_alphabetically:pool/main/a/aadlogin-selinux/aadlogin-selinux_1.0.016050002_amd64.debDefault, used currently here and in other deb repos like the main debian ones.nested_by_digest:pool/main/by-digest/c0/7e2d/aadlogin-selinux_1.0.016050002_amd64.debnested_by_both: Both 1 and 2, but the repo metadata will reference theby_digesturls. Useful if you have external dependencies that depend on known urls for particular packages.Closes #1371