git ubuntu queue review tooling for SRU team and archive admins

Robie Basak robie.basak at
Thu Jul 12 15:08:46 UTC 2018

I thought I'd share a tool I've been using for a while. It's incomplete
and somewhat stagnated while I focus on the importer, but it's good
enough to be useful right now.

Here's an example:

$ git ubuntu clone libapache2-mod-perl2
[lots of output]
$ cd libapache2-mod-perl2
$ git ubuntu queue sync
07/12/2018 15:27:11 - INFO:Created annotated tag queue/xenial/unapproved/0ba82e3 for version 2.0.9-4ubuntu1.1

Now I can see the current status of the archive for libapache2-mod-perl2
(as you probably already know) but I can also see the proposed upload
from the queue via the tag queue/xenial/unapproved/0ba82e3 (it
autocompletes with q<tab>x<tab>). "git log -p -1
queue/xenial/unapproved/0ba82e3" shows me the proposed diff.

When someone uploads a similar SRU to multiple releases, I review them
with something like:

$ git log -p -1 queue/bionic/unapproved/abcdef1  # review this thoroughly

$ git log -p -1 queue/xenial/unapproved/abcdef1 > xenial
$ git log -p -1 queue/bionic/unapproved/abcdef1 > bionic
$ diff -u bionic xenial|less  # review only the backport differences

Repositories are available for most of main (I have bugs on some edge
case import failures; right now the biggest class missing is those
maintained by DPMT in Debian). You can install git ubuntu with
"sudo snap install --classic --edge git-ubuntu"

Some other details:

Syncs into the queue (eg. from bileto) work just the same.

"git ubuntu queue sync" will delete tags that are no longer in the
queue. There are a bunch of options to override things for edge cases
such as package renames, SRUs as backports and packages that haven't
previously existed. As well as "unapproved", it supports "new".

If there are multiple entries for the same source package in the queue,
then these show up as multiple tags with different suffix hashes.

I still use sru-review to actually accept SRUs, since that does some
other standard checks that git ubuntu currently doesn't do. In time I'd
like to add "git ubuntu queue accept ..." and so on, but first I'd need
to bring sru-review's checking into some common code so git ubuntu can
use it too.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Ubuntu-release mailing list