gitolite

Easy way to setup GitLab with existing Gitolite configuration

瘦欲@ 提交于 2019-12-02 22:38:27
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? 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 from the user to register themselves in GitLab and copy their public ssh key. That means you might need to

gitolite hook for specific repository

南楼画角 提交于 2019-12-02 22:24:24
I don't understand how do I create a post-receive hook for a specific repository in gitolite (non-root install) My bare repository contains a website that should copy the working directory to the docRoot ( GIT_WORK_TREE=/path/htdocs git checkout -f ) on update Before gitolite, I would just update the hook for the specific repository. Gitolite documentation mentions that all hooks should be at hooks/common so I don't understand how it works. What should be the name of hooks, where it should be located and how it's structure should be changed (if it should)? VonC Update July 2013: what follows

Adding users to Gitolite

两盒软妹~` 提交于 2019-12-02 19:28:07
I'm trying to setup Gitolite but I'm running into a weird issue: When I add a new public key file for a new user (say raphaelcruzeiro.pub), giolite sends me the following warning on push: remote: remote: ***** WARNING ***** remote: the following users (pubkey files in parens) do not appear in the config file: remote: raphaelcruzeiro(raphaelcruzeiro.pub) And when I try to clone a repository with this user, I get a permission denied: Cloning into gitolite-admin... R access for gitolite-admin DENIED to raphaelcruzeiro fatal: The remote end hung up unexpectedly Am I missing something here? Where

Git Server Frustration (Gitosis, Gitolite, etc)

淺唱寂寞╮ 提交于 2019-12-02 17:39:15
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 I could get something similar to TFS. When trying to set up either gitosis (I understand this is

How do I rename a Git repository created with gitolite?

瘦欲@ 提交于 2019-12-02 14:20:59
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? takeshin 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 on your gitolite-admin clone, edit conf/gitolite.conf and replace all occurrences of old-name

Which is the best git hosting sw? - Gitolite vs. Gitlab vs. Gitorius [closed]

谁都会走 提交于 2019-12-02 14:13:47
I am looking for a git hosting environment for several users. Therefore i've searched for comparisons between Gitolite , Gitlab and Gitorius . But i get nothing what could be useful. Is there anybody, who has experiences with different hosting tools and could provide an advice? VonC Gitolite is not a git hosting environment: it is an authorization layer , which grants or denies access to a git repo. It is the https or ssh layer which allows the authentication of a user, and the git repo hosting itself. See " How do programs like gitolite work? " GitLab and Gitorious both provide git hosting,

How to get gitolite / gitweb working together?

心不动则不痛 提交于 2019-12-02 12:25:05
问题 I have gitweb and gitolite installed. I can configure a repo for gitweb access and it appears in the "projects.list" file but the repo is not listed by gitweb in the browser. I've been searching and searching but can't find what I am missing to make this work. My gitweb.conf contains $git_temp = "/tmp"; # The directories where your projects are. Must not end with a slash. $projectroot = "/srv/git/repositories"; $projects_list = "/srv/git/projects.list"; My .gitolite.rc contains $PROJECTS_LIST

gitolite 代码访问控制

萝らか妹 提交于 2019-12-02 07:01:40
gitolite 可用于代码访问控制,这里汇总一下 git 相关的内容。 git quick start :创建git仓库 TortoiseGit :可视化git操作 egit eclipse插件 :新版的IDE已提供git支持 post commit :代码提交钩子,可自动触发后续动作 git只读协议 :支持git://协议和http://协议访问 git archive :导出并压缩,更有利于网络传输 git多仓库推送 :可以同时推送到多个git地址 gitolite安装注意事项: 需要克隆gitolite项目,如果下载zip包会比较麻烦(gitolite/install报错) 使用git用户运行ssh-keygen,然后可选用git管理员的密钥替换.ssh/id_rsa.pub的内容 使用git用户或本机克隆管理项目:git clone git@xlongwei.com:gitolite-admin git访问方式: ssh协议:gituser@xlongwei.com:/soft/gitrepos/sample.git //需要密码或密钥 gitolite管理:git@xlongwei.com:testing.git //使用gitolite-admin进行权限控制 http协议:http://git.xlongwei.com/git/sample.git /

How to get gitolite / gitweb working together?

孤人 提交于 2019-12-02 05:49:42
I have gitweb and gitolite installed. I can configure a repo for gitweb access and it appears in the "projects.list" file but the repo is not listed by gitweb in the browser. I've been searching and searching but can't find what I am missing to make this work. My gitweb.conf contains $git_temp = "/tmp"; # The directories where your projects are. Must not end with a slash. $projectroot = "/srv/git/repositories"; $projects_list = "/srv/git/projects.list"; My .gitolite.rc contains $PROJECTS_LIST = $ENV{HOME} . "/projects.list"; I've checked and the projects.list file goes get updates as per

git-http-backend returns error 502

被刻印的时光 ゝ 提交于 2019-12-02 05:17:24
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 gitweb.cgi </Directory> <LocationMatch "^/.*/git-receive-pack$"> AuthType Basic AuthName "Git Access"