-
Sam Gleske authored
It actually always worked I just set up the prerequisites incorrectly.
Sam Gleske authoredIt actually always worked I just set up the prerequisites incorrectly.
prerequisites.md 2.02 KiB
Prerequisites
Required software
If you plan on mirroring SVN repositories as well then you'll need the following additional options.
If you plan on mirroring BZR repositories then you'll need the following aditional options.
Required software install snippets
python-gitlab
yum install python-setuptools
git clone https://github.com/Itxaka/python-gitlab.git
cd python-gitlab
git checkout 4d778d780161869550d8e514cdc50df2398f844e
python setup.py install
Installing git
If you use package management then it will likely be best for you to install git via package management for your OS. You can find the source to git at the git-core project. For instructions on other platforms see the Getting Started - Installing Git section of the git book.
yum install perl-ExtUtils-MakeMaker zlib zlib-devel openssh libcurl libcurl-devel expat expat-devel gettext gettext-devel
cd /usr/local/src/
git clone https://code.google.com/p/git-core/
cd git-core/
git tag
git checkout v1.8.4
make configure
./configure --prefix=/usr/local
make
make install
Your git should now be located in /usr/local/bin/git
. You should edit /etc/profile
and place /usr/local/bin
at the beginning of your $PATH
.
git-bzr-helper
sudo -i -u gitmirror
mkdir ~/bin
wget https://raw.github.com/felipec/git/fc/master/git-remote-bzr.py -O ~/bin/git-remote-bzr
chmod 755 ~bin/git-remote-bzr
Next up is Installation and Setup.