GNU bug report logs - #46619
[PATCH] Make assert-valid-graph public

Previous Next

Package: guix-patches;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Thu, 18 Feb 2021 18:21:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46619 in the body.
You can then email your comments to 46619 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46619; Package guix-patches. (Thu, 18 Feb 2021 18:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Tropin <andrew <at> trop.in>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 18 Feb 2021 18:21:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: guix-patches <at> gnu.org
Subject: Fwd: [PATCH] Make assert-valid-graph public
Date: Thu, 18 Feb 2021 21:19:54 +0300
[Message part 1 (text/plain, inline)]
I would like to reuse assert-valid-graph 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.

-- 
Best regards,
Andrew Tropin
[0001-gnu-services-shepherd-Make-assert-valid-graph-public.patch (application/x-patch, attachment)]

Changed bug title to '[PATCH] Make assert-valid-graph public' from 'Fwd: [PATCH] Make assert-valid-graph public' Request was from Andrew Tropin <andrew <at> trop.in> to control <at> debbugs.gnu.org. (Thu, 18 Feb 2021 18:25:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 03 Mar 2021 13:23:02 GMT) Full text and rfc822 format available.

Notification sent to Andrew Tropin <andrew <at> trop.in>:
bug acknowledged by developer. (Wed, 03 Mar 2021 13:23:02 GMT) Full text and rfc822 format available.

Message #12 received at 46619-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andrew Tropin <andrew <at> trop.in>
Cc: 46619-done <at> debbugs.gnu.org
Subject: Re: bug#46619: [PATCH] Make assert-valid-graph public
Date: Wed, 03 Mar 2021 14:22:32 +0100
Hi Andrew,

Andrew Tropin <andrew <at> trop.in> skribis:

> From ffc244f5845996bf4b0365024ac866c86cef81df Mon Sep 17 00:00:00 2001
> From: Andrew Tropin <andrew <at> trop.in>
> 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(-)

I added a commit log and pushed as
63bee8f0addc95c81426199c9fbf1d0bcf7f1450.

As mentioned on IRC, note that this kind of procedure doesn’t make for a
great API, which is why it’s usually kept private.  Second, if a
procedure like this one doesn’t have any user in Guix proper, it could
well be removed or changed incompatibly, so beware.

In this case, I think it’s acceptable to make it public though.

Thanks and apologies for the delay!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#46619; Package guix-patches. (Wed, 03 Mar 2021 14:41:02 GMT) Full text and rfc822 format available.

Message #15 received at 46619-done <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46619-done <at> debbugs.gnu.org
Subject: Re: bug#46619: [PATCH] Make assert-valid-graph public
Date: Wed, 3 Mar 2021 17:40:25 +0300
> As mentioned on IRC, note that this kind of procedure doesn\u2019t make for a
> great API, which is why it's usually kept private. Second, if a
> procedure like this one doesn't have any user in Guix proper, it could
> well be removed or changed incompatibly, so beware.

Took into account. Hope, it will be used by one small guix's module
someday) Plan to propose to include `guix home` in guix
repo. https://git.sr.ht/~abcdw/rde/tree/master/item/gnu

>
> In this case, I think it's acceptable to make it public though.
>
> Thanks and apologies for the delay!
>
> Ludo'.

Thank you for all your work!

-- 
Best regards,
Andrew Tropin




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Apr 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 25 days ago.

Previous Next


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