Introducing lbox

Gustavo Niemeyer gustavo.niemeyer at
Fri Sep 2 20:09:14 UTC 2011


I'm pleased to introduce the shiny new lbox tool: a Launchpad CLI tool
just born with the goal of optimizing the most common workflows we
have in the Ensemble team. That said, the tool is in no way specific
to Ensemble.  The only command it has at the moment, "propose", will
figure the whole interaction out of the local branch's push location,
and any command line flags provided.

The tool is written in Go, makes good use of the evolving lpad library
(, and abuses concurrency to speed up the
REST interaction.

To install it:

  sudo add-apt-repository ppa:gophers/go
  sudo apt-get update
  sudo apt-get install lbox

What follows is the output of lbox propose -h:

Usage: lbox propose [options]

The lbox propose command will push the Bazaar branch in the current
directory to Launchpad, and will then open an editor for entering the
summary and description of the change (first line/rest), and finally
will create a bug and a merge proposal associated with the branch.


  -bug=0: Bug number to use rather than creating a new one
  -debug=false: If true requests and responses will be dumped
  -dry=false: If true doesn't actually do anything for real
  -for="": Target branch the proposed work is to be merged on (lp:...)
  -ready=true: Set to false if the work is not ready for review yet
  -req="": Pre-requisite branch the proposed work is based on (lp:...)

Gustavo Niemeyer

-- I never filed a patent.

More information about the Ensemble mailing list