From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 AKMKIBR3HmJM5AAAgWs5BA (envelope-from ) for ; Tue, 01 Mar 2022 20:42:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QA7VGBR3HmIUdAAAG6o9tA (envelope-from ) for ; Tue, 01 Mar 2022 20:42:12 +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 DCAD81E5E2 for ; Tue, 1 Mar 2022 20:42:11 +0100 (CET) Received: from localhost ([::1]:55454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nP8Nu-0000yQ-W7 for larch@yhetil.org; Tue, 01 Mar 2022 14:42:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nP8AE-00031I-4a for guix-patches@gnu.org; Tue, 01 Mar 2022 14:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nP8AD-0007PQ-M9 for guix-patches@gnu.org; Tue, 01 Mar 2022 14:28:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nP8AD-0006If-In for guix-patches@gnu.org; Tue, 01 Mar 2022 14:28: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: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Mar 2022 19:28:01 +0000 Resent-Message-ID: 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 Cc: 54216@debbugs.gnu.org Received: via spool by 54216-submit@debbugs.gnu.org id=B54216.164616287124197 (code B ref 54216); Tue, 01 Mar 2022 19:28:01 +0000 Received: (at 54216) by debbugs.gnu.org; 1 Mar 2022 19:27:51 +0000 Received: from localhost ([127.0.0.1]:38321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP89u-0006I4-Li for submit@debbugs.gnu.org; Tue, 01 Mar 2022 14:27:51 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:12692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP89s-0006Hp-Em for 54216@debbugs.gnu.org; Tue, 01 Mar 2022 14:27:41 -0500 Date: Tue, 01 Mar 2022 19:27:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1646162852; bh=n/gl6ztsgYPgfrptlfT6EJnvGaCguQ74jagYO9hlGgE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Pkb+ZEqv7aOn+bxsdIoF0KqlBy8D2XFMN7l1tZmLLYfi3WwvbPlZektR31mm8kCl+ Fyy8M6WBFMsNCc9jhEs86JxIFSJD6QAqKlrlXLfvtvrcFf2RxX87n4geRjZb11nInh 2azn5zKuOrtmHcJmE4RX/LJ7MGa8HlYJLNlMD3A8MnKpUfa2soJfyFBJOqWgXSHdmw I8KbC00GBeA62cw7iOcBvOUeBqn3mIMazo7pmmGskPWDAFeVl/556V8IS9Ag7GrYaB gmJlSStQzl+qe0GweNM0BwPpqCwVfVUqhcZfC9mYbwlXsON5WFnqt0ixJmXjefpcxD bktuph6/wtOrQ== From: Attila Lendvai Message-ID: In-Reply-To: <992c3326a10e0bb28491f8226ebbe84aa93ad9ca.camel@telenet.be> References: <20220301182848.26694-1-attila@lendvai.name> <20220301184517.13439-1-attila@lendvai.name> <992c3326a10e0bb28491f8226ebbe84aa93ad9ca.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-To: Attila Lendvai 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=1646163732; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=n/gl6ztsgYPgfrptlfT6EJnvGaCguQ74jagYO9hlGgE=; b=qVN8DBghrFVzuHpOHTpNEfidQPzS28dfRf82PQzLRvjlv5fa9Rydgafl5X/UrAozbyq+sC PsJe2p7d0zdRs3oGRVO/4tf9dEMwxXuku0QKivI/iNKwDycHYTzE3ciEGr8S/tPJ0S1qgw XZJgaUpbG+bu5v45jziX09B1C4BRts/BNB5CXtcTLv1dI3LJyQjXcJY1c3wD/EShkUlCnt QjpRzn28Wpa1BlQQOvvI1z2xI0BBKpufEKlrFEpaGjyizXIeh8cP9bFa7jkK7I94BOEohq 8LKwSOaS4cv6PwTl88hSPGO+HID1pJ2VS+ckSl2I92aL3GwuvW4YDEcQF/1QEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646163732; a=rsa-sha256; cv=none; b=DZ2bjgK9+v/JXo/4nHPm5jn3uNaP/HDs/tpdKNBx2uD0lKD5oaQy9tCXNQs5p/ufM8NlVe U4YtIGJLokaFeAL/DdydlXlls6Yc47ycQKLThKq/Go3LMFonuBc5lX3BlXv6KWrPjf0sqE /q55hxB53U87jdoMR4W8cf2ofmoSS9WrjwUmWK3LAiDg7eGm/mb9BvyjiCXQbEXGMiXOUp Domvt3Y/Qr937DxpH38HlXAT8MSS6aoHr6GrniBbxAisH5Oud9h4nDrtM/eDt5pX3PnntZ qOuk1P+KLoN1AO9AGv/IMzUNnquHyevuv1FpWAGEyai49FQVR0uHKJy9yh79VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=Pkb+ZEqv; 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: 0.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=Pkb+ZEqv; 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: DCAD81E5E2 X-Spam-Score: 0.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: W/9NSLr6Y+Sx > This origin record can be simplified a bit by using inheritance: > > (origin > (inherit (package-source shepherd)) > (method git-fetch) > (uri (git-reference [...])) > (sha256 [...])) > > 'inherit' is not restricted to packages, it can be used for any record > type defined with (guix records)! oh, excellent point, thanks Maxime! unfortunately, it won't help us much here, because one snippet modifies Makefile.am, while the other Makefile.in. once it's merged i'm planning to send another patch to staging that will cl= ean this up a little by building normal shepherd also from git. that patch will include this inheritance. -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- The truth cannot be told, only realized.