Skip to content

repository: Implement support for SHA256 in the GetArchive RPC

Patrick Steinhardt requested to merge pks-repository-get-archive-sha256 into master

I had a hard time making much sense of the tests for the GetArchive RPC tests in the context of Content of all release source code asset tarbal... (gitlab#402616 - closed). I thus started adjusting the tests to be more thorough, which ended in this commit series to refactor the tests to stop using seeded repositories. In the end I also picked the low-hanging fruit of making the RPC work with SHA256, which only required a change in the catfile.TreeEntries() helper.

Merge request reports