Ability to list branches from the command-line

Bug #198028 reported by Jelmer Vernooij
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

(This should be against the bzr-launchpad plugin, but there doesn't appear to be a project for that at the moment).

Please provide a way to list the available branches for a project on
launchpad using a bzr command, or at least something that doesn't require a web browser.

Tags: api lp-code
Tim Penhey (thumper)
description: updated
Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jonathan Lange (jml) wrote :

There's now a public API for doing this, so this bug is fair game for anyone who wants to do it. The launchpad-bazaar team is unlikely to get around to it though.

Changed in launchpad-bazaar:
importance: Medium → Low
Revision history for this message
Ian Brandt (ian-ianbrandt) wrote :

Jonathan: is the API you refer to in the bzr-launchpad plugin, or is this something available lower level in BzrLib somewhere? (I poked around the BzrLib API doc and didn't see anything, but I'm totally new to this codebase so I might just not know what to look for.) I found this bug searching for a way to get a list of branches for a SmartServer repository (e.g. something like 'bzr branches bzr://our.smartserver.local/'). I'm wondering if such a request would belong in a separate bug report?

Revision history for this message
Jonathan Lange (jml) wrote :

I mean the Launchpad REST API. See https://help.launchpad.net/API.

To get a list of branches underneath a directory, I think BzrDir.find_branches() does what you want.

Changed in launchpad-code:
status: Triaged → New
status: New → Incomplete
Jonathan Lange (jml)
Changed in launchpad-code:
status: Incomplete → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.