From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: thoughts on a gitolite-service Date: Sat, 4 Mar 2017 01:01:16 +0000 Message-ID: <20170304010116.hkecwkyefjqq75ju@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjx06-0006fN-3t for guix-devel@gnu.org; Fri, 03 Mar 2017 18:52:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjx03-0002x3-1l for guix-devel@gnu.org; Fri, 03 Mar 2017 18:52:42 -0500 Received: from fragranza.investici.org ([178.175.144.26]:60390) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cjx02-0002ub-MM for guix-devel@gnu.org; Fri, 03 Mar 2017 18:52:38 -0500 Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 9FFDE2C01A1 for ; Fri, 3 Mar 2017 23:52:35 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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?