Merge ~twom/launchpad:buildd-sha-export into launchpad:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 945c06d897edea303fa11b99d982cf8f23982c8e |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/launchpad:buildd-sha-export |
Merge into: | launchpad:master |
Diff against target: |
69 lines (+29/-0) 3 files modified
lib/lp/soyuz/browser/tests/test_distroarchseries_webservice.py (+14/-0) lib/lp/soyuz/interfaces/distroarchseries.py (+8/-0) lib/lp/soyuz/model/distroarchseries.py (+7/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+391360@code.launchpad.net |
Commit message
Add retrieval of the sha256 for a chroot in a DAS
Description of the change
We set the chroot for a PocketChroot via the DistroArchSeries using it's SHA1, but this is basically write-only without downloading the whole chroot file and recalculating it.
Add an equivalent getChrootHash alongside getChrootURL that returns the sha256 from the librarian file.
Sample API call:
https:/
To post a comment you must log in.
This broadly looks good, but I'd like some small API adjustments.