all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, "Marek Paśnikowski" <marek@marekpasnikowski.pl>
Subject: Re: How to configure gitolite service?
Date: Tue, 05 Dec 2023 13:12:19 +0100	[thread overview]
Message-ID: <12EAAF1A-98CC-45CA-A1FE-FC83889CE801@lepiller.eu> (raw)
In-Reply-To: <3qlbsh.s56zu5.ruvr47-qmf@localhost>

This is the public key that corresponds to the private key the admin uses to pull/push the configuration repo with:

git clone git@server:gitolite-admin

I don't understand why you talk about mail here, plain-file is a file-like object which creates a file in the store from a string. This is just the content of the pub key file. Here's what I use, where the pub key is available in the same directory as the guix configuration (typically, /etc/julien.pub):

(admin-pubkey (local-file "julien.pub"))

Le 5 décembre 2023 12:56:27 GMT+01:00, "Marek Paśnikowski" <marek@marekpasnikowski.pl> a écrit :
>Dear all.
>
>I am in the process of setting up Gitolite.  My strategy is based on the principles of Test Driven Development.
>
>Following the system reconfiguration errors, I have questions regarding the minimal required code:
>
>(service gitolite-service-type
>  (gitolite-configuration
>    (admin-pubkey
>      (plain-file "user.pub" "key" "mail"))))
>
>1. Which system user does the .pub file correspond to - git or (in my case) marek? In other words, is the key owner the /git/ account which serves the Gitolite instance; or is it the remote administrator account which logs into the service?
>
>If it is the /git/ user, how do I inject the private key into the server's profile?
>
>2. Does the mail address correspond to the same account as above?


  reply	other threads:[~2023-12-05 12:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 11:56 How to configure gitolite service? Marek Paśnikowski
2023-12-05 12:12 ` Julien Lepiller [this message]
2023-12-05 12:33   ` Marek Paśnikowski

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

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

  git send-email \
    --in-reply-to=12EAAF1A-98CC-45CA-A1FE-FC83889CE801@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=marek@marekpasnikowski.pl \
    /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 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.