Merge lp://qastaging/~cyphermox/ubuntu-archive-tools/queue-verbose into lp://qastaging/ubuntu-archive-tools

Proposed by Mathieu Trudel-Lapierre
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
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+334613@code.qastaging.launchpad.net

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/zesty-proposed (Unapproved) 4
---------|----|----------------------|------------------------------------|---------------
16971606 | S- | cloud-init | 17.1-46-g7acc9e68-0ubuntu1~17.04.1 | 3 hours
  | * cloud-init/17.1-46-g7acc9e68-0ubuntu1~17.04.1 Component: main Section: admin
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours
  | * ubuntu-fan/0.12.8~17.04.1 Component: main Section: admin
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days
  | * ubuntu-image/1.3+17.04ubuntu1 Component: universe Section: utils
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days
  | * fwupdate-signed/1.13.1 Component: main Section: utils
---------|----|----------------------|------------------------------------|---------------
                                                               4
$ unapproved zesty --oneline
Listing ubuntu/zesty-proposed (Unapproved) 4
---------|----|----------------------|----------------------|---------------
16971606 | S- | cloud-init | 17.1-46-g7acc9e68-0u | 3 hours | * cloud-init/17.1-46-g7acc9e68-0ubuntu1~17.04.1 Component: main Section: admin
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours | * ubuntu-fan/0.12.8~17.04.1 Component: main Section: admin
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days | * ubuntu-image/1.3+17.04ubuntu1 Component: universe Section: utils
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days | * fwupdate-signed/1.13.1 Component: main Section: utils
---------|----|----------------------|----------------------|---------------
                                                               4
$ unapproved zesty --oneline --long
Listing ubuntu/zesty-proposed (Unapproved) 4
---------|----|----------------------|------------------------------------|---------------
16971606 | S- | cloud-init | 17.1-46-g7acc9e68-0ubuntu1~17.04.1 | 3 hours | * cloud-init/17.1-46-g7acc9e68-0ubuntu1~17.04.1 Component: main Section: admin
16970146 | S- | ubuntu-fan | 0.12.8~17.04.1 | 6 hours | * ubuntu-fan/0.12.8~17.04.1 Component: main Section: admin
16957058 | S- | ubuntu-image | 1.3+17.04ubuntu1 | 2 days | * ubuntu-image/1.3+17.04ubuntu1 Component: universe Section: utils
16903667 | S- | fwupdate-signed | 1.13.1 | 11 days | * fwupdate-signed/1.13.1 Component: main Section: utils
---------|----|----------------------|------------------------------------|---------------
                                                               4

Is this useful to anyone else?

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

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.

Unmerged revisions

1048. By Mathieu Trudel-Lapierre

Add --long and --oneline for more verbose output.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches