22
33### Required software
44
5- * [ GitLab 6.x] [ 1 ]
6- * [ pyapi-gitlab3 @ v0.5.4] [ 2 ]
7- * [ GNU coreutils] [ 3 ]
8- * [ git 1.6.5] [ 4 ] or later (git 1.6.5 introduced transport helpers)
5+ * [ GitLab 6.x/7.x ] [ gitlab ]
6+ * [ pyapi-gitlab3 @ v0.5.4] [ python-gitlab3 ]
7+ * [ GNU coreutils] [ coreutils ]
8+ * [ git 1.6.5] [ git ] or later (git 1.6.5 introduced transport helpers)
99
1010If you plan on mirroring SVN repositories as well then you'll need the
1111following additional options.
1212
13- * [ git-svn] [ 7 ]
13+ * [ git-svn] [ git-svn ]
1414
1515If you plan on mirroring BZR repositories then you'll need the following
1616aditional options.
1717
18- * [ git-bzr-helper] [ 8 ]
18+ * [ git-bzr-helper] [ git-bzr ]
1919
2020If you plan on mirroring Mercurial repositories then you'll need the following
2121aditional options.
2222
23- * [ git-hg-helper] [ 9 ]
23+ * [ git-hg-helper] [ git-hg ]
2424
2525### Required software install snippets
2626
@@ -37,8 +37,8 @@ aditional options.
3737
3838If you use package management then it will likely be best for you to install git
3939via package management for your OS. You can find the source to git at the
40- [ git-core project] [ 5 ] . For instructions on other platforms see the
41- [ Getting Started - Installing Git section of the git book] [ 6 ] . The following is
40+ [ git-core project] [ git-src ] . For instructions on other platforms see the
41+ [ Getting Started - Installing Git section of the git book] [ git-guide ] . The following is
4242for compiling git 1.8.4 on RHEL 6.4.
4343
4444 yum install perl-ExtUtils-MakeMaker zlib zlib-devel openssh libcurl libcurl-devel expat expat-devel gettext gettext-devel
@@ -55,6 +55,18 @@ for compiling git 1.8.4 on RHEL 6.4.
5555Your git should now be located in ` /usr/local/bin/git ` . You should edit
5656` /etc/profile ` and place ` /usr/local/bin ` at the beginning of your ` $PATH ` .
5757
58+ #### git-svn
59+
60+ Notice in [ ` config.sh.SAMPLE ` ] ( ../config.sh.SAMPLE ) the option
61+ ` git_svn_additional_options="-s" ` . This behavior assumes that your SVN project
62+ is laid out with a standard directory structure: ` trunk/ ` , ` branches/ ` , and
63+ ` tags/ ` . If your project does not conform to this layout then you should modify
64+ that option by removing ` -s ` . That means setting
65+ ` git_svn_additional_options="" ` . See the [ ` git-svn(1) ` ] [ git-svn ] man page to
66+ learn more about what ` -s ` does. The additional options will pass in parameters
67+ to the ` git svn ` command. If a project to be mirrored has a custom layout then
68+ this option can be modified to account for that.
69+
5870#### git-bzr-helper
5971
6072 sudo -i -u gitmirror
@@ -73,12 +85,12 @@ Your git should now be located in `/usr/local/bin/git`. You should edit
7385---
7486Next up is [ Installation and Setup] ( installation.md ) .
7587
76- [ 1 ] : https ://github.com/gitlabhq/gitlabhq/tree/6-2-stable
77- [ 2 ] : https://github.com/alexvh/python-gitlab3
78- [ 3 ] : http://www.gnu.org/software/coreutils/
79- [ 4 ] : http ://git-scm .com/
80- [ 5 ] : http://code.google.com/p/ git-core /
81- [ 6 ] : http ://git-scm. com/book/en/Getting-Started-Installing-Git
82- [ 7 ] : https ://www.kernel.org/pub/software/scm/ git/docs/git-svn.html
83- [ 8 ] : https://github.com/felipec/ git/wiki /git-remote-bzr
84- [ 9 ] : https://github.com/felipec/git/wiki/git-remote-hg
88+ [ coreutils ] : http ://www.gnu.org/software/coreutils/
89+ [ git-bzr ] : https://github.com/felipec/git/wiki/git-remote-bzr
90+ [ git-guide ] : http://git-scm.com/book/en/Getting-Started-Installing-Git
91+ [ git-hg ] : https ://github .com/felipec/git/wiki/git-remote-hg
92+ [ git ] : http://git-scm.com /
93+ [ gitlab ] : https ://about.gitlab. com/
94+ [ git-src ] : http ://code.google.com/p/ git-core/
95+ [ git-svn ] : https://www.kernel.org/pub/software/scm/ git/docs /git-svn.html
96+ [ python-gitlab3 ] : https://github.com/alexvh/python-gitlab3
0 commit comments