How to commit to launchpad: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
Line 1: Line 1:
= How to commit to launchpad =
If you don't have write privilages on bzr.openpetra.org you can also commit to launchpad.
If you don't have write privilages on bzr.openpetra.org you can also commit to launchpad.
This can be done the following way:
This can be done the following way:


Create a public and private key on launchpad. This is explained [https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair here].
- Create a public and private key on launchpad. This is explained [https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair here].
It is quite important to load pageant and to import the private key.
It is quite important to execute pageant and to load the private key into pageant.


Create (Register) a branch on launchpad.
- Create (Register) a branch on launchpad.


Create a branch in bazaar and create your code. Commit it to the local branch on your hard drive.
- Create a branch in bazaar and create your code. Commit it to the local branch on your hard drive.


After that you will do a push to launchpad (fe. to bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/)
- After that you will do a push to launchpad (fe. to bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/)




If you get an unlock error-message execute a
If you get an unlock error-message execute a
   bzr break-lock bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/
   bzr break-lock bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/

Revision as of 16:55, 12 Ocak 2011

If you don't have write privilages on bzr.openpetra.org you can also commit to launchpad. This can be done the following way:

- Create a public and private key on launchpad. This is explained here. It is quite important to execute pageant and to load the private key into pageant.

- Create (Register) a branch on launchpad.

- Create a branch in bazaar and create your code. Commit it to the local branch on your hard drive.

- After that you will do a push to launchpad (fe. to bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/)


If you get an unlock error-message execute a

 bzr break-lock bzr+ssh://bazaar.launchpad.net/~jomammele/openpetraorg/website-spanish/