Merge lp:~brian-murray/ubuntu-archive-tools/nbs-alt-deps into lp:ubuntu-archive-tools
Proposed by
Brian Murray
Status: | Merged |
---|---|
Merged at revision: | 1233 |
Proposed branch: | lp:~brian-murray/ubuntu-archive-tools/nbs-alt-deps |
Merge into: | lp:ubuntu-archive-tools |
Diff against target: |
284 lines (+122/-44) 4 files modified
checkrdepends (+1/-31) cron.NBS (+1/-1) nbs-report (+65/-12) utils.py (+55/-0) |
To merge this branch: | bzr merge lp:~brian-murray/ubuntu-archive-tools/nbs-alt-deps |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Approve | ||
Review via email: mp+371474@code.launchpad.net |
Description of the change
This modifies the NBS report so that it is aware of packages which have a dependency on a package which is NBS but that dependency also has an alternate (ORed) dependency that is satisfied by another package in the archive.
This is done by reading the Sources.gz and Packages.gz files again to see if the dependency has an alternate one and checking to see if the alternate is also NBS.
The read_tag_file function was moved out of checkrdepends and into utils.py and it is now utilized by nbs-report. The cron.NBS file was also modified so that the archive base directory is passed to nbs-report.
To post a comment you must log in.
The output of the updated report can be found here:
https:/ /people. canonical. com/~brian/ tmp/nbs. html