gitolite

how to configure a migrated git repository in gitolite

送分小仙女□ 提交于 2019-12-03 08:18:55
I have the gitolite and currently created test repositories and configured user rights and all works fine. What I want now is I have migrated a cvs repository to git by using git cvsimport. I have the newly migrated repository. How I can configure this repository via gitolite and configure users for this repository? Kindly guide me in right directions!! VonC You need to clone the gitoite-adin repo, and declare a new repo: See " adding and removing repos " Once done, you would add to your exisintg local git repo (the one with the CVS import in it) a new remote: git remote add gitolite git

gitolite hook for specific repository

☆樱花仙子☆ 提交于 2019-12-03 07:30:21
问题 I don't understand how do I create a post-receive hook for a specific repository in gitolite (non-root install) My bare repository contains a website that should copy the working directory to the docRoot ( GIT_WORK_TREE=/path/htdocs git checkout -f ) on update Before gitolite, I would just update the hook for the specific repository. Gitolite documentation mentions that all hooks should be at hooks/common so I don't understand how it works. What should be the name of hooks, where it should be

Adding users to Gitolite

余生长醉 提交于 2019-12-03 05:06:48
问题 I'm trying to setup Gitolite but I'm running into a weird issue: When I add a new public key file for a new user (say raphaelcruzeiro.pub), giolite sends me the following warning on push: remote: remote: ***** WARNING ***** remote: the following users (pubkey files in parens) do not appear in the config file: remote: raphaelcruzeiro(raphaelcruzeiro.pub) And when I try to clone a repository with this user, I get a permission denied: Cloning into gitolite-admin... R access for gitolite-admin

How to install hooks in gitolite

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've read all the documentation about hooks , similar questions and a lot of code but I can't track where is the error in my procedure. I need to install a simple hook in my gitolite installation (made with an rpm package on CentOS) so here is what I did: To install gitolite (some time ago): Installed the rpm package # su - gitolite $ gl-setup /tmp/fabio.pub (as gitolite user) Now to install the hook: Created a sample file post-update with the hook code in ~gitolite/.gitolite/hooks/common and chmod +x on it run gl-setup /tmp/fabio.pub again

Error of setup public key for gitolite on ubuntu 12.04 server

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We follow the post ( http://www.bigfastblog.com/gitolite-installation-step-by-step ) to install gitolite on ubuntu 12.04 server. When doing /home/git/bin/gitolite setup -pk west_org_selfgen.pub, there is an error: $/home/git/bin/gitolite setup -pk west_org_selfgen.pub FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2013-09.log: No such file or directory FATAL: die 'west_org_selfgen.pub' not a readable file There are multiple lines in our public key (west_org_selfgen.pub). We did online search and

Cannot clone repository: FATAL: R any gitolite-admin gitolite DENIED by fallthru

匿名 (未验证) 提交于 2019-12-03 02:18:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm setting up gitolite for first time. I'm following this instructions . When I ssh, it looks fine: $ ssh -p 2222 gitolite@debian PTY allocation request failed on channel 0 hello gitolite, this is gitolite@debian running gitolite3 v3.5.3.1-1-gf8776f5 on git 1.7.2.5 R W gitolite-admin R W testing Connection to debian closed. But when trying to clone, it gives me the following error: $ git clone ssh://gitolite@debian:2222/home/gitolite/repositories/gitolite-admin.git Cloning into 'gitolite-admin'... FATAL: R any home/gitolite/repositories

git, gitolite error push

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just installed gitolite but when I push on the repository gitolite-admin I get an error: git push Counting objects: 9, done. Delta compression using up to 2 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (7/7), 605 bytes, done. Total 7 (delta 1), reused 0 (delta 0) remote: Empty compile time value given to use lib at hooks/update line 6 remote: Use of uninitialized value in require at hooks/update line 7. remote: Can't locate Gitolite/Hooks/Update.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr

Gitlab/Gitolite issue while cloning repo

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have setup a Gitlab strictly according to manual from the gitlab wiki . It works. I have a web access, I can create a project too (and git repo has been created after it). All is ok. But when I try clone the newly created project repo with git clone git@git.myserver.com:myproject.git from the my development machine the server says that I need to enter password for the git user (this user have no password). I think it should auth me with key I provided. My environment: I've successfully created the ssh keys on my dev machine, set the HOME

Gitolite - remote: FATAL: fingerprinting failed for 'keydir/'

匿名 (未验证) 提交于 2019-12-03 01:09:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I installed Gitolite in my system to manage the repositories. When i try to add any of the client machine's public key, am getting the error "remote: FATAL: fingerprinting failed for 'keydir/". Would you please help me to resolve this problem. 回答1: As I documented in " Getting fatal: object is corrupted when pushing to a remote repo ", this is due to an incorrect ssh key. I like to generate my private/public keys like so (not password protected): ssh-keygen -t rsa -f "$HOME/.ssh/git" -C "Gitolite access (not interactive)" -q -P "" 回答2: I

Which is the best git hosting sw? - Gitolite vs. Gitlab vs. Gitorius [closed]

坚强是说给别人听的谎言 提交于 2019-12-03 00:47:33
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I am looking for a git hosting environment for several users. Therefore i've searched for comparisons between Gitolite , Gitlab and Gitorius . But i get nothing what could be useful. Is there anybody, who has experiences with different hosting tools and could provide an