Notes about Bazaar: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '= General instructions = * How to work with bazaar through the GUI on Windows * How to work with bazaar on the command line = Administration = Thiasg and Pokorra are th…')
 
(Add create branch)
Line 6: Line 6:


Thiasg and Pokorra are the administrators for the bazaar server. New accounts are created by them, when they are given the corresponding public SSH key in OpenSSH format.
Thiasg and Pokorra are the administrators for the bazaar server. New accounts are created by them, when they are given the corresponding public SSH key in OpenSSH format.


Mentor should request rights to change the branch configuration by them. They will add them to the corresponding group.
Mentor should request rights to change the branch configuration by them. They will add them to the corresponding group.


== Add branch specific commit rights ==
Mentor could add branches, the trainee is allowed to commit to. This is done with the following steps:
Mentor could add branches, the trainee is allowed to commit to. This is done with the following steps:
* If the branch does not exist yet, then create it, e.g. <code>bzr branch bzr+ssh://bazaar@bzr.openpetra.org:2208/openpetra/trunk bzr+ssh://bazaar@bzr.openpetra.org:2208/openpetra/dev_id_whatever</code>
* Checkout <code>bzr+ssh://bazaar@bzr.openpetra.org:2208/config/</code>, e.g. <code> bzr checkout bzr+ssh://bazaar@bzr.openpetra.org:2208/config/</code>
* Checkout <code>bzr+ssh://bazaar@bzr.openpetra.org:2208/config/</code>, e.g. <code> bzr checkout bzr+ssh://bazaar@bzr.openpetra.org:2208/config/</code>
* Edit <code>bazaar_acl.ini</code>. In the section <code>[Trainee]</code> add the allowed branches comma seperated behind the username
* Edit <code>bazaar_acl.ini</code>. In the section <code>[Trainee]</code> add the allowed branches comma seperated behind the username
* Commit the change, e.g. <code>bzr commit</code>
* Commit the change, e.g. <code>bzr commit</code>
Now the trainee is able to commit to the branch.
Now the trainee is able to commit to the branch.

Revision as of 11:06, 3 January 2011

General instructions

Administration

Thiasg and Pokorra are the administrators for the bazaar server. New accounts are created by them, when they are given the corresponding public SSH key in OpenSSH format.


Mentor should request rights to change the branch configuration by them. They will add them to the corresponding group.

Add branch specific commit rights

Mentor could add branches, the trainee is allowed to commit to. This is done with the following steps:

Now the trainee is able to commit to the branch.