gitolite

Gitweb not displaying some repos

五迷三道 提交于 2020-01-02 18:48:20
问题 I am trying to use Gitolite + Gitweb but I am running into some problems.. My conf/gitolite.conf is the following @dataset_repos = dat1 dat2 @closedsrc_repos = cod1 cod2 @opensrc_repos = testing @admins = user1 user2 @bios = user1 user2 user3 @coders = user1 user3 repo gitolite-admin RW+ = @admins repo @opensrc_repos RW+ = @all repo @dataset_repos RW+ = @admins @bios repo @closedsrc_repos RW+ = @admins @coders When I first inserted repository code1 and code2, git told me: remote: Initialized

bash: gitolite: command not found

旧街凉风 提交于 2020-01-01 16:46:10
问题 I am trying to make a new branch in Gitlab by using Gitolite. I complete the installation steps. when i come across "setting up gitolite" section i have a trouble. I followed this link. When i run gitolite setup -pk alice.pub command i got "bash: gitolite: command not found" error message. I don't know what is the problem.. Any one please help me. 回答1: This step comes after the Gitolite installation, which supposes you have chosen one of three possibilities: Keep the sources anywhere and use

Moving gitolite server

杀马特。学长 韩版系。学妹 提交于 2020-01-01 08:13:09
问题 I have a working gitolite server. However, I want to move it to an identical configuration, but on a bigger machine. Even though I have gitolite working, I am not sure about the strings under it. Mainly its relationship with ssh. I would like to just install the packages gitolite, git-core. And move the repository directories for the git user. None of the keys need to change. Is this correct ? what are the configuration ties gitolite has to the current server. I am working with Ubuntu I was

how to configure a migrated git repository in gitolite

懵懂的女人 提交于 2020-01-01 03:24:09
问题 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!! 回答1: 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

how to configure a migrated git repository in gitolite

半城伤御伤魂 提交于 2020-01-01 03:24:05
问题 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!! 回答1: 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

Git Server Frustration (Gitosis, Gitolite, etc)

拈花ヽ惹草 提交于 2019-12-31 08:47:08
问题 Please excuse the frustrating undertones as I have attempted to get this set up correctly multiple times to no avail (possibly and most likely due to my ignorance, but also likely due to the lack of thorough and concise documentation). I am trying to set up a git server so that I can share code amongst a small team of developers. Each developer may connect from multiple client PC's. I come from MS in the past so I am a bit spoiled in regards to development toolset , but it would be awesome if

git-http-backend returns error 502

百般思念 提交于 2019-12-31 04:01:06
问题 I'm running gitweb and gitolite on my server: http://git.jshawl.com/ I'm having trouble setting up the git-http-backend to allow anonymous cloning. Here's what my vhosts file ( /etc/apache2/extra/httpd-vhosts.conf ) looks like: <VirtualHost *:80> DocumentRoot "/Users/git/repositories" ServerName git.jshawl.com <Directory "/Users/git/repositories"> Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All order allow,deny Allow from all AddHandler cgi-script cgi DirectoryIndex

Ubuntu 12.04 git server

此生再无相见时 提交于 2019-12-30 12:28:46
1. install git: sudo apt-get install git-core git-doc 2. create gitolite user: sudo addgroup gitolite sudo adduser –disabled-password –home /home/gitolite –ingroup gitolite gitolite 3. install gitolite: sudo apt-get -y install gitolite 4. setup gitolite: sudo usermod -a -G gitolite www-data sudo service apache2 restart sudo su – gitolite gl-setup /tmp/your-username-goes-here.pub 5. edit .gitolite.rc: $REPO_UMASK = 0027 6. manage gitolite: # FROM YOUR LOCAL MACHINE git clone gitolite@git.server:gitolite-admin.git # FROM YOUR LOCAL MACHINE cd gitolite-admin emacs conf/gitolite.conf # change to:

Gitolite restrict access to branch

冷暖自知 提交于 2019-12-30 05:08:13
问题 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

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

被刻印的时光 ゝ 提交于 2019-12-30 03:25:08
问题 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