I am installing a git server at the office and just realized gitolite is not available in EL5. However, I can see the corresponding branch in the Fedora git repo so I wonder if there is any reason why the build was not done and pushed. Thanks in advance
That is because I suck. I had it in corporate repository and thus somehow did not notice it missing in EPEL... Built here, please give it a try: https://admin.fedoraproject.org/updates/gitolite-1.5.9.1-1.el5.1 Karma it up if it works for you, it will be then pushed into stable after some time in testing. Thank you!
Testing on CentOS 5.4: [root@gitserver ~]# rpm -qa | grep git gitolite-1.5.9.1-1.el5.1 git-1.7.4.1-1.el5 I've got this error: -sh-3.2$ gl-setup /tmp/mykey.pub cp: cannot stat `/usr/local/share/gitolite/conf/example.gitolite.rc': No such file or directory The default settings in the rc file (/var/lib/gitolite/.gitolite.rc) are fine for most people but if you wish to make any changes, you can do so now. hit enter... error parsing /var/lib/gitolite/.gitolite.rc Compilation failed in require at /usr/local/bin/gl-query-rc line 17. error parsing /var/lib/gitolite/.gitolite.rc Compilation failed in require at /usr/local/bin/gl-query-rc line 17. error parsing /var/lib/gitolite/.gitolite.rc Compilation failed in require at /usr/local/bin/gl-query-rc line 17. ENV GL_BINDIR not set BEGIN failed--compilation aborted at /usr/local/bin/gl-install line 15. /usr/local/bin/gl-setup: line 113: /conf/gitolite.conf: No such file or directory cp: cannot create regular file `/keydir': Permission denied ENV GL_BINDIR not set BEGIN failed--compilation aborted at /usr/local/bin/gl-compile-conf line 16. /usr/local/bin/gl-setup: line 128: cd: /gitolite-admin.git: No such file or directory fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git ENV GL_BINDIR not set BEGIN failed--compilation aborted at /usr/local/bin/gl-install line 15. -sh-3.2$ It should be looking for /usr/share/gitolite/conf/example.gitolite.rc instead. I copied it in /usr/local/share/gitolite/conf/ and had another run. I got this message: -sh-3.2$ gl-setup /tmp/mykey.pub cp: cannot stat `/usr/local/bin/../doc': No such file or directory cp: cannot stat `/usr/local/bin/../hooks': No such file or directory cp: cannot stat `/usr/local/bin/../conf/VERSION': No such file or directory creating gitolite-admin... Initialized empty Git repository in /var/lib/gitolite/repositories/gitolite-admin.git/ creating testing... Initialized empty Git repository in /var/lib/gitolite/repositories/testing.git/ [master (root-commit) 2997c22] start Committer: git repository hosting <gitolite> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 conf/gitolite.conf create mode 100644 keydir/fabrizio.pub cp: cannot stat `/usr/local/bin/../doc': No such file or directory cp: cannot stat `/usr/local/bin/../hooks': No such file or directory cp: cannot stat `/usr/local/bin/../conf/VERSION': No such file or directory still can't give a karma up tough I'm really after that ;)
I'll take a look. Meanwhile, could you please verify that documented way to set up gitolite from the package works? See /usr/share/doc/gitolite-1.5.9.1/gitolite-README-fedora
I did exactly what suggested in /usr/share/doc/gitolite-1.5.9.1/gitolite-README-fedora .
Lubo, since this is still in testing, and I'm fixing 2.0.2 in rawhide for a lot of things, any objections to my pushing that to all stable Fedora and EPEL branches if 713020 is fixed?
Is there any movement on this? I would love to see gitolite 2.x or 3.x built for EPEL5 and can help out if needed.
Do you have a preference, 2 or 3?
2 would be enough for me right now.
Ok, updating gitolite to 2.3 in el5.
gitolite-2.3.1-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/gitolite-2.3.1-1.el5
Package gitolite-2.3.1-1.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing gitolite-2.3.1-1.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-12769/gitolite-2.3.1-1.el5 then log in and leave karma (feedback).
gitolite-2.3.1-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.