From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yB7jNUpHLmCSXQAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 10:54:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8J3CMUpHLmB7WgAAbx9fmQ (envelope-from ) for ; Thu, 18 Feb 2021 10:54:02 +0000 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 7B7F51D15C for ; Thu, 18 Feb 2021 11:54:02 +0100 (CET) Received: from localhost ([::1]:52564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCgwb-00044h-Kz for larch@yhetil.org; Thu, 18 Feb 2021 05:54:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCggp-0004aL-G7 for guix-devel@gnu.org; Thu, 18 Feb 2021 05:37:43 -0500 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:34183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCggn-00051e-Oo for guix-devel@gnu.org; Thu, 18 Feb 2021 05:37:43 -0500 Received: by mail-lf1-x12f.google.com with SMTP id h26so5821629lfm.1 for ; Thu, 18 Feb 2021 02:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=Px8fRy4Syp/h2kwc3VozUwDSWVw+U8tYtTl0fuupw3s=; b=OiY07sNZMs8ShaAauk9GJYF66VDczlIDrOsKTAQTOQR0f9u6+lXseKLR2MbXdixCtK 4IoDlAObE5GJ+EDWQ2RDXh6l7XExR7DZc/PUA6Irp6IRwE0TDzt7rc1QwFr7UVBF7nCI yxbLWe9lRs4aMiKEYKhkGqVgbZEwk0IFogfc2ovw2UljgsLV7Sk4WHY8z/0rzrsjbkR2 CyHz9D2bH3T5F2KnMfaX/hCZUPxVu6qc907Zy4lc0AzCtvf/yeqOnAmZW13GlSnPkbuO rp8BTpOdjvnq91X2hOkqlEk++FhNaa2RiJeoOps2qYeID7RpMt5RLkqubakdXsMQ4vtj +jsw== 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:date:message-id:mime-version; bh=Px8fRy4Syp/h2kwc3VozUwDSWVw+U8tYtTl0fuupw3s=; b=i817sJ+kVnzJWTlsXCaeRR1hGvcphqUa2B92HaRfKgUzlZRcerwxE1EweMLR75dYia hXYisigLzNkQuFfPgQzOI8eaS4xNAVsYjvq9NObm5P7jcVus4oNsxgcX1/kiBF5AA+s9 15QVnPUMZA87xAVxosruG5lkShiaeEAB7/I9yfsRoOWcPXcAYNtlV0vgi9qp7qbxhBTe LiGWI8qk0oAor90jC3H2lIt2/Vgbl3HCpeh0QBXhoz9RBBZNYyjptq3cotGdk5eXO9+c nv4r2btL0I2h6rbN3sG8bNeU1nLMrcv5Hr/FAUPX6UcnmvXXg/Ve6Li0z52/LYiDDOXh fASA== X-Gm-Message-State: AOAM530k6TFWEMyF5od/4jpxvgGsuSISPSQl7gt8JRFw2zNtwO5SETDy CfdiJ3O3pDseJu1aVvehR+Mi6bcVCWSugQ== X-Google-Smtp-Source: ABdhPJxgjFR1F2DFRPfCWfMsU29Fp34zxB78ZEbRPhstW2Cb6M0H+Yb52sjMonRL3xCTT/wUJBDIPQ== X-Received: by 2002:a05:6512:6d0:: with SMTP id u16mr2087929lff.300.1613644659162; Thu, 18 Feb 2021 02:37:39 -0800 (PST) Received: from ixy (109-252-99-251.nat.spd-mgts.ru. [109.252.99.251]) by smtp.gmail.com with ESMTPSA id b12sm560148lfb.52.2021.02.18.02.37.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 02:37:38 -0800 (PST) From: Andrew Tropin To: guix-devel@gnu.org Subject: [PATCH] Make assert-valid-graph public Date: Thu, 18 Feb 2021 13:37:22 +0300 Message-ID: <87a6s14q71.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=2a00:1450:4864:20::12f; envelope-from=andrew@trop.in; helo=mail-lf1-x12f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 18 Feb 2021 05:53:52 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=OiY07sNZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7B7F51D15C X-Spam-Score: -2.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: bObKBu10gxnn --=-=-= Content-Type: text/plain I would like to reuse this function for home-shepherd-service for `guix home` I'm currently implementing. It seems reasonable to make this function public instead of copying or reimplementing it. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-services-shepherd-Make-assert-valid-graph-public.patch Content-Description: assert-valid-graph visibility patch >From ffc244f5845996bf4b0365024ac866c86cef81df Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Thu, 18 Feb 2021 13:30:22 +0300 Subject: [PATCH] gnu: services: shepherd: Make assert-valid-graph public --- gnu/services/shepherd.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm index e2ec59f5aa..38b35b6154 100644 --- a/gnu/services/shepherd.scm +++ b/gnu/services/shepherd.scm @@ -73,7 +73,9 @@ shepherd-service-back-edges shepherd-service-upgrade - user-processes-service-type)) + user-processes-service-type + + assert-valid-graph)) ;;; Commentary: ;;; -- 2.30.1 --=-=-=--