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
>
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