Suppress output when a tty is not attached, but when one is provide a
bit more useful information about individual builds. Also, reduce the
default frequency of status updates to once a minute to avoid too much
spamming.
Implement support for building images for ubuntu-docker-images
This switches to doing builds for the ubuntu-docker-images; unlike
ubuntu-server-lma, we cannot depend on the image and recipe sharing the
same names so change to handling them more generally, with separate
--image and --recipe parameters for the 'build' and 'show' subcommands.
The 'status' and 'wait' subcommands deal more with actual build request
records, so these take a --build argument instead.
Dump of some of the easily obtained information from the LP object for
the OCI recipe. There is additional information but I think this is
most of the directly useful bits.
Note this relies on an assumption that image name == branch name, which
holds true for the ubuntu-server-lma projects, but doesn't hold true
generally, and in particular won't be true for the ubuntu-docker-images
projects, so this will need improved in latter commits.
Also note this hard-codes the oci_project to 'ubuntu-server-lma', which
also be generalizing later.
Reuse the Lp module code + tests from ppa-dev-tools (which in turn
derived from Bileto and the earlier Lpltk projects). Tests are a bit
stubby still, and the Config class could be better integrated with the
config stuff loaded by the script itself, but this should give a solid
starting point.
Am uncreatively calling it just 'oci' for now, pending discussion over
the naming. (It's short and memorable, but namespace collision potential
is probably high...)