Gitolite on a QNAP NAS possible?

1,467 views
Skip to first unread message

moleculezz

unread,
Jun 12, 2010, 10:05:26 AM6/12/10
to gitolite
Hello,

I have a QNAP NAS and I was wondering if it was possible to install
Gitolite on it. I have come across Gitosis installation on a QNAP but
not sure it would be the same for Gitolite.
In the end I am trying to have the NAS run a Git server for team
development on projects and I see that Gitolite is much more active
than Gitosis. I'm hoping someone here could help me out finding a
solution for my problem

Gitosis installation on QNAP:
http://wiki.qnap.com/wiki/Gitosis

Thanks!

Greg Lonnon

unread,
Jun 12, 2010, 10:28:37 AM6/12/10
to moleculezz, gitolite
Gitolite has just a few requirements:

Perl
Git (the more recent versions work best)
ssh

If QNAP has those tools, it should work.  I would just try to install it.  It's a simple install, and if it fails, just delete the "git account".  No harm done.

Greg

Sitaram Chamarty

unread,
Jun 12, 2010, 10:47:57 AM6/12/10
to moleculezz, Greg Lonnon, gitolite
On Sat, Jun 12, 2010 at 7:58 PM, Greg Lonnon <gr...@lonnon.org> wrote:
> Gitolite has just a few requirements:
> Perl
> Git (the more recent versions work best)
> ssh

(specifically, an ssh that understands the authorized_keys file, but
your wiki link is telling you to install openssh anyway so that's
taken care of once you do that)

And a posix compatible shell, which I am pretty sure it does, looking
at the link you sent.

See http://github.com/sitaramc/gitolite/blob/pu/doc/0-INSTALL.mkd#requirements
for details.

> If QNAP has those tools, it should work.  I would just try to install it.
>  It's a simple install, and if it fails, just delete the "git account".  No
> harm done.

> On Sat, Jun 12, 2010 at 8:05 AM, moleculezz <gdar...@gmail.com> wrote:

>> Gitosis installation on QNAP:
>> http://wiki.qnap.com/wiki/Gitosis

from what I understand of this page, you're best off using what I call
the "root method"; see
http://github.com/sitaramc/gitolite/blob/pu/doc/0-INSTALL.mkd for
details.

Here's the differences and substitutions, but note this is just
guesswork purely from what that page tells me is possible/available.

- ignore the "ipkg install gitosis" step; the "root method"
documentation includes a step to obtain the software (and it's hardly
likely they'll have a package for gitolite)

- creating your keypair is not mentioned in my docs, but copying it
is, and you can make the connections between the QNAP docs and mine in
that respect

- the "sudo -H -u...." step is replaced by bullet #3 (running
gl-setup) in the "root method"

- the chmod 755 is not required (well it is required but gitolite
install does it; you dont have to do it manually)

I find it curious that he describes the openssh install *after* all
this. I'm not sure that's the right order. I'd get the openssh
install done first, if I were you.

The rest of the document should be quite amenable to a mental
translation. Good luck, and if you'd care to keep notes and/or write
it up somehow I'd be happy to add it into contrib/ or at least put in
a link somewhere.

You might even, if you are a member, post a similar writeup to that wiki.

Regards,

Sitaram

moleculezz

unread,
Jun 12, 2010, 12:19:41 PM6/12/10
to gitolite
I was also asking about installing git on a QNAP in their forum and
one of the moderators pointed me to this tutorial for installing
Gitosis. I did reply to ask about the possibility to install Gitolite.
But they havn't replied yet.
http://hekate.homeip.net/2010/03/git-gitosis-installation-on-qnap-ts-210/


But I will try using the root method. I have almost no experience with
Linux, but when I get a chance, I will try.

Thanks

On Jun 12, 4:47 pm, Sitaram Chamarty <sitar...@gmail.com> wrote:
> On Sat, Jun 12, 2010 at 7:58 PM, Greg Lonnon <g...@lonnon.org> wrote:
> > Gitolite has just a few requirements:
> > Perl
> > Git (the more recent versions work best)
> > ssh
>
> (specifically, an ssh that understands the authorized_keys file, but
> your wiki link is telling you to install openssh anyway so that's
> taken care of once you do that)
>
> And a posix compatible shell, which I am pretty sure it does, looking
> at the link you sent.
>
> Seehttp://github.com/sitaramc/gitolite/blob/pu/doc/0-INSTALL.mkd#require...
> for details.
>
> > If QNAP has those tools, it should work.  I would just try to install it.
> >  It's a simple install, and if it fails, just delete the "git account".  No
> > harm done.

Robert Middleswarth

unread,
Jun 12, 2010, 9:22:10 PM6/12/10
to gito...@googlegroups.com
Gitolite is one of the easiest application I have every installed under
Linux. You follow the steps and it does everything for you. A
testament to sitaram hard work on the project.

Thanks
Robert

Sitaram Chamarty

unread,
Jun 12, 2010, 10:05:36 PM6/12/10
to Robert Middleswarth, gito...@googlegroups.com
On Sat, Jun 12, 2010 at 09:22:10PM -0400, Robert Middleswarth wrote:
> Gitolite is one of the easiest application I have every installed under
> Linux. You follow the steps and it does everything for you. A
> testament to sitaram hard work on the project.

Thanks Robert!

But it wasn't always easy -- install was always a problem,
due to being *totally* dependent on ssh, and most people's
unfamiliarity with ssh.

I think that now, though, I have a handle on this, and the
install doc is also much more focused (I think the previous
one rambled ;-)

Regards,

Sitaram

Reply all
Reply to author
Forward
0 new messages