API for push URL for branches

Bug #435803 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

A branch on Launchpad has a URL that can be used to push to it. Launchpad already has logic for determining this URL, as demonstrated by the branch index page.

This URL should be a property of IBranch and should be exposed over the API. This would allow scripts to push to existing branches easily.

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 435803] [NEW] API for push URL for branches

On Thu, 24 Sep 2009 22:36:35 Jonathan Lange wrote:
> Public bug reported:
>
> A branch on Launchpad has a URL that can be used to push to it.
> Launchpad already has logic for determining this URL, as demonstrated by
> the branch index page.
>
> This URL should be a property of IBranch and should be exposed over the
> API. This would allow scripts to push to existing branches easily.
>
> ** Affects: launchpad-code
> Importance: Low
> Status: Triaged
>
>
> ** Tags: api cleanup
>

Do you mean the bzr_identity that is already exported?

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

On Thu, Sep 24, 2009 at 11:47 AM, Tim Penhey <email address hidden> wrote:
> On Thu, 24 Sep 2009 22:36:35 Jonathan Lange wrote:
>> Public bug reported:
>>
>> A branch on Launchpad has a URL that can be used to push to it.
>> Launchpad already has logic for determining this URL, as demonstrated by
>> the branch index page.
>>
>> This URL should be a property of IBranch and should be exposed over the
>> API. This would allow scripts to push to existing branches easily.
>>
>> ** Affects: launchpad-code
>>      Importance: Low
>>          Status: Triaged
>>
>>
>> ** Tags: api cleanup
>>
>
> Do you mean the bzr_identity that is already exported?
>

Almost, but not quite. What I really want is
bzr+ssh://bazaar.launchpad.net/~blah/blah/blah. Partly to save
expensive round-trips, partly to avoid confusion when working with
bzrlib, partly to not have to think about privacy. Granted this would
be solved by making lp resolution work with privacy, but that's a
multi-part fix involving Launchpad and Bazaar changes.

A couple of almost-related things:
  * I wouldn't have looked for 'bzr_identity' if I was thinking 'push
URL'. Maybe we could have a better name, or maybe it's just me.
  * The API docs don't mention privacy, which mislead me, because
privacy matters if you are pushing a branch.

jml

Curtis Hovey (sinzui)
tags: added: tech-debt
removed: cleanup
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.