From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id EDt4I6XSI2Ir3AAAgWs5BA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 05 Mar 2022 22:14:13 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id EK79G6XSI2JCxAAAG6o9tA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 05 Mar 2022 22:14:13 +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 1B84AD596
	for <larch@yhetil.org>; Sat,  5 Mar 2022 22:14:12 +0100 (CET)
Received: from localhost ([::1]:46616 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1nQbj8-0001Yz-Ny
	for larch@yhetil.org; Sat, 05 Mar 2022 16:14:10 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39128)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nQbj0-0001YZ-9h
 for guix-patches@gnu.org; Sat, 05 Mar 2022 16:14:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:55284)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nQbj0-0006Z1-0r
 for guix-patches@gnu.org; Sat, 05 Mar 2022 16:14:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nQbiz-0007En-T4
 for guix-patches@gnu.org; Sat, 05 Mar 2022 16:14:01 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in
 Guix.
Resent-From: Leo Famulari <leo@famulari.name>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Sat, 05 Mar 2022 21:14:01 +0000
Resent-Message-ID: <handler.54216.B54216.164651480927777@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 54216
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Maxime Devos <maximedevos@telenet.be>
Cc: 54216@debbugs.gnu.org, Attila Lendvai <attila@lendvai.name>,
 zimoun <zimon.toutoune@gmail.com>
Received: via spool by 54216-submit@debbugs.gnu.org id=B54216.164651480927777
 (code B ref 54216); Sat, 05 Mar 2022 21:14:01 +0000
Received: (at 54216) by debbugs.gnu.org; 5 Mar 2022 21:13:29 +0000
Received: from localhost ([127.0.0.1]:49181 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nQbiS-0007Dx-Uz
 for submit@debbugs.gnu.org; Sat, 05 Mar 2022 16:13:29 -0500
Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:51357)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@famulari.name>) id 1nQbiQ-0007Di-UG
 for 54216@debbugs.gnu.org; Sat, 05 Mar 2022 16:13:27 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id ADD65320046F;
 Sat,  5 Mar 2022 16:13:20 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Sat, 05 Mar 2022 16:13:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:cc:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=mesmtp; bh=UYB6VrTz4KVcPoSm3kpZYfhNsPH
 j8S9lbeEW/gRfXD4=; b=D3HNXOQuj2hEBRPDUGoIxXHxTAalIXz7+I1wTnR8p/g
 7DkntmpOF4eTEpkA+ww2gnPDdfvwdaJVP7KeNrieLGLzO1QbSNOvu6Foow1CfJDI
 nzBGIpDpiHti1NLIKWHzPl6+bK1F7ulL7fWnRoVcDXhOOIHnVz3tmtRyKV73kq/8
 =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=UYB6VrTz4KVcPoSm3
 kpZYfhNsPHj8S9lbeEW/gRfXD4=; b=BjLAm74MGzdz6R3zlB5ygdbHRSMkwN0Eh
 7WhwxctZ+Zku85cGXYuDpAca+Y6GDUUBikvvPdgohhc7x4VCM2rUZRp04QPwq2qd
 oYigqqRfumsNNDrv+U8cfrRNCV+Jk56I2UKFE3rKpvD5Uki2tpwhfCWpgzgrO1/c
 +v0cwF7b7MJaMer3lvz1/sWSGxkbNRveU1E424Pmy5pjumdBgXQqQaRLUhd8vg6G
 ZPL3Ci0h45RMDxUAaWcQ16o2li0aVHQD52cYCrQeEhefvHQIPh8qOKqyQFR9tNZ/
 IbvVCvN2kTuefDXY0jPDufzzsTYa5EC+Ju7BnZ8g2hlEuwRDXAaPA==
X-ME-Sender: <xms:cNIjYnSpT_L6EanGZrzQVHfBilYWU1lyQiB5gHG2rMhkG83NoLkYfQ>
 <xme:cNIjYox6D9VJF_aRfOYLymIZ0XFhITPe2A0C4Bw2AdGp2Oo2TQmA6pk6YYmtbji16
 GmcnXGKE4xiBP3JDQ>
X-ME-Received: <xmr:cNIjYs1NIfjHxRcMD2CBR8HFSqYl0gg28GhaYPsnGaLaLa1uf7FBNDgOHWFEcfXBKf0qO6PeJrAao-XmnBe5S3Hr>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddutddgudegjecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepnfgvohcu
 hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth
 htvghrnhepvdevgeekudeivdeileduveekuefgueeuleehtdffgefftdefkeevleffueef
 udeknecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc
 frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:cNIjYnC681XMa6xT5TXOgPhGsLps9qwuQ9O7TRJfPrwiCWbBX0H9Mg>
 <xmx:cNIjYgjGys178WrkfGYIfLs5d_cgTSSLz58rETkF67onNTKHo0lquw>
 <xmx:cNIjYrodiM2l4CW1V16WOAMBKff-V7KBXHhVrrVie67iNWA0v4yJsA>
 <xmx:cNIjYjuMFcwBK1hN2olUKY-w3sMFfrNTVXwcYu01fNwj5nDzSTrNRQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 5 Mar 2022 16:13:20 -0500 (EST)
Date: Sat, 5 Mar 2022 16:13:17 -0500
From: Leo Famulari <leo@famulari.name>
Message-ID: <YiPSbdXBeim+5xfY@jasmine.lan>
References: <20220301182848.26694-1-attila@lendvai.name>
 <20220301184517.13439-1-attila@lendvai.name>
 <992c3326a10e0bb28491f8226ebbe84aa93ad9ca.camel@telenet.be>
 <aJFlM3mC27rhgpJ7Mr5IN7Zyb84HRFfGSJinSMwiKWGxoY8t6gjmUatPyK2y_S8PNSqHgnTUbGJ3NDoiNHDnjN2rHVbi80WbUntglsXEO1s=@lendvai.name>
 <CAJ3okZ1vah5XFy3BVoc=hv0Ke5GxT+3M3uYo2CTNRZyPHz-mAQ@mail.gmail.com>
 <15fbca84-83ed-43cd-9bd4-e187ccadf4ec@www.fastmail.com>
 <5d684728965ec36c604e9b77f650055269e8588e.camel@telenet.be>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="5kTCR7zpgmgELN0A"
Content-Disposition: inline
In-Reply-To: <5d684728965ec36c604e9b77f650055269e8588e.camel@telenet.be>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
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=1646514853;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc: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=UYB6VrTz4KVcPoSm3kpZYfhNsPHj8S9lbeEW/gRfXD4=;
	b=H02kbvMOcRIKtZzQf1EyI9KyO0A1J03IlgKELX8SHX6T+juiEStLQErsbkLFqUsD7FmKo7
	2QZUwZ3AIONlwWz+7O+ECmkwsXxpviw0JxrPVzp+JEmSvGkoaB+yBG6QjUGvXl6aSVC1dz
	ND4LsTUaH9jURil0zY8VswHy+vknXyhwADnHymCdjRTYTi6qNoNXpBoYMPjJL/ERH761Pp
	m986UDMp8/idWrN+JlyyVH9nB1DHxfGrj4ljD47NxW85sHX5XdImbv/Q0YToSvxgmSTiL7
	kWMhXdplrhl3HrfEpSLa3pGfgkGOP1XSSmwReUhV1FcoDEg0x2AdarV+WtO8NA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646514853; a=rsa-sha256; cv=none;
	b=MspIJ1DW60k5YnGicT42J5iboAtgleFF4Do230te1jnzaTi0kah5XPUmP4L2JJUOF2MZsZ
	+Z8zZx5v0ZQzf2UXumWP0L3JICp7ArIn5FmB6DhliTmdgu6Tvi455Gbhgf6clb9oedpj+5
	1jGTQCm01d28Z3ZV79SuqgSq0X5v7lMjSJfHGKU1/kgSTiFGKsDdL9vKNyG1DR0AqG6Ot1
	iZ/qTM3/TCn8l8jtmiY3hZlm8BIHrvPGt4d3ANIGJ/qjq+LqjgQs8Qv5AraLBqWDPwVQDo
	TQj357vrMF+pdvByMPFQEsyRSfBI9ICzV2UAq6FNnoWblhcpEun7HlJ81Jg/3w==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=D3HNXOQu;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=BjLAm74M;
	dmarc=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: -1.24
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=D3HNXOQu;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=BjLAm74M;
	dmarc=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: 1B84AD596
X-Spam-Score: -1.24
X-Migadu-Scanner: scn0.migadu.com
X-TUID: bmHPUjJzAteA


--5kTCR7zpgmgELN0A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 03, 2022 at 07:25:22AM +0100, Maxime Devos wrote:
> Leo Famulari schreef op wo 02-03-2022 om 18:50 [-0500]:
> > Origin snippets should only be used to remove nonfree things
> > from the upstream source code. All other changes should use
> > patch files or a build phase.
>=20
> Why?  If it's a source code change and it fits an origin snippet,
> why not an origin snippet?  Why would the source in Guix need to match
> the source upstream?

`guix build --source` is a tool to provide freely licensed source code
to be used for any purpose, including building on systems besides Guix.

Using the Guix tools, there is no way to access the upstream source code
without applying the snippets. The reason for that is that the origin
snippet mechanism was introduced specifically to remove non-free
components without making it easy to reverse the transformation.

Compare that to patch files, which are easily reversed, and build
phases, which do not apply to `guix build --source`.

So, we have to be careful when using snippets, to ensure that the result
of `guix build --source` is useful on any system, not just Guix.

More info:
https://guix.gnu.org/manual/en/html_node/Snippets-versus-Phases.html

Please let me know if these guidelines are still unclear.

--5kTCR7zpgmgELN0A
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAmIj0m0ACgkQJkb6MLrK
fwitjA/+Jbb/N/QzeDlps/O1l76DY/Zh46LLJ/zcEogVGBVPI2rw4R2w7Lz7nGn7
pjpmDcjq8ai28cLQk1zwhuwAHUAmnpWKwAPvKA1skhc9AAsiVd6Xr938gzOoUZwl
L01dKEcSbOmoREpYdUMLyt54Lvfe7CXxLYUH7LM6p4od67qRYi3WoW48qtDbK0ab
OnMQim6Q96Jltjqotx7yNuKE6+5iXjPLxj+QD32XLEUknE+SzFB9n17pQTRoUwJM
Bc96cLmAOJRirGlwVDM+piS6ehxnwkKmZdNmBz3Wa/Iy4Au50Wo9S6fiJsSbjDvu
flHQj2e+CC+y6E5sNCUvKD6FlTsb3D93ol0/NOQ7MMIpR3dOyq3z2xS0CJ5ePEW3
Ds/ruKBQCbmyL2g6bEo1g3iqex+lb/8izzNsyM9L3Def5BDWZeW7a/1Txj/06wKG
flBUqHBstUupEtAefXMNTSqjeanU77tEtrx/bPY2aRJ+5mSmQAr1fm8eIermE2U1
I0/tOsmTDbhf1sBCTFZ9/ipx8eFLBoyH8QrabQ3fHRCgqXENP+gCvvCdeYtSSAP9
SIwB8hlwDwXdDfA/R3Nj2aCQ3e5AZMupE+Q8u1/64mVnwMhUhQqCNhsmt1uGcAzj
e3MBmzG7n8089XANSNlFoU/GFEf53ModjIQ22cJecuSt/SJIPU4=
=6p7a
-----END PGP SIGNATURE-----

--5kTCR7zpgmgELN0A--