From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mBYnOQpLJmJoLgEAgWs5BA (envelope-from ) for ; Mon, 07 Mar 2022 19:12:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qPTcNQpLJmIsFAAAauVa8A (envelope-from ) for ; Mon, 07 Mar 2022 19:12:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9ED773D7F9 for ; Mon, 7 Mar 2022 19:12:26 +0100 (CET) Received: from localhost ([::1]:36108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRHqL-0006q4-1p for larch@yhetil.org; Mon, 07 Mar 2022 13:12:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRHpy-0006mP-Tu for guix-patches@gnu.org; Mon, 07 Mar 2022 13:12:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRHpy-0004eS-Lp for guix-patches@gnu.org; Mon, 07 Mar 2022 13:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRHpy-0008Kl-Cy for guix-patches@gnu.org; Mon, 07 Mar 2022 13:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54293] [WIP] home: Add home-git-service-type Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Mar 2022 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54293 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , 54293@debbugs.gnu.org Received: via spool by 54293-submit@debbugs.gnu.org id=B54293.164667667931967 (code B ref 54293); Mon, 07 Mar 2022 18:12:02 +0000 Received: (at 54293) by debbugs.gnu.org; 7 Mar 2022 18:11:19 +0000 Received: from localhost ([127.0.0.1]:54621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRHpH-0008JW-JB for submit@debbugs.gnu.org; Mon, 07 Mar 2022 13:11:19 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:59348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRHpG-0008JP-Cx for 54293@debbugs.gnu.org; Mon, 07 Mar 2022 13:11:18 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id 3WBH2700A4UW6Th06WBHiw; Mon, 07 Mar 2022 19:11:17 +0100 Message-ID: <4802fd5bd14e6d73ca8205edab1e38580db7dd0c.camel@telenet.be> From: Maxime Devos Date: Mon, 07 Mar 2022 19:11:16 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-M9A7dIJytVFNzWrrlTBS" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646676677; bh=oNlCkXpfhpEikXwGiMUyUtkEwd6hRsFNk4cZL6RUfYw=; h=Subject:From:To:Date:In-Reply-To:References; b=mDcxAXOSh+94sJkeKBFFpRG3PYh0Q4MvcMXSMCkJEIVDYuIVITxAu1YEuh+1BAxdL fCujEZzbQFpQWVgouB7zvPOPIbIlnoLxX/flhvOE5hv5tVcBkYSon2Xm1lpIOCTKZl JSpCWB1qwNeRU0pa2uv1OgM5dHsfsJ8jMlge2o7wUcqc3QdAV3vEdOeZceGDojttw6 9mIexG2yGRs2/aBWbmBU9NBbqbatW1TQ6br0jqyT0wfdCLpaQGY8ZSxOLlNJ4d6OJy 19jOm649JzSyP96KPf1RmrYQzqSlRzfXNNPEN0bAs2y4VvU3mat+0TiU5nnVu2MIfx 96t0m5kXooeZQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646676746; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=oNlCkXpfhpEikXwGiMUyUtkEwd6hRsFNk4cZL6RUfYw=; b=T7MqmZoxGXQN8FydHCwGHa3lSXM6FtO+hhZ6CF0OtJ+300ywuWzENidjxsTx+zFXKScVrc wRECjiBO6eVLjyyuybgxzqCBPvaUBRBibYr+YX3hcAS2I0BFlaE8V0ySVI4MjNs0c2I0S1 RjQFxZ6uCXArRzDXbBdXKAUmXljuXu+IQlk8IhxJfYZTpHVtiZu2St1ruYSnuwR59+wDtP 21A/TH0wx5qi4Fwznh0hQfyKF7+wJWpiLtK9RNrqjpnZixjOAYKoSa1bJBSR+fwNYyyfuf 4G3KHRBh2w+MiL3My4Xw4G7GZyDuE+dFR7oSRQqoFzId/tk+7FcKB0VLtJ+cjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646676746; a=rsa-sha256; cv=none; b=Z/sXaZBhinVho2CAyB69P1F/VZ0Wl5t6cwKAlkiIY4fe6jHSEMJ0lOkHpZL0ONEx2FX9va QRNbQPFFD8SbBOBGq+XYT410Zs00peslY4Qfz6l/CEHLMgzsCboHgfe1IjpiPUgZhJ9ZMz haH+boyF2aAXhbDnFzdZkg3jdMfpe2DfAhcu55A+Pu2Q64gvQMf0+m648OrVOEiiXfIYri wt3mor/VVwsmwdwJS20wuZhQ9rB1Q9DFfNRd0QNKAxgZrJT056HVA8++lNjhBKehgg0rh4 OCDDlHMd+aCPbiei/TG/joRmVerPi1z8J3zvgxD6k7tenRHhq3AbyHA84C3r8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mDcxAXOS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mDcxAXOS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9ED773D7F9 X-Spam-Score: 3.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: +YQFwn5x+4nb --=-M9A7dIJytVFNzWrrlTBS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =E5=AE=8B=E6=96=87=E6=AD=A6 schreef op ma 07-03-2022 om 22:51 [+0800]: > Hello, with: > --8<---------------cut here---------------start------------->8--- > (service home-git-service-type > =C2=A0(home-git-configuration > =C2=A0 (options '((user (name "foo") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (email "foo@bar.com")))))) [...] How about providing an option for passwords? E.g., (home-git-configuration (user (git-user-info (name "Foobar") (e-mail "Foobar ") (signing-key "some PGP fingerprint))) (secrets-file "/home/foo/the-password") (smtp (git-smtp-configuration #;(password "12345") ; not recommended, use 'secrets-file' inste= ad ...)) (with some appropriate documentation) secrets-file (not interned in the store): =20 # I don't remember the exact option name smtp.password =3D Foobaz the produced .gitconfig would include a line [include] path =3D /home/foo/the-password --=-M9A7dIJytVFNzWrrlTBS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYiZKxBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7otOAQCOnttc3JBbFIOvNw4qXeXr72BZ /ssGKKifN/b8UkB3kwEAn9iiJoSD3QQIHkuwYcIWZ66EEaip1AMyRSXAckPD7wo= =V62F -----END PGP SIGNATURE----- --=-M9A7dIJytVFNzWrrlTBS--