Merge lp://qastaging/~cyphermox/ubuntu-archive-tools/queue-verbose into lp://qastaging/ubuntu-archive-tools
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~cyphermox/ubuntu-archive-tools/queue-verbose |
Merge into: | lp://qastaging/ubuntu-archive-tools |
Diff against target: |
175 lines (+62/-27) 1 file modified
queue (+62/-27) |
To merge this branch: | bzr merge lp://qastaging/~cyphermox/ubuntu-archive-tools/queue-verbose |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Package Archive Administrators | Pending | ||
Review via email:
|
Description of the change
I use the queue script wrapped in a simple script when I want to look at the unapproved queue and see if I have SRUs that have not yet been reviewed.
'queue info' currently truncates version numbers, and adds binary/source information as a second line for each queue item. For my own purposes, it would be more useful to show each single queue item on a single line, and avoid truncating versions. Both I set up as option switches.
$ ./queue --help
[...]
Options:
-h, --help show this help message and exit
--oneline use a single line to show a queue item
--long do not truncate version numbers
[...]
$ unapproved zesty --long
Listing ubuntu/
-------
16971606 | S- | cloud-init | 17.1-46-
| * cloud-init/
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours
| * ubuntu-
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days
| * ubuntu-
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days
| * fwupdate-
-------
$ unapproved zesty --oneline
Listing ubuntu/
-------
16971606 | S- | cloud-init | 17.1-46-
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours | * ubuntu-
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days | * ubuntu-
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days | * fwupdate-
-------
$ unapproved zesty --oneline --long
Listing ubuntu/
-------
16971606 | S- | cloud-init | 17.1-46-
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours | * ubuntu-
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days | * ubuntu-
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days | * fwupdate-
-------
Is this useful to anyone else?
Unmerged revisions
- 1048. By Mathieu Trudel-Lapierre
-
Add --long and --oneline for more verbose output.
Not to me specifically, but I think if it would give people an easy way to check what's in the queue (i.e. if you talk about your unapproved script) then it might be helpful. We have plenty of people uploading duplicate packages.