How to install gitolite via ipkg on DSM 4.0?

Questions about IPKG can go here!
Forum rules
Please note the disclaimer before modifying your Synology Product.

How to install gitolite via ipkg on DSM 4.0?

Postby aussenboarder » Sun May 13, 2012 10:08 pm

Can anyone provide a detailed description on how to install gitolite on a NAS running DSM 4.0-2219? There are a couple of outdated tutorials out there that use gl-easy-install to run the gitolite setup. However, gitolite v.3 no longer uses this method.

Would be nice, if we can compile a good tutorial together.
DS212+ | 512MB | Feroceon 88FR131 rev 1 (v51) | Synology 6282 board | DSM 4.0-2228 | 2 x WD30EZRX-00MMMB0 | SHR
User avatar
aussenboarder
I'm New!
I'm New!
 
Posts: 5
Joined: Sun May 13, 2012 1:31 am

Re: How to install gitolite via ipkg on DSM 4.0?

Postby bluevariant » Wed May 30, 2012 2:53 pm

I've put together a guide for DSM 4.0 Diskstations. I've validated this on a DS212J.

http://www.bluevariant.com/2012/05/comp ... skstation/
bluevariant
I'm New!
I'm New!
 
Posts: 2
Joined: Wed May 30, 2012 2:50 pm

Re: How to install gitolite via ipkg on DSM 4.0?

Postby michaelb » Thu May 31, 2012 10:07 pm

Bluevarian, thank you for the guide. Now gitolite is running on my ds212+. :D

I had a little problem if I try
Code: Select all
/volume1/homes/git/gitolite/install -ln /bin
as git user.

Error:
2012-05-31.22:31:26 die could not symlink /volume1/homes/git/gitolite/src/gitolite to /bin<<newline>> at /volume1/homes/git/gitolite/install line 71<<newline>>

My solution:
Code: Select all
/volume1/homes/git/gitolite/install -ln $HOME/bin
michaelb
I'm New!
I'm New!
 
Posts: 3
Joined: Sun May 20, 2012 10:11 pm

Re: How to install gitolite via ipkg on DSM 4.0?

Postby bluevariant » Fri Jun 01, 2012 4:16 am

That was a typo on my part. By default, gitolite will install in $HOME/bin if you don't specify a directory.

Code: Select all
DiskStation> /volume1/homes/git/gitolite/install -ln


I've updated the post to account for this! Thanks for the feedback!
bluevariant
I'm New!
I'm New!
 
Posts: 2
Joined: Wed May 30, 2012 2:50 pm


Return to IPKG

Who is online

Users browsing this forum: No registered users and 0 guests