all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* thoughts on a gitolite-service
@ 2017-03-04  1:01 ng0
  0 siblings, 0 replies; only message in thread
From: ng0 @ 2017-03-04  1:01 UTC (permalink / raw)
  To: guix-devel

I've been playing around with gitolite on GuixSD today, and I think once
the bug I've opened is fixed, it would be nice to write a service for
it.
My requirement for git on a server includes having gitolite and
git-daemon side by side.

git-daemon-service currently creates a "/srv/git" directory which could
be used by gitolite, symlinking the $HOME/repositories folder of the
gitolite user there.
The problem here is that /srv/git by default does not have the right
permissions to allow "git" (if you named your gitolite user, which runs
gitolite and serves as the $HOME for gitolite) to write into it.

To keep gitolite repositories in "/srv/gitolite" and git-daemon readable
ones in "/srv/git" makes no sense.

Furthermore for this service it would be good if it would automate the
process of "gitolite setup -pk foo.pub", and you could just define your
admin ssh pub key in the system config, of the service.
Adding to this it would be nice if the gitolite-daemon repository would
only be used for creating repositories, and the pubkeys could be added
to the configuration of the service.

How much of this makes sense, where have I missed a detail why we should
not proceed with some detail of this?
Do you have any further ideas?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-03 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-04  1:01 thoughts on a gitolite-service ng0

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.