Simpler configuration of Launchpad hosting

Bug #330907 reported by Stuart Bishop
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

I'm slowly acquiring nearly identical stanzas in my locations.conf file, like the following:

[/home/stub/src/pqm-repo]
public_branch = bzr+ssh://bazaar.launchpad.net/~stub/pqm
public_branch:policy = appendpath
push_location = lp:~stub/pqm
push_location:policy = appendpath
submit_branch = lp:pqm

It would be great if there was some shortcut to say 'everything here gets pushed to this launchpad area'.

[/home/stub/src/pqm-reo]
launchpad_hosted = lp:~stub/pqm

Something like this could provide all the defaults, which could then be overridden as needed. Plugins could extend these defaults, so they work by default without me needing to manually update all my stanzas.

Many people would just have a single stanza:

[/home/stub/public-repo]
launchpad_hosted = lp:~stub

Stuart Bishop (stub)
Changed in bzr:
importance: Undecided → Wishlist
Revision history for this message
Jonathan Lange (jml) wrote : Re: [Bug 330907] [NEW] Simpler configuration of Launchpad hosting

On Wed, Feb 18, 2009 at 7:05 PM, Stuart Bishop
<email address hidden> wrote:
> Public bug reported:
>
> I'm slowly acquiring nearly identical stanzas in my locations.conf file,
> like the following:
>
> [/home/stub/src/pqm-repo]
> public_branch = bzr+ssh://bazaar.launchpad.net/~stub/pqm
> public_branch:policy = appendpath
> push_location = lp:~stub/pqm
> push_location:policy = appendpath
> submit_branch = lp:pqm
>
>
> It would be great if there was some shortcut to say 'everything here gets pushed to this launchpad area'.
>
> [/home/stub/src/pqm-reo]
> launchpad_hosted = lp:~stub/pqm
>
> Something like this could provide all the defaults, which could then be
> overridden as needed. Plugins could extend these defaults, so they work
> by default without me needing to manually update all my stanzas.
>
> Many people would just have a single stanza:
>
> [/home/stub/public-repo]
> launchpad_hosted = lp:~stub
>

FWIW, I just have this:

[/home/jml/src]
cbranch_target = /home/jml/repos
cbranch_target:policy = appendpath

[/home/jml/repos]
public_branch = lp:~jml
public_branch:policy = appendpath
push_location = lp:~jml
push_location:policy = appendpath
submit_to = <email address hidden>

(I have a split checkout / branches layout).

This works for almost all of my projects without modification.

jml

Martin Pool (mbp)
Changed in bzr:
status: New → Confirmed
Jonathan Lange (jml)
tags: added: launchpad
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.