Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
git:ser-repository [2008/11/20 14:41] miconda |
git:ser-repository [2009/01/22 16:33] (current) janakj |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== SER Git Repository ====== | ====== SER Git Repository ====== | ||
- | The Git repository of SER is available through HTTP, SSH, and proprietary Git protocol. The HTTP and Git access methods only provide read-only access to the repository, that means you would be able to check out your own copy of the repository, but you will not be able to push your changes back. | + | The Git repository of SER is available through HTTP, SSH, and |
+ | proprietary Git protocol. The HTTP and Git access methods only provide | ||
+ | read-only access to the repository, that means you would be able to | ||
+ | check out your own copy of the repository, but you will not be able to | ||
+ | push your changes back. | ||
To clone the repository using HTTP do: | To clone the repository using HTTP do: | ||
Line 15: | Line 19: | ||
</ | </ | ||
- | If you have write access to the repository and access to the git host then you can checkout the repository using ssh: | + | If you have write access to the repository and access to the git host |
+ | then you can checkout the repository using ssh: | ||
< | < | ||
git clone ssh:// | git clone ssh:// | ||
Line 22: | Line 27: | ||
where username is your username on host git.sip-router.org | where username is your username on host git.sip-router.org | ||
- | You can also browse the repository through the gitweb WWW interface at http:// | + | You can also browse the repository through the gitweb WWW interface at |
+ | http:// | ||
====== Repository Layout ====== | ====== Repository Layout ====== | ||
Line 28: | Line 34: | ||
====== CVS Compatibility ====== | ====== CVS Compatibility ====== | ||
- | The repository is also available through cvs for those who do not want or cannot use git. A recent version of cvs client is needed to access the repository. You need to have the following two environment variable set if you want to access the repository anonymously through the pserver method: | + | The repository is also available through cvs for those who do not want |
+ | or cannot use git. A recent version of cvs client is needed to access | ||
+ | the repository. You need to have the following two environment | ||
+ | variable set if you want to access the repository anonymously through | ||
+ | the pserver method: | ||
< | < | ||
Line 35: | Line 45: | ||
</ | </ | ||
- | To checkout the source tree you need to specify the name of the **head** (a.k.a branch) instead of the cvs module!. You can see what branches are available in the repository in gitweb at http:// | + | To checkout the source tree you need to specify the name of the |
+ | **head** (a.k.a branch) instead of the cvs module!. You can see what | ||
+ | branches are available in the repository in gitweb at | ||
+ | http:// | ||
The most important head names are: | The most important head names are: | ||
Line 55: | Line 68: | ||
</ | </ | ||
- | Note that the layout of the repository is slightly different than it used to be on berlios, see section Repository Layout. The cvs compatibility layer does not support tagging and branching, so you would need to use git for that. | + | Note that the layout of the repository is slightly different than it |
- | + | used to be on berlios, see section Repository Layout. The cvs | |
- | + | compatibility layer does not support tagging and branching, so you | |
+ | would need to use git for that. |