← Back to team overview

launchpad-dev team mailing list archive

Re: New qa-ready script checks branch deployment status

 

On 26 February 2010 15:58, Aaron Bentley <aaron@xxxxxxxxxxxxx> wrote:
> Hi all,
>
> I've just added utilities/qa-ready to the Launchpad tree.  This new
> script will tell you whether a branch has been deployed on edge or
> staging.  For example:
>
> $ qa-ready job-db-user
> Branch: file:///home/abentley/launchpad/branches/job-db-user/
> Deployed on edge: True
> Deployed on staging: True
>
> This script uses code from utilities/on-edge to determine what revno is
> deployed on staging and edge, and then works out whether the specified
> branch was merged into that revision.  (If no branch is specified, it
> defaults to the current branch.)
>
> The script will be much faster if you indicate your local mirrors of
> stable and db-devel in locations.conf.  Here's an example:
>
> [bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable]
> local_location = /home/abentley/launchpad/stable
> [bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-stable]
> local_location = /home/abentley/launchpad/db-stable
>
> Hope that's as useful to you as it is to me.

Yes!

Is the local_location setting specific to this script? I have a
similar mapping in locations.conf, but in the other direction:

  [/path/to/local/branch]
  public_branch = bzr+ssh://example.com/path/to/remote/branch

Would it make sense for me (or whoever) to add support for using that
information? Many LP devs will already public_branch configured I
imagine.

Gavin.



Follow ups

References