Wiki, working with bazaar page comment
This web page
http://wiki.inkscape.org/wiki/index.php/Working_with_Bazaar
didn't tell me enough to be able to commit. It implies that this is sufficient:
bzr checkout project_trunk_url bzr commit
(see, for instance, the "Using a centralized (SVN-like) workflow" section)
but in my hands that resulted in:
bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()
The commands that I had to use to make commit work were:
#bzr checkout, long ago... ssh-keygen #and upload the key to launchpad account bzr whoami #emitted: mathog bzr lp-login mathog bzr launchpad-login #emitted: mathog bzr bind lp:inkscape #another key generated, asked for another pass phrase #unclear how this relates to the ssh-keygen key above bzr commit -m "Fix for bug 1294840"
Some of that may be extraneous, and I still have not determined which parts of that will need to be repeated for each session. (lp-login and launchpad-login are not documented in the man page for bzr [2.5.1] on my system.) I don't understand why I had to do the "bind", since "bind" does "Convert the current branch into a checkout of the supplied branch", and the local copy was made by checkout, but commit would not go until it was run.
Regards,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
On Mon, 2014-04-28 at 11:06 -0700, mathog wrote:
Some of that may be extraneous, and I still have not determined which parts of that will need to be repeated for each session. (lp-login and launchpad-login are not documented in the man page for bzr [2.5.1] on my system.) I don't understand why I had to do the "bind", since "bind" does "Convert the current branch into a checkout of the supplied branch", and the local copy was made by checkout, but commit would not go until it was run.
The launchpad login features are a bzr plugin for launchpad. http://doc.bazaar.canonical.com/plugins/en/launchpad-plugin.html
The first time instructions are:
1. Generate an ssh key locally 2. Upload the ssh key to launchpad 3. Use `bzr launchpad-login [username]
The every time instructions are:
1. bzr branch lp:inkscape 2. bzr commit -m "Commit Message" 3. bzr push
The first time instructions and their complexity were exactly why I created groundcontrol back in the day. Alas that project didn't gain enough momentum to really solve this issue so we'll have to document it.
Hope this helps.
Best Regards, Martin Owens
participants (2)
-
Martin Owens
-
mathog