On 17.11.2017 9:39, Pierre Labastie wrote:
On 16/11/2017 22:39, Armin K. wrote:
While looking through files on my personal web space on LFS server, I
stumbled upon a patch which seems to add git server instructions to
BLFS book. It seems like a rough draft that could be improved a lot
(ie, installing gitolite system-wide first), but if someone is
interested in writing instructions in BLFS book or wiki on how to host
a git server, it can be used as a starting point. You can find the
patch against some probably ancient by now BLFS book at
http://www.linuxfromscratch.org/~krejzi/git-server.patch
Thanks for that. I am not sure of the benefits of using gitolite compared
to just pairing SSH and GIT protocols [1], though. It provides some
automation, but does a BLFS user want automation?
Pierre
[1] https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
The ssh access described in that document means that an user needs to
have real user account on the server - not sure if it has to be one that
you can login with. When using gitolite, that is not the case, only one
special user is needed (the one gitolite is using), the rest will
connect using their ssh keys. gitolite is also responsible for
permissions in such environment (it pairs ssh key to one or more repos
for write access, and denies write access to all others).
See also:
http://gitolite.com/gitolite/overview/
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page