lp:~racb/ubuntu-archive-tools/handle-packageset-deletions
- Get this branch:
- bzr branch lp:~racb/ubuntu-archive-tools/handle-packageset-deletions
Branch merges
- Ubuntu Package Archive Administrators: Pending requested
-
Diff: 161 lines (+80/-53)1 file modifiedpackageset-report (+80/-53)
Branch information
Recent revisions
- 1458. By Robie Basak
-
Delete output from packagesets that are deleted
If a packageset is deleted, a subsequent run by this tool will retain
the output prior to that deletion in the target directory. This is
confusing, since the report output then implies that the packageset
still exists, when it doesn't.Instead, explicitly delete output from inside that is not part of the
current report output. - 1457. By Robie Basak
-
Factor out create_report()
Move this code into its own function to make future manipulation easier.
- 1455. By Iain Lane
-
promote-to-release: Use copyPackage's move support
Currently we copy a package from proposed to release, and then separately
delete it from proposed. Either the copy or the deletion can fail, and then we
can end up with incomplete migrations. It's better to have both or neither
happen.`copyPackage()` on the Launchpad API has a `move` boolean parameter that
combines copying and deletion into one call. Use that instead. This doesn't
solve all cases where the copier might reject a copy we ask it to do, but it
does mean that at least in those cases the package will still be in proposed
rather than nowhere as could happen previously.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-archive-tools