Hi,
I have just installed (successfully) gitolite on my Synology DiskStation.
There is a couple of gotchas, but nothing major.
- mktemp(1) does not exist
As Sitaram might remember I created some bad patches for that a while back;
I ended up with finding the source for mktemp and compiling that myself for
the DiskStatiion.[1]
This was basically it, except when I turned on the "upstream" feature.
The DiskStation
uses /bin/sh as provided by busybox. "upstream" uses /bin/bash. No
BASHisms seems
to be used in the upstream script so a quick change to /bin/sh did the trick.
This is something that perhaps should be changed in upstream gitolite as well.
Everything so far seems to be working fine, but I'll do some more testing.
NB. The setup required on the DiskStation is a bit more involved that
what the above might seem, it is needed to create a git user, give it
ssh access, setup the environment etc.
[1]
http://ftp.cc.uoc.gr/mirrors/OpenBSD/src/usr.bin/mktemp/mktemp.c
edited out some BSDism and made it compile on my linux box.
$ gcc -O3 -static -march=atom mktemp.c -o mktemp
copied that to /usr/local/bin on the DiskStation.
--
Lgb