Bazaar lightweight checkouts and charm development
Due to the irregular naming used for charms on Launchpad it took me a while to get lightweight checkouts to work in a manner consistent with my lp:juju-core and lp:juju-gui setup. (Following the guidance from Tim at bazaar-usage.txt.) For one, my repo couldn’t be named juju-gui since it was already taken, so I used juju-gui-charm. After making the changes I thought should work I found that lbox failed with:
error: Failed to load focus series for "charms": resource not found
After help from Aaron I discovered the piece I was missing to make lbox work was setting parent_location in my locations.conf file. So the two stanzas I now have are:
[/home/bac/src] public_branch = bzr+ssh://bazaar.launchpad.net/~bac public_branch:policy = appendpath push_location = lp:~bac push_location:policy = appendpath [/home/bac/src/juju-gui-charm] public_branch = bzr+ssh://bazaar.launchpad.net/~bac/charms/precise/juju-gui
public_branch:policy = appendpath push_location = lp:~bac/charms/precise/juju-gui push_location:policy = appendpath parent_location = lp:~juju-gui/charms/precise/juju-gui/trunk
Hope this helps someone.
bradcrittenden 3:07 pm on June 4, 2013 Permalink |
Just fixed the parent_location to point to our intermediate branch, not the official charm branch.