Changes between Version 6 and Version 7 of UfoRevisionControl


Ignore:
Timestamp:
Mar 18, 2011, 11:59:33 PM (14 years ago)
Author:
Suren A. Chilingaryan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UfoRevisionControl

    v6 v7  
    1 = Repositories =
     1= UFO Revision Control =
    22
    3 There were some problems with integration of Git repositories into Trac. Therefore, I decided to install bazaar as a revision
    4 control system: http://bazaar.canonical.com/en/. The good documentation on bazaar commands is available here:
    5 http://doc.bazaar.canonical.com/bzr.2.2/en/
     3Bazaar is an official revision control system for UFO.
     4 * [http://bazaar.canonical.com/en/ Bazaar Official Web Site]
     5 * [http://doc.bazaar.canonical.com/bzr.2.2/en/ Bazaar Official Documentation]
    66
    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 =
     8To get access to the bazaar repositories, please, create a ticket and attach your public SSH key. When access is granted, you
     9can get the source out of the repository using following command:
    4310{{{
    4411bzr branch bzr+ssh://user@ufo.kit.edu/repo/branch
     
    5118{{{
    5219bzr branch bzr+ssh://user@ufo.kit.edu/vogelgesang/PyHST
     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 ==
     30All 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}}}
     34The 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
     36Then, 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
     41After 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`.
     42This 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
     47Alternatively, 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 =
     53After through testing, the maintainers of UFO subpackages can publish them in UFO main repository. It is
     54accessible with the following bazaar URL:
     55{{{
     56  bzr+ssh://user@ufo.kit.edu/framework
     57}}}
     58
     59You 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
    5362}}}
    5463