7 | | I have installed the main repository for framework development. It is |
8 | | accessible with the following bazaar URL: |
9 | | {{{ |
10 | | bzr+ssh://user@ufo.kit.edu/framework |
11 | | }}} |
12 | | |
13 | | You can create new branches with the following command. These branches will be writable by creator only, but accessible for everybody else. Changes to these branches will immediately appear in the Trac [http://ufo.kit.edu/ufo/browser source browser]. |
14 | | {{{ |
15 | | bzr init bzr+ssh://user@ufo.kit.edu/framework/branch1 |
16 | | }}} |
17 | | |
18 | | |
19 | | After branch initialization you can create local repository. Just call 'bzr init' in root of the source folder. Files can be added with `bzr add` command and revision can be commited with `bzr commit -m some_comment`. |
20 | | This will work with local repository on your desktop computer. To submit a stable revision to the server, for public use, please issue: |
21 | | {{{ |
22 | | bzr push bzr+ssh://user@ufo.kit.edu/framework/branch1 |
23 | | }}} |
24 | | |
25 | | Alternatively, it is possible to instruct bazaar to synchronize with the server after each commit. Just bind the local branch with the server using the following command: |
26 | | {{{ |
27 | | bzr bind bzr+ssh://user@ufo.kit.edu/framework/branch1 |
28 | | }}} |
29 | | |
30 | | It is also possible to create a personal repository (for whatever reason). The access pattern will be the same: writable by creator and readable by everybody else. However, it will not automatically appear in Trac. The new repository should be first added through the Trac configuration page. The command: |
31 | | {{{ |
32 | | bzr init-repo bzr+ssh://user@ufo.kit.edu/repo1/ |
33 | | }}} |
34 | | initializes the repository. Then, the branches can be created as usual: |
35 | | {{{ |
36 | | bzr init bzr+ssh://user@ufo.kit.edu/repo1/branch1 |
37 | | }}} |
38 | | |
39 | | To get access, please, create a ticket specifying the desired login and attaching your public key. |
40 | | |
41 | | = Getting the source = |
42 | | In order to get the source out of the repository you should issue |
| 7 | = Accessing Repositories = |
| 8 | To get access to the bazaar repositories, please, create a ticket and attach your public SSH key. When access is granted, you |
| 9 | can get the source out of the repository using following command: |
| 20 | }}} |
| 21 | |
| 22 | = Public Repositories = |
| 23 | ||= Repository =||= Description =|| |
| 24 | || framework || The stable version of UFO framework and support libraries. New versions are only accepted after thorough testing/code review. || |
| 25 | || cmake || CMake scripts to detect libraries you are maintaining. || |
| 26 | || opencl || Various CMake libraries required for UFO filters. || |
| 27 | || <user_name> || Development branches of all UFO related code belonging to the ''user_name''. || |
| 28 | |
| 29 | == Publishing Source == |
| 30 | All the source code should first go to the user private repository. The repository is created with following command: |
| 31 | {{{ |
| 32 | bzr init-repo bzr+ssh://user_name@ufo.kit.edu/user_name/ |
| 33 | }}} |
| 34 | The created repository will be only writable by its creator, but readable by all members of UFO project. The new repository will not automatically appear in Trac. It should be first added through the Trac configuration page. If you don't have administrative rights, you need to create a ticket. |
| 35 | |
| 36 | Then, the branches are created as follows (new branches will immediately appear in Trac): |
| 37 | {{{ |
| 38 | bzr init bzr+ssh://user_name@ufo.kit.edu/user_name/branch1 |
| 39 | }}} |
| 40 | |
| 41 | After branch initialization you can create local repository. Just call 'bzr init' in root of the source folder. Files can be added with `bzr add` command and revision can be commited with `bzr commit -m some_comment`. |
| 42 | This will work with local repository on your desktop computer. To submit a revision to the server, for public use, please issue: |
| 43 | {{{ |
| 44 | bzr push bzr+ssh://user_name@ufo.kit.edu/user_name/branch1 |
| 45 | }}} |
| 46 | |
| 47 | Alternatively, it is possible to instruct bazaar to synchronize with the server after each commit. Just bind the local branch with the server using the following command: |
| 48 | {{{ |
| 49 | bzr bind bzr+ssh://user_name@ufo.kit.edu/user_name/branch1 |
| 50 | }}} |
| 51 | |
| 52 | = Publishing stable versions = |
| 53 | After through testing, the maintainers of UFO subpackages can publish them in UFO main repository. It is |
| 54 | accessible with the following bazaar URL: |
| 55 | {{{ |
| 56 | bzr+ssh://user@ufo.kit.edu/framework |
| 57 | }}} |
| 58 | |
| 59 | You can create new branches with the following command. These branches will be writable by creator only, but accessible for everybody else. Changes to these branches will immediately appear in the Trac [http://ufo.kit.edu/ufo/browser source browser]. |
| 60 | {{{ |
| 61 | bzr init bzr+ssh://user@ufo.kit.edu/framework/branch1 |