gitolite

bash: gitolite: command not found

喜欢而已 提交于 2019-12-04 13:09:08
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. This step comes after the Gitolite installation , which supposes you have chosen one of three possibilities: Keep the sources anywhere and use the full path to run the gitolite command. Keep the sources anywhere and symlink just the gitolite program

在虚拟机中安装Gitlab

假如想象 提交于 2019-12-04 12:51:26
随着Github的盛行,social coding逐渐浮出水面,正好Gitlab刚发布了Gitlab 4.0,我今天边学习边记录安装Gitlab的过程,希望对大家有用。 1. 我是在ubuntu server 10.4上安装的,首先要准备一个VitualBox并安装ubuntu server。 2. Packages / Dependencies 这里是Gitlab的安装说明: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md 我们先更新和安装Gitlab必须的依赖,以下操作请保持网络畅通: # run as root sudo apt-get update // 会有些更新失败,不必管它 sudo apt-get upgrade // 这个比较慢,可以去喝杯茶 # Install vim sudo apt-get install -y vim Install the required packages: // 下面这句比较长,不要打错了 sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev

How to add description for a repository in Gitolite configuration

ε祈祈猫儿з 提交于 2019-12-04 12:50:10
I am using gitolite for user maintenance for my GIT server. Everything works fine except repo description. I have setup the description for a repo like "reponame = repo description" in gitolite.conf. Earlier version (before v3.x) its working. Now its not working. For your information I am using gitolite v3.1 GIT v1.7.1 Perl v5.10.1 Here is my gitolite.conf file http://pastebin.com/DYCK3uRL or http://arulraj.net/gitolite.conf . The post-receive-email mail subject and signature not have description because of that repo description file not generated automatically using gitolite. How can I fix

Access control in Cgit

偶尔善良 提交于 2019-12-04 08:33:37
I would like to introduce access control to cgit once the cgi of cgit has been launched. The idea would be to list all the repos available in gitolite but enable/disable the directory listing based on user authentication. I managed to get access control before apache is executing the cgit cgi: AllowOverride None AuthType Basic AuthName "Restricted Files" AuthUserFile /var/lib/git_alfonso/passwords Options +ExecCGI Order allow,deny Allow from all Alias /cgit.png /var/www/htdocs/cgit/cgit.png Alias /cgit.css /var/www/htdocs/cgit/cgit.css ScriptAlias /cgit "/var/www/htdocs/cgit/cgit.cgi"

How to include ssh private rsa key when accessing git repo via ssh (gitosis)?

放肆的年华 提交于 2019-12-04 08:08:15
At this moment I've got one git repo added through gitosis. The manual i used is http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way I can clone it and push in it via ssh auth with private and public keys (on gentoo), but windows users which are using Git Extensions can not. SSH keys placed in $HOME/.ssh, and ssh asks for a password. Nor password, nor passphrase (from private ssh key) don't match. Redmine needs for a bare repo, so i cloned repo from gitosis on my local machine and moved it to server (redmine + git), then tried to sync like showed here http://www

No refs in common and none specified; doing nothing

Deadly 提交于 2019-12-04 07:42:16
问题 I had a local git project that I wanted to add to gitolite. Apparently this is hard so I abandoned the idea. I created a new gitolite repo by adding it to gitolite-admin/conf/gitolite.conf and committing and pushing the changes. Then I cloned the new repo with git clone git-noah:project-name successfully. I then copied all files and folders except .git to the project-name folder. I did, git add -A git commit -a -m "Moved to new repo." git push I get this error: warning: push.default is unset;

How do I rename a Git repository created with gitolite?

我的梦境 提交于 2019-12-04 07:34:00
问题 I created a Git repository using gitolite. Now I would like to rename that repository. How can I do this? In gitolite's readme is says that I should not work directly on the server. But I guess I have to do some work on the server in this case, right? 回答1: As stated in the gitolite basic-admin manual: renaming a repo This is similar; there's no code to do this in gitolite . What you do is: log on to the server, cd $REPO_BASE (default: cd ~/repositories ), and mv old-name.git new-name.git back

using gitolite VREFs for update hook

我只是一个虾纸丫 提交于 2019-12-04 07:32:46
I am trying to migrate from v2 to v3 of gitolite. The old way of doing a server-side commit message check was to put the check in a repo specific hook in myrepo.git/hooks/update.secondary In v3 of gitolite, they advise the check to be put in a VREF. The documentation is a little confusing and I am hoping for clarification. I have added the following in /home/git/.gitolite.rc LOCAL_CODE => "$ENV{HOME}/.gitolite/our_hooks", In my our_hooks directory, I created a VREF folder and put my old update.secondary script in there. In my gitolite-admin/conf/gitolite.conf file, I added the following to the

gitolite installation: I cannot clone gitolite-admin repo!

巧了我就是萌 提交于 2019-12-04 05:49:22
I'm trying to install gitolite on my ubuntu server machine. still, there're lots of things I don't know yet, but I'm stepping forwarding very slowly following its instruction(http://sitaramc.github.com/gitolite/doc/1-INSTALL.html). my account of the server is 'yoon' and gened key-pair using ssh-keygen command without passpharse(just hit enter). then, copy public key to /tmp dir and chmod it 777. install gitolite using 'sudo apt-get install gitolite' and it also created gitolite account.(last line of output was No adminkey given - not initializing gitolite in /var/lib/gitolite. ) change user

Gitolite access repair

*爱你&永不变心* 提交于 2019-12-04 05:15:41
I have set up gitolite on my linux server and added my laptop to the gitolite-admin repository. I was forced to format my laptop (bad hard drive) so I need to figure out a way to regain access to my other repositories gitolite controls. It's worth mentioning, I have root access on my linux server, if that helps. I am not very proficient with SSH/public keys, etc, so if someone can help, I would greatly appreciate it. Chris Johnsen If you have version 2.0.3 or later installed, you can use the gl-admin-push command to push from a local clone of the admin repository: See gl-admin-push: bypassing