GNU bug report logs - #49548
[PATCH v2 3/4] home-services: Add home-provenance-service-type

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Andrew Tropin <andrew@HIDDEN>; Keywords: patch; merged with #49419, #49546, #49547, #49549; dated Tue, 13 Jul 2021 18:19:03 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 49419 49546 49547 49548 49549. Request was from Andrew Tropin <andrew@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jul 2021 18:18:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 13 14:18:25 2021
Received: from localhost ([127.0.0.1]:41962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m3MzA-0000U6-N9
	for submit <at> debbugs.gnu.org; Tue, 13 Jul 2021 14:18:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:40884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1m3Mz8-0000Tx-ED
 for submit <at> debbugs.gnu.org; Tue, 13 Jul 2021 14:18:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36700)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andrew@HIDDEN>) id 1m3Mz8-0004OD-8H
 for guix-patches@HIDDEN; Tue, 13 Jul 2021 14:18:22 -0400
Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:43780)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andrew@HIDDEN>) id 1m3Mz5-0007GK-RO
 for guix-patches@HIDDEN; Tue, 13 Jul 2021 14:18:22 -0400
Received: by mail-lj1-x22d.google.com with SMTP id r20so31330399ljd.10
 for <guix-patches@HIDDEN>; Tue, 13 Jul 2021 11:18:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=trop-in.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:in-reply-to:date:message-id:mime-version;
 bh=JNmk8SBqP9V9Iy5rMbBqYemUyGchx/1P+h8VkN8PBK0=;
 b=E2js3qIy2ZoH7uUQsUo8U3kd84mYbGk+nghCXldIlwyOyqmmnW+c3Yb28U40qVaPF0
 gYg2re+n167k2a/LUw9+qjpBGNCfHMfr5iU6CXzSxOMPgcuru3vWEZk06aKEU8QKfJun
 4/0CF0HrwbtVFtmGgyJSKJ5thaKoN1Mc3oLTQwiW30egFMdT4aRoje6mvlgNgMeWK5Ho
 uqWKCcxhFGSqcf/Ds90S0DI8OpHbPAnibauH5Ou/HaHUCABRyvYVmnh5nuOjihil8LFC
 9KTaM6M9Yu+4igT0uOxV5bqEedMKCduj30S+YZRKiOEE0VeLED9SxzaDoyRgscQK2KYD
 G4QQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:date:message-id
 :mime-version;
 bh=JNmk8SBqP9V9Iy5rMbBqYemUyGchx/1P+h8VkN8PBK0=;
 b=N70Lh7IeDZN7k3vsObJbwHbR2DCRrHMFVycNTtS1sXf6QT9DOY4JTd51Ip5w/tAyvx
 fhttdCHoon2ysHxT1lvvE6YC/i2M3WqfsOzGHPPeZhR9g2dLhx2oXqXgyR5RUPNIZH/6
 g0fmyuHEnZD6DPuwIzk7vR1Rzz9JdYTM2fn/0XrStIuZTtr5W1P8If0jCUwJw7BE3/eE
 JWTbOsq2vaBIAXnmsG8l37Uk8r67DXEMLt0JeFOXy+OMDUxzcx5oxspOuku8a2aoVVmm
 Dgh5Sz1A4nX2K8AYIR+x+cFe9pPhqSFuOGEAmQVc8QKJF+SGapRSgzM6cHgF7c9oxK7/
 PRxw==
X-Gm-Message-State: AOAM531C9euJZvCstKptpIXRCxtR2SxeK/lyWgmLVkZRAf8OK9XDCHgK
 Txg1zEvlkGVazuO033R7iB6hYx5LAKEbpg==
X-Google-Smtp-Source: ABdhPJwVM5lYa51rcRIPaqkIiW1UcCcCWLw0c/mX3Fmd7jf7YVY31AUVqBhyBpiIGL4YgQlAQXXR9A==
X-Received: by 2002:a2e:854e:: with SMTP id u14mr5250281ljj.466.1626200297761; 
 Tue, 13 Jul 2021 11:18:17 -0700 (PDT)
Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92])
 by smtp.gmail.com with ESMTPSA id a25sm2002746ljj.114.2021.07.13.11.18.16
 for <guix-patches@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 13 Jul 2021 11:18:17 -0700 (PDT)
From: Andrew Tropin <andrew@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH v2 3/4] home-services: Add home-provenance-service-type
In-Reply-To: <87bl76m6b7.fsf@HIDDEN>
Date: Mon, 5 Jul 2021 18:41:07 +0300
Message-ID: <871r82m66t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: none client-ip=2a00:1450:4864:20::22d;
 envelope-from=andrew@HIDDEN; helo=mail-lj1-x22d.google.com
X-Spam_score_int: 15
X-Spam_score: 1.5
X-Spam_bar: +
X-Spam_report: (1.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)


* gnu/home-services.scm (home-provenance-service-type, sexp->home-provenance,
home-provenance): New variables.
---
 gnu/home-services.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/home-services.scm b/gnu/home-services.scm
index fadad3133e..ffcee22bb8 100644
--- a/gnu/home-services.scm
+++ b/gnu/home-services.scm
@@ -38,7 +38,10 @@
 	    home-files-service-type
 	    home-run-on-first-login-service-type
             home-activation-service-type
-            home-run-on-change-service-type)
+            home-run-on-change-service-type
+            home-provenance-service-type
+
+            fold-home-service-types)
 
   #:re-export (service
 	       service-type
@@ -419,3 +422,25 @@ G-expressions to run if the specified files have changed since the
 last generation.  The extension should be a list of lists where the
 first element is the pattern for file or directory that expected to be
 changed, and the second element is the G-expression to be evaluated.")))
+
+
+;;;
+;;; Provenance tracking.
+;;;
+
+(define home-provenance-service-type
+  (service-type
+   (name 'home-provenance)
+   (extensions
+    (list (service-extension
+           home-service-type
+           (service-extension-compute
+            (first (service-type-extensions provenance-service-type))))))
+   (default-value #f)                ;the HE config file
+   (description "\
+Store provenance information about the home environment in the home
+environment itself: the channels used when building the home
+environment, and its configuration file, when available.")))
+
+(define sexp->home-provenance sexp->system-provenance)
+(define home-provenance system-provenance)
-- 
2.32.0





Acknowledgement sent to Andrew Tropin <andrew@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#49548; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 13 Jul 2021 18:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.