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
2 answers
352 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 ...
David Barranco's user avatar
1 vote
1 answer
177 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 ...
Anon34623's user avatar
1 vote
1 answer
147 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 ...
goaran's user avatar
  • 111
2 votes
1 answer
629 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 ...
zrtYouyou's user avatar
0 votes
1 answer
37 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 ...
Jasmine Lognnes's user avatar
1 vote
0 answers
70 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 ...
Apatus's user avatar
  • 21
2 votes
2 answers
725 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 ...
Theo's user avatar
  • 183
1 vote
1 answer
1k 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 ....
sakra's user avatar
  • 189
1 vote
1 answer
35 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'...
paulluap's user avatar
1 vote
1 answer
182 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 ...
paulluap's user avatar
0 votes
1 answer
6k 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....
SpiRail's user avatar
  • 171
0 votes
1 answer
60 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 ...
bronto's user avatar
  • 121
1 vote
1 answer
691 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, ...
Merc's user avatar
  • 807
1 vote
2 answers
5k 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 ...
kiltek's user avatar
  • 143
2 votes
1 answer
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 ...
hjpotter92's user avatar
2 votes
1 answer
866 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 ...
rhee's user avatar
  • 41
0 votes
1 answer
619 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 ...
pregmatch's user avatar
  • 303
1 vote
1 answer
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]: ...
Arnold Roa's user avatar
0 votes
0 answers
72 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 ...
jotik's user avatar
  • 159
3 votes
2 answers
372 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) ...
Chelsea Urquhart's user avatar
2 votes
1 answer
501 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: [email protected]:project-gui and [email protected]:project-libs. Gitlab has forced me to use ...
nishantjr's user avatar
  • 241
3 votes
4 answers
9k 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 ...
Giorgio's user avatar
  • 31
2 votes
1 answer
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 ...
Julien Fastré's user avatar
2 votes
2 answers
415 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 ...
Florian Mertens's user avatar
2 votes
1 answer
626 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 ...
Florian Mertens's user avatar
2 votes
0 answers
572 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/...
Florian Mertens's user avatar
10 votes
5 answers
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 ...
Florian Mertens's user avatar
12 votes
1 answer
779 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). ...
Jeremy's user avatar
  • 123
1 vote
0 answers
129 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-...
MealstroM's user avatar
  • 1,517
0 votes
1 answer
500 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 ...
spuder's user avatar
  • 1,745
2 votes
0 answers
459 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:...
FabienAndre's user avatar
1 vote
0 answers
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....
alexandernst's user avatar
1 vote
1 answer
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?
Al Bundy's user avatar
  • 165
4 votes
1 answer
7k 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 ...
MiniQuark's user avatar
  • 3,995
2 votes
1 answer
316 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 ...
Petr's user avatar
  • 635
1 vote
1 answer
312 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% (...
Stepchik's user avatar
2 votes
1 answer
948 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 ...
ali haider's user avatar
  • 1,160
4 votes
3 answers
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: ...
ali haider's user avatar
  • 1,160
1 vote
0 answers
410 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/...
Medhamsh's user avatar
  • 111
1 vote
0 answers
941 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: $...
Martin Schulze's user avatar
3 votes
3 answers
237 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 ...
Spredzy's user avatar
  • 963
1 vote
1 answer
798 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.
Stepchik's user avatar
1 vote
0 answers
227 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+ =...
Stepchik's user avatar
3 votes
2 answers
190 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 ...
Brian's user avatar
  • 310
44 votes
2 answers
45k 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 ...
Alvaro Maceda's user avatar
0 votes
1 answer
61 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 ...
phihag's user avatar
  • 232
1 vote
1 answer
88 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.
Francesco's user avatar
1 vote
1 answer
625 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 ...
pagid's user avatar
  • 127
1 vote
1 answer
485 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/...
knpwrs's user avatar
  • 409
4 votes
2 answers
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 ...
Sam Mie's user avatar
  • 49