Questions tagged [gitolite]

Gitolite allows you to setup a centralised Git server, with very fine-grained access control and mother powerful features.

Filter by
Sorted by
Tagged with
2
votes
2answers
95 views

AWS XFS performance issues. Stripped setup vs single disk setup

I wanted to share an issue (I guess I may be misunderstanding some concepts) that I'm facing with some benchmarks I'm doing to XFS setups, as we are going to recently migrate a service to a new ...
1
vote
1answer
107 views

Gitolite 502 when trying to clone/fetch any repo over http

I am trying to configure gitolite to work on nginx with gitweb. And despite gitweb working flawlessly and recognizing all the access control functionality provided by gitolite, I can't seem to be able ...
1
vote
1answer
64 views

gitolite on openwrt - ssh not using gitolite

I've set up a gitolite installation on OpenWrt-18.06.04 according to this guide: https://openwrt.org/docs/guide-user/services/gitolite Step 9 of the "actual install" suggests removing the RSA-key ...
2
votes
1answer
530 views

Make Gitolite retrieve ssh keys from LDAP

I think I have some understanding problems with what I want to achieve... So, let's start with what's currently working (all described servers are running CentOS 7) : an OpenLDAP server which ...
0
votes
1answer
20 views

Possible to rename sub domain for gitolite host?

When I setup my gitolite server back in the day, I called it gitolite.example.com and the users are asking for it to be git.example.com instead. Question If I change the sub domain will all the ...
1
vote
0answers
57 views

How does Github know which user made the commit?

I am trying to write a little GUI for my gitolite server. My plan is to create a hook, which then writes the git log to a database or a file. Then a php file can read this data and display it like the ...
2
votes
2answers
515 views

Git - what is causing "warning: Negative patterns are ignored in git attributes"

When pushing on my server the post-receive hook runs a git clone command. The command returns the following warning and I don't know what it means or how to resolve it. Googling the error gave only ...
0
votes
1answer
781 views

setting up gitolite repository hook

I have set up a gitolite repository specific hook according to the documentation on page http://gitolite.com/gitolite/non-core.html#hooks I have enabled the repo-specific-hooks feature in the ....
1
vote
1answer
27 views

Is there any limitations as to what can be stored in gitolite-admin?

I know that the gitolite-admin repository contains the gitolite.conf and the keydir directory. Can I add arbitrary files and objects to the gitolite-admin repository without repercussions? Here, I'...
1
vote
1answer
137 views

Does the Gitolite @all group include the gitolite-admin repo?

In my googling, I've only came across statements that state that @all "includes all users and repos" I'd like to use @all to provide daemon access, that is repo @all R = daemon But I'm concerned ...
0
votes
1answer
4k views

gitolite admin DENIED by fallthru

I have an issue with SSH keys and gitolite on my macbook. Gitolite is running on my debian server: gitolite3 3.6.4-1 (Debian) on git 2.7.4 gitolite-admin/keydir i have the keys bob.pub and admin....
0
votes
1answer
56 views

Impossible configuration in gitolite?

I am banging my head on a wall with this one and getting nowhere. I hope that someone here has a clue or just confirm my impression that it's impossible to do. I am using gitolite 2.3 on an internal ...
1
vote
1answer
465 views

Deploy app by triggering `git pull` after commit

I have a git repo on a remote server (my own). I want to make sure that after a git push onto that remote server, a new instance of the node program is pulled in the local development server (then, ...
1
vote
2answers
4k views

Backing up a complete Git server

I have a CentOs 7.1 and a Git Server installed on it. The Git Server is configured with SSH keys so users need a passphrase and a private key to connect to the server. There are currently 7 ...
2
votes
1answer
1k views

Hosting redmine server using apache2 in ubuntu

I am trying to run redmine+gitolite server using apache in an Ubuntu machine. I followed the instructions given here with the following server config file: <VirtualHost *:80> ServerName ...
2
votes
1answer
706 views

gitolite to allow users already present in authorized_keys file

I'm using gitolite to restrict the permission on a repository and it has worked well so far until I tried to clone and push with a user whose public key is already added in authorised_keys, not via ...
0
votes
1answer
472 views

nginx separate regex for git-upload-pack and git-receive-pack

I have this location ~ ^.*user/repo\.git\/(HEAD|info/refs|objects/info/.*|git-upload-pack)${ //send to fastcgi_param SCRIPT_FILENAME /usr/bin/gitolite-shell; } This is working for clone. I ...
1
vote
1answer
1k views

gitolite git user asking for password with valid keys

My gitolite installation start to ask for password suddendly, I checked the /var/log/secure file and found this. sshd[9071]: User git not allowed because account is locked sshd[9072]: ...
0
votes
0answers
66 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
3
votes
2answers
316 views

I'm having some trouble setting up IP restrictions with Gitolite

I'm having trouble setting up IP restrictions with Gitolite. It may be something simple and this is my first time using it (I'm finally switching from Gitosis because it can't do what I need it to) ...
2
votes
1answer
498 views

gitlab: How to not break old gitolite urls

I'm in the process of migrating from gitolite to gitlab. My original repositories had urls like: git@dev.example.com:project-gui and git@dev.example.com:project-libs. Gitlab has forced me to use ...
3
votes
4answers
8k views

GIT server with username and password authentication

I would like to set a GIT server and let my developers to login using username and password in order to commit and make changes to the projects. I need also to manage developer access to projects (I ...
2
votes
1answer
1k views

Password prompt for public git repositories with git daemon - gitolite

I try to setup a git server with gitolite and make some repositories public. I installed gitolite, configured it for the user git and everything works fine. Permissions and UMask are set to 0027, to ...
2
votes
2answers
405 views

Gitolite3 not writing

I am a bit at world's end here. I want to install gitolite3 smart http over apache. I can successfully pull, but not push (doesn't even give me any errors or notices, not even in any known log). I ...
2
votes
1answer
593 views

Gitolite3 over http selinux permissions

I'm trying to install gitolite3 on Centos6.4. It works, I can ssh and, after some trouble, I can also read, such as clone, through http and httpd. I am re-enabling selinux into permissive mode, that I ...
2
votes
0answers
521 views

Gitolite3 push and selinux access failure

I try to install gitolite3 with ssh and http. I have followed largely the official guide at gitolite3, but I am stumbling accross three remaining problems. When I $ git clone http://florian@server/...
8
votes
4answers
3k views

Replace gitolite3 user with git

I am installing gitolite3 on a server, with ssh and http pulling/pushing/alltherest. During the process, a user and group gitolite3 is created. When I run: $ ssh gitolite3@server info I get the ...
11
votes
1answer
677 views

How well does authorized_keys scale?

If I'm using something like gitolite to handle access control how well does authorized_keys scale? Meaning if I have say 50,000 users what will the performance be like (I'm guessing not very good). ...
1
vote
0answers
124 views

Gitlab add default post-update

we've setup Gitlab (as was described at official site). All works fine. Now we need to add git hook to new-created projects called post-update (lets say it is located at /home/git/gitolite/hook/post-...
0
votes
1answer
494 views

Gitlab setup, rake fails because no --global user.name

Following the 5.1 instructions to install gitlab https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md When I run the command to test the install, I get an error "Git ...
2
votes
0answers
359 views

How to manually edit gitolite config file (running with redmine)

Say I want to manually edit the configuration files of gitolite (conf/gitolite.conf and add keys). What is the correct way to do so? Logged as git on the server, I have tried to clone git@localhost:...
1
vote
0answers
1k views

NGINX and CGit configuration

I?m trying to setup CGit and NGINX. I'm almost there but I have a problem with the rewrite rule in my NGINX's conf file. Currently I have this: server { listen 80; server_name cgit....
1
vote
1answer
1k views

How to setup Git Linux server for Windows domain clients via SSH?

Is this combination possible? Server: Git on Linux Clients: Windows Authentication: Windows domain credentials Transport protocol: SSH If yes how would this be accomplished?
4
votes
1answer
6k views

How can I configure git to reject large files?

For the 3rd time a developer committed a large file in our git repository (over 100MB). It's really a pain to cleanup. How can I configure git and/or gitolite to prevent large files from ever being ...
2
votes
1answer
286 views

How to set up sshd so that it never asks for a password for a specific user?

I have a dedicated system account named "git" that is managed by gitlab/gitolite. Users connecting to this account always use SSH keys, "git" user doesn't have a password. If users connect without a ...
1
vote
1answer
303 views

Gitlabhq gitolite update repos and keys issue

I would like update gitolite. But when i start command > sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos remote: Counting objects: 1459, done. remote: Compressing objects: 100% (...
2
votes
1answer
706 views

New Users are unable to connect to gitolite/git on amazon aws

These are the steps I followed for setting up a new user on gitolite hosted on amazon aws: 1. Installed gitolite (works - I can can connect as admin & add new repos/users) I added a test repo ...
4
votes
3answers
4k views

user unable to connect to git (using gitolite on ubuntu)

I was able to run the following command: git clone admin@ip address:gitolite-admin.git When I tried adding a new user using the steps below, the new user was unable to connect: Steps taken so far: ...
1
vote
0answers
404 views

redmine-gitolite plugin post recieve hook

I have redmine installed with around 12 projects and most of them are websites/web apps. Their code is maintained on the same server using redmine-gitolite-plugin by eric (https://github.com/...
1
vote
0answers
910 views

Gitweb to check access rights with gitolite

I'm several git repositories accessible to different users. I want to allow the users to browse all repos he or she has at least READ access to. To achieve this I have the following gitweb config: $...
3
votes
3answers
183 views

Would there be anyway to know the origin account's username that ssh'ed into the server?

I initially git cloned a repo, when I push my work, within the post-receive hook, I would like to retrieve the origin acount's username who did the push. I know $SSH_CONNECTION and $SSH_CLIENT give ...
1
vote
1answer
783 views

How config git email notification

Could your advice information (script) to config git notification. We have many projects and team working with them. It will be better if team member could get email notification when another push.
1
vote
0answers
219 views

Git push write access for deployment denied

I have strange issue when try git push. Git clone and commit works fine. W access for my_project DENIED to deploy_my_project_ My gitolite.conf repo my_project R = deploy_my_project_111 RW+ =...
3
votes
2answers
183 views

GIT Website Deployment

I am attempting to setup GIT to deploy my project to different locations based on the branch. (I think this is what I want to do anyway). My current setup is this: Local dev machine running ...
39
votes
2answers
34k views

How could I stop ssh offering a wrong key?

(This is a problem with ssh, not gitolite) I've configured gitolite on my home server (ubuntu 12.04 server, open-ssh). I want an special identityfile to administer the repositories, so I need to ...
0
votes
1answer
55 views

Allow users to configure notified email addresses

I want my users to be able to subscribe new commit notifications. Subscriptions should be per gitolite repository, and the user shouldn't have to contact me every time they want to add a subscription ...
1
vote
1answer
80 views

gitolite behind haproxy

is there a way to have a gitolite behind haproxy? I have my repo on a private server behind haproxy, but what is the way to clone/push/etc on this server from the internet? Thanks in advance.
1
vote
1answer
597 views

Gitolite w. Gitweb and Wildcard Repos

with a gitolite configuration like this: repo    users/CREATOR/.+ C       =   @defaultgroup RW+D    =   CREATOR RWD     =   @defaultgroup the users of our ...
1
vote
1answer
349 views

Gitolite SSH URL Format

So I got gitolite set up. Simple. But there is one issue I am having. The SSH urls follow the format of git@host:repo. I'm used to Bitbucket / Github where the urls follow the format of git@host:user/...
4
votes
2answers
5k views

Moving Gitlab and Gitolite server to another machine

Now, I have gitlab and gitolite running on my ubuntu server. However, this server is too slow and my company wish to move the server to another machine. Are there any way to move gitlab and gitolite ...