gitolite

gitolite hooks - post-receive doesn't seem to work

跟風遠走 提交于 2020-01-14 13:57:27
问题 I have gitolite configured on my repo. I see 2 copies of the hooks as documented in the gitolite literature. I would like the server-side hook post-receive to send email when someone does a push to the repo. I am using git-notifier. However, nothing happens when I push. I have modified both copies of the hooks, and I added a line to create a tmp file. After I push my changes to the repo, no tmp file is there and no email is sent. Any help is greatly appreciated. Thanks. 回答1: You should run

gitolite hooks - post-receive doesn't seem to work

故事扮演 提交于 2020-01-14 13:57:12
问题 I have gitolite configured on my repo. I see 2 copies of the hooks as documented in the gitolite literature. I would like the server-side hook post-receive to send email when someone does a push to the repo. I am using git-notifier. However, nothing happens when I push. I have modified both copies of the hooks, and I added a line to create a tmp file. After I push my changes to the repo, no tmp file is there and no email is sent. Any help is greatly appreciated. Thanks. 回答1: You should run

Easy way to setup GitLab with existing Gitolite configuration

喜你入骨 提交于 2020-01-12 01:37:28
问题 I have an existing Gitolite configuration with many users and repositories. It is setup in the default way as the Gitolite installation guide suggests. Now I would like to add GitLab to be able to do code reviews and bug tracking. What's the most convenient way to achieve this? 回答1: Original answer (January 2013) You can follow the standard installation, and indicate in your gitlab.yml config file the location of your gitolite repo, as well as the gitolite admin user. However, GitLab requires

Gitolite prompts for password only on central server with SSH registered

北慕城南 提交于 2020-01-11 07:34:19
问题 I am running gitlab which uses gitolite on a central repository Ubuntu machine and have several users that connect to this machine after adding their public SSH keys via Gitlab's web interface. The different users on their own machines can successfully push and pull from the central repository machine just fine. On the machine itself, I cannot have my user push or pull to the central repository. It always asks for git's password! How can I fix this? On a remote machine with SSH key registered

Gitolite server-side setup for both http and ssh

安稳与你 提交于 2020-01-11 03:55:09
问题 I am trying to set-up a git server using gitolite. So far, I have the server working with the ssh and I am not trying to add http support on top of it (final goal is to use LDAP for authentication) I've followed http://sitaramc.github.com/gitolite/ssh-and-http.html how-to document. I thought I had it all set-up so I tried: git clone http://myServer/testing and the result is: Cloning into 'testing'... fatal: http://myServer/testing/info/refs not found: did you run git update-server-info on the

Gitolite permissions on branches

匆匆过客 提交于 2020-01-09 09:12:07
问题 I'm really at a loss here. I've read through quite a few examples, and tried all of them. The most basic ones work fine, but anytime I try to move to something a bit more complicated everything falls apart (even when I'm directly copying the example). Also, for the record I am on gitolite version 3 as shown by the server spam: this is gitolite@ubuntuserver running gitolite3 v3.1-2-g3eefc06 on git 1.7.9.5 All this said what I am TRYING to accomplish is (I THINK) relatively simple. I have a

Gitolite permissions on branches

半腔热情 提交于 2020-01-09 09:09:19
问题 I'm really at a loss here. I've read through quite a few examples, and tried all of them. The most basic ones work fine, but anytime I try to move to something a bit more complicated everything falls apart (even when I'm directly copying the example). Also, for the record I am on gitolite version 3 as shown by the server spam: this is gitolite@ubuntuserver running gitolite3 v3.1-2-g3eefc06 on git 1.7.9.5 All this said what I am TRYING to accomplish is (I THINK) relatively simple. I have a

Authenticating Gitweb with Gitosis without LDAP Auth?

大兔子大兔子 提交于 2020-01-03 12:31:55
问题 I found your article using Apache Auth with gitweb, gitosis. I was wondering if there was a way to do this if I wasn't using LDAP for authentication. We currently have a very large NIS domain which we use for authentication on all unix servers. We use this for SVN repositories through a UI, but for this case I am trying to meet a requirement of: Git Repositories Access Controlled - using Gitolite Online UI - using Gitweb UI must also have Access Control - not yet implemented I was thinking

heroku + git submodule needs authentication

元气小坏坏 提交于 2020-01-03 09:45:03
问题 We are using gitolite to manage our repositories and one of our heroku project's have git submodules. Is there a way to get Heroku's public key for the authentication? Thanks, David 回答1: No, probably not. Instead, you can use HTTPS basic authentication when you create the submodule in your git repository, similar to deploying private gems to Heroku. Looks something like this: git submodule add https://username:password@github.com/username/repo.git 回答2: You can also commit a .ssh directory

Gitweb not displaying some repos

早过忘川 提交于 2020-01-02 18:48:52
问题 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