gitolite

Cannot find my project files on the server gitolite is running

时间秒杀一切 提交于 2019-12-22 12:40:47
问题 I cannot find my project files on the server gitolite is running. Basically, I built a git server using gitolite on a CentOS 6.2, and I created a new repository,I can successfully clone, pull, commit and push files to this new project, but when I logged in this server, trying to find my project files on it, I could not find them. the repository is in /home/mygituser/repositories/myproject.git/ , but none of my pushed files can be found any in there. Is gitolite keeping the actual project

Git Partial Copy Access Control

荒凉一梦 提交于 2019-12-22 10:37:02
问题 I have to deploy a Git repository where several development teams will work together in independent blocks of code. We have a main in-house integration team that can access everything from everyone. However, some third-party developers should not be able to access top level data and code from our company. It is known that this workflow is difficult to implement in pure git because git assumes that everyone inside a project, with common access to a repository, can access the entire repository

how do I remove a remote branch when I get an error?

倖福魔咒の 提交于 2019-12-22 05:09:26
问题 I have tried the following command and it fails. git push origin :next remote: error: denying ref deletion for refs/heads/next To blah.git ! [remote rejected] next (deletion prohibited) error: failed to push some refs to 'blah.git I am using gitolite and cannot find any of this error message in the hooks. How can I disable this so that I can delete or rename this remote branch? When I run git branch -r -d origin/next, it appears to go away, but the next git pull brings it right back. 回答1:

Ruby Gems with Gitlab no such file to load — rb-inotify

拜拜、爱过 提交于 2019-12-22 03:23:09
问题 I am using Gitlab and I am trying to follow these instructions to upgrade my gitolite v2 to v3: "If this issue occurs in 2.9.x you should reinstall gitolite. 1) backup all repositories. Just copy /home/git/repositories/* elsewhere. 2) Install new gitolite. See https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md 3) copy repositories back. 4) sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_keys && sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos That's

Install gitolite v3 on the Centos 6.4. The second user is asking a password

半城伤御伤魂 提交于 2019-12-21 20:59:38
问题 Please help me to understand what i am doing wrong. I have server on CentOS 6.4 and I need to install gitolite v3. What am i doing? by the first i am install one using next command: yum install git* perl-Time-HiRes useradd -m --system --shell /bin/bash --user-group gitolite su - gitolite mkdir bin echo "PATH=$HOME/bin:$PATH" > .bash_profile source .bash_profile ssh-keygen -t rsa cp .ssh/id_rsa.pub ./gitolite.pub git clone git://github.com/sitaramc/gitolite gitolite/install -ln gitolite setup

Git hook to detect file changes that contain a certain string

泪湿孤枕 提交于 2019-12-21 20:15:43
问题 I want to warn a user if their code includes a certain string and alert people via email. Right now I'm using a post-receive hook because the detection needs to be done on the server side. I am updating a server-side repository and running something like git diff-tree -r --name-only --no-commit-id $2 | xargs grep foo to detect bad string "foo." Problems with this approach: I don't like maintaining and entire working version of the repository server-side It scans the entire file, not just the

How to add description for a repository in Gitolite configuration

非 Y 不嫁゛ 提交于 2019-12-21 18:59:30
问题 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

using gitolite VREFs for update hook

↘锁芯ラ 提交于 2019-12-21 15:27:53
问题 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

using gitolite VREFs for update hook

前提是你 提交于 2019-12-21 15:26:08
问题 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

gitolite installation issue

独自空忆成欢 提交于 2019-12-21 07:25:34
问题 Has any one tryied the easy install option of gitolite? I am trying to install gitolite from my windows (workstation ) to a solaris box. [command used to install] ./gl-easy-install -q git sjcfsap1 git The command breaks at the following place . *Y*ou are logging into system : [gitserver] cloning gitolite-admin repo... Initialized empty Git repository in c:/Documents and Settings/chandve/gitolite-a dmin/.git/ Password: fatal: 'gitolite-admin' does not appear to be a git repository fatal: The