You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TUI needs to list all items in the queue, and provide various actions on them:
Review, showing the debdiff between what's currently in the Ubuntu Archive and the new package uploaded, be it directly to Ubuntu, or a sync from Debian.
Accept
Reject, asking for a comment to provide context on the rejection.
Context
https://launchpad.net/ubuntu-archive-tools this git repository has many examples on how to use launchpadlib. The queue script in there already provides some functionality, but is inconvenient and does many things wrong, like using regex on HTML, so don't do that.
In the case of a sync, you can fetch some Debian context from the Debian tracker (https://tracker.debian.org/pkg/<package_name>), but the package should already be imported by Launchpad, and that's where you need to grab the .dsc file for diffing:
Goal
launchpadlib, we need to build a small standalone TUI tool to work with the upload queue.debdiffbetween what's currently in the Ubuntu Archive and the new package uploaded, be it directly to Ubuntu, or a sync from Debian.Context
gitrepository has many examples on how to uselaunchpadlib. Thequeuescript in there already provides some functionality, but is inconvenient and does many things wrong, like usingregexon HTML, so don't do that.sync, you can fetch some Debian context from the Debian tracker (https://tracker.debian.org/pkg/<package_name>), but the package should already be imported by Launchpad, and that's where you need to grab the.dscfile for diffing: