Merge ubuntu-archive-tools:sru-review-sync-diffs into ubuntu-archive-tools:main
Proposed by
Łukasz Zemczak
Status: | Merged |
---|---|
Merged at revision: | a70796d33394bbcb02b1475513a9ac55c36e18df |
Proposed branch: | ubuntu-archive-tools:sru-review-sync-diffs |
Merge into: | ubuntu-archive-tools:main |
Diff against target: |
196 lines (+84/-37) 1 file modified
sru-review (+84/-37) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Approve | ||
Review via email: mp+410047@code.launchpad.net |
Commit message
sru-review: Support sync uploads in the queue by generating their debdiffs locally
Description of the change
This is an initial try on getting proper support for SRU reviewing sync uploads. Sync uploads are troublesome as they generally come with no debdiffs for reviewing. Everytime this happens, SRU members need to manually fetch and debdiff those packages.
This MP automates that process. Basically it pulls the sources for both the new upload and the latest upload in the target archive/series and does a dumb debdiff on those. We could probably optimize this a bit, but that's a good working start point for sure.
To post a comment you must log in.
Thank you for the review, Steve!
Ok, fixed the typo + a whitespace thing. As for your inline comment about directory cleanup: no manual cleanup should be needed as the packages are extracted into a temporary directory created using the TemporaryDirect ory() context manager. This should ensure that when we go out of context (or the tool closes early), the temporary directory is auto-removed with all its contents. So cleanup is automatic!