gitolite

can gitolite work without users ssh keys for authorization

[亡魂溺海] 提交于 2019-11-30 16:21:51
问题 My organization finds that adding 150 users pub keys for one single repo to gitolite as a huge task and administering it would require additional resource. we have around 20 this kind of repos. is there any other option other than adding users ssh keys for authorization. We are using http protocol to access the git repos. Thanks 回答1: "https access" means you can authenticate through LDAP; That also means you can configure gitolite to query the ldap group of the user: Gitolite's groups are

Gitolite restrict access to branch

点点圈 提交于 2019-11-30 16:01:08
I have GITOLITE on my server and I want to configure access to my repository. I want to restrict access to some branches for some users. I try a lot of variants how to configure gitolite.conf file and I didn't find solution how to restrict acces to some branches. 1) @developers1 = user1 @developers2 = user2 repo dbatest RW+ = @developers1 R test = @developers2 - test = @developers2 RW+ = @developers2 When user2 executed command: git push origin test : push succeed In gitolite log I had this lines: http ARGV=user2 SOC=git-receive-pack 'dbatest' FROM=10.65.184.239 6453 pre_git dbatest user2 W

How can I give read Access to everybody with gitolite

穿精又带淫゛_ 提交于 2019-11-30 15:45:15
问题 in my gitolite.conf i can set repo COOL_REPOSITORY RW+ = me R = @all This gives me writing access, and all other REGISTERED users have read access to my repository. Now my question is, can i give read access to everybody, not only to users which i have registered by storing their ssh-keys in my keydir? 回答1: You can call gitolite from an http VirtualHost configuration, like I do in my project. # GitHttp on @PORT_HTTP_HGIT@ Listen @PORT_HTTP_HGIT@ <VirtualHost @FQN@:@PORT_HTTP_HGIT@> ServerName

Gitlab/Gitolite issue while cloning repo

本秂侑毒 提交于 2019-11-30 14:17:42
问题 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

git, gitolite error push

梦想与她 提交于 2019-11-30 11:16:35
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/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share

Gitlab/Gitolite issue while cloning repo

﹥>﹥吖頭↗ 提交于 2019-11-30 10:11:22
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 environment variable to C:\Users\. Ssh is correctly

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

独自空忆成欢 提交于 2019-11-30 09:48:07
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/gitolite-admin gitolite DENIED by fallthru (or you mis

GitLab requires git@localhost password to push to a repo

眉间皱痕 提交于 2019-11-30 06:50:59
I'm trying to get GitLab up and running on my server. I followed the installation instructions at the gitlab github page and everything went well. The issue is, when I create a repo and try to sudo git push -u origin master I am prompted for 'git@localhost's password: ' The git user doesn't have a password, so this is a problem. Other people who have run into this problem suggested adding git to AllowedUsers in my sshd conf but I don't have an AllowedUsers field in there, so that doesn't seem to be an issue. I'm still pretty new to ssh stuff so I believe its some sort of ssh key issue, though

Redmine + Gitolite - Issue with repository permissions and more

自古美人都是妖i 提交于 2019-11-30 06:39:49
问题 I have a Redmine installation on the same server as my gitolite repositories. In order to link my repository to my Redmine instance, I locally cloned the repo with the following command: git clone --bare --local /home/git/repositories/my-repo.git Just as I successfully clone the repo on the server, I can navigate through the repo on Redmine, as expected. The thing is, as soon as I do that, I can't push anything more to the remote repo on my local machine. When I try git push I get the

How do I have to configure gitweb and gitolite so they'll work together?

雨燕双飞 提交于 2019-11-30 05:03:51
I am trying to make gitweb work with gitolite... but unsuccessful so far. I am working on a RedHat Linux machine. A user called git exists. gitolite is installed under: /home/git Repository location: /home/git/repositories Please note that, gitweb was working fine with plain vanilla git. Now i am trying to make it work with gitolite. Here are what my files look like: /etc/gitweb.conf $projectroot = "/home/git/repositories"; @git_base_url_list = qw(ssh://[MyHostName]/home/git/projects.list); $projects_list = "/home/git/projects.list" /home/git/projects.list myrepo1.git myrepo2.git /home/git/