| 1 | = Repositories = |
| 2 | |
| 3 | There was some problems with integration of GIT repositories into the |
| 4 | Trac. Therefore, I decided to install bazaar as a revision |
| 5 | control system: http://bazaar.canonical.com/en/. The good documentation on bazaar commands is available here: |
| 6 | http://doc.bazaar.canonical.com/bzr.2.2/en/ |
| 7 | |
| 8 | I have installed the main repository for framework development. It is |
| 9 | accessible with following bazaar URL: |
| 10 | {{{ |
| 11 | bzr+ssh://user@ufo.kit.edu/framework |
| 12 | }}} |
| 13 | |
| 14 | You can create new branches with the following command. This branches will be writable by creator only, but accessible for |
| 15 | everybody else. As well the branches will immediately appear in the Trac |
| 16 | source browser. |
| 17 | {{{ |
| 18 | bzr init bzr+ssh://user@ufo.kit.edu/framework/branch1 |
| 19 | }}} |
| 20 | |
| 21 | |
| 22 | After branch initialization you can create local repository. Just call |
| 23 | 'bzr init' in root of the source folder. Files can be added with 'bzr |
| 24 | add' command and revision can be commited with 'bzr commit -m some_comment'. |
| 25 | This will work with local repository on your desktop computer. To submit |
| 26 | stable revision to the server, for public use, please issue: |
| 27 | {{{ |
| 28 | bzr push bzr+ssh://user@ufo.kit.edu/framework/branch1 |
| 29 | }}} |
| 30 | |
| 31 | Alternatively, it is possible to instruct bazaar to synchronize with the |
| 32 | server after each commit. Just bind server with the following command: |
| 33 | {{{ |
| 34 | bzr bind bzr+ssh://user@ufo.kit.edu/framework/branch1 |
| 35 | }}} |
| 36 | |
| 37 | It is also possible to create a personal repository (for whatever |
| 38 | reason). The access pattern will be the same: writable by creator and |
| 39 | readable by everybody else. However, it will not automatically appear in |
| 40 | Trac. The new repository should be first added through Trac |
| 41 | configuration page. The command: |
| 42 | {{{ |
| 43 | bzr init-repo bzr+ssh://user@ufo.kit.edu/repo1/ |
| 44 | }}} |
| 45 | Then, the branches can be created as usual: |
| 46 | {{{ |
| 47 | bzr init bzr+ssh://user@ufo.kit.edu/repo1/branch1 |
| 48 | }}} |
| 49 | |
| 50 | |
| 51 | |
| 52 | To get access, please, create a ticket specifying the desired login and attaching your public key. |