unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: thoughts on a gitolite-service
Date: Sat, 4 Mar 2017 01:01:16 +0000	[thread overview]
Message-ID: <20170304010116.hkecwkyefjqq75ju@abyayala> (raw)

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?

                 reply	other threads:[~2017-03-03 23:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170304010116.hkecwkyefjqq75ju@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).