Re:Private git repositories with Gitolite and backup to S3 w...
by hippich on Sunday October 28, 2012 @10:38AM
(#4709016)
Gitolite/Gitorious are used to manage repositories and access to these with single SSH/Git login/connection. Use case OP described is not what it was created for. Instead Gitolite and Gitorous are used together with tools like Redmine to setup full fledged project managements systems where you can create repositories for projects, commit to these, update tickets based on commits, etc. For use cases like this you have to have GIT control over single connection (did you notice all github GIT urls are like [email protected]?)
What gitorious do - instead /bin/bash it puts custom shell script for SSH which manages all stuff like repo creation, authorizing users by their keys, etc.
tl;dr; For OP use case gitolite is probably overkill. He likely could get away with something like s3fs and mount any number of S3 buckets and push to these as to regular local git repo.
Re:Private git repositories with Gitolite and backup to S3 w...
by zrail on Sunday October 28, 2012 @10:44AM
(#4709034)
Get away with? Sure. It would not be nearly as useful or as seamless as gitolite though.
Re:Private git repositories with Gitolite and backup to S3 w...
by zrail on Sunday October 28, 2012 @09:48AM
(#4708908)
The biggest thing that Gitolite buys me is the wild repos feature. When I want to create a new repo it takes zero effort. All I have to do is add a new remote and push and gitolite takes care of creating the repo, including setting up the the common hooks.
For larger orgs gitolite's advantage is mainly centralizing admin.
Re:Private git repositories with Gitolite and backup to S3 w...
by qznc on Sunday October 28, 2012 @08:47AM
(#4708798)
What I like about gitolite is that I can give push permissions to people, but deny pushing to the master branch. Of course, this can be done with mere git hooks, but gitolite makes it easy and centralizes the admin configs.
It is essentially useful to use git in a svn-like workflow.
Re:Private git repositories with Gitolite and backup to S3 w...
by emillon on Sunday October 28, 2012 @04:15AM
(#4708428)
What I like with gitolite is that once it's run, you can create a new repository with custom permissions with only one commit in the "admin" repository. It is also not necessary to create users for your git users.
Re:Private git repositories with Gitolite and backup to S3 w...
by shelf on Sunday October 28, 2012 @04:28AM
(#4708443)
I suppose this is a valid 'pro.' Creating users is nothing to be feared, though. It is possible and simple to set up a user to be refused a shell and subjected to resource constraints.
I have always placed my git servers in BSD jails to minimise the worry, but you penguins have no such option!
Re:Private git repositories with Gitolite and backup to S3 w...
by qznc on Sunday October 28, 2012 @08:41AM
(#4708791)
Creating users might be a problem, if you are working within a larger organisation (university in my case).
Penguins have LXC, which is comparable to BSD jails or Solaris containers.
The website for Gitolite is not exactly clear on this, either. 'Features' include 'fine-grained' permissions and groups, the ability to set git options... A pretty long-winded way to avoid setting up git properly, given that setting it up is very easy indeed.