Simpler configuration of Launchpad hosting
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/
public_branch = bzr+ssh:
public_
push_location = lp:~stub/pqm
push_location:
submit_branch = lp:pqm
It would be great if there was some shortcut to say 'everything here gets pushed to this launchpad area'.
[/home/
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/
launchpad_hosted = lp:~stub
Changed in bzr: | |
importance: | Undecided → Wishlist |
Changed in bzr: | |
status: | New → Confirmed |
tags: | added: launchpad |
tags: | added: check-for-breezy |
On Wed, Feb 18, 2009 at 7:05 PM, Stuart Bishop stub/src/ pqm-repo] //bazaar. launchpad. net/~stub/ pqm branch: policy = appendpath policy = appendpath stub/src/ pqm-reo] stub/public- repo]
<email address hidden> wrote:
> Public bug reported:
>
> I'm slowly acquiring nearly identical stanzas in my locations.conf file,
> like the following:
>
> [/home/
> public_branch = bzr+ssh:
> public_
> push_location = lp:~stub/pqm
> push_location:
> submit_branch = lp:pqm
>
>
> It would be great if there was some shortcut to say 'everything here gets pushed to this launchpad area'.
>
> [/home/
> 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/
> launchpad_hosted = lp:~stub
>
FWIW, I just have this:
[/home/jml/src] target: policy = appendpath
cbranch_target = /home/jml/repos
cbranch_
[/home/jml/repos] branch: policy = appendpath policy = appendpath
public_branch = lp:~jml
public_
push_location = lp:~jml
push_location:
submit_to = <email address hidden>
(I have a split checkout / branches layout).
This works for almost all of my projects without modification.
jml