Jump to content
Froxlor Forum

Automatic git bare repo


ledzepp94
 Share

Recommended Posts

Hey all,

 

New to Froxlor but so far I like what I see. So I cloned the repo and made some minor changes to fit what I think would be a more universal need. Basically whenever you create a new user there is a a new git bare repo created in /var/customers/repos/[username].git. It also creates a post-receive hook that checkouts the revision to the working tree (users web root) and chowns it all to www-data. If anyone thinks this may be valuable or interesting let me know and I'll create a patch or however it should be managed.

 

Thanks!

Link to comment
Share on other sites

Why automatically? Why not stick to the way we handle resources and provide a possibility to let the admin assign an amount of repos and the customer creates them from within the panel like a mysql-db or a ftp-user?

 

Also, it's very specific (had a patch for svn-repos-for-customers years ago never meeged it as too few people would actually need it).

 

But generally a nice idea

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...