-
-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tugger-debian: honor
Acquire-By-Hash: yes
setting
Modern Debian repositories set an `Acquire-By-Hash: yes` field to trigger clients to fetch URLs containing the content digest of the entity they are fetching. We had support for parsing this field but weren't keying off of it. This commit implements functionality for resolving the `by-hash` path for a release file entry and automatically using it if the release file says to use acquire-by-hash mode. Pre-existing tests should now fetch teh by-hash URLs. The tests pass, indicating this functionality apparently works.
- Loading branch information
Showing
2 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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