GNU bug report logs - #77109
[feature] [shepherd] Accept multiple services for actions

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Wed, 19 Mar 2025 06:04:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Tomas Volf <~@wolfsden.cz>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 77109 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: bug#77109: [feature] [shepherd] Accept multiple services for actions
Date: Fri, 21 Mar 2025 11:05:15 +0100
Actually, now that I think about it, why are formal arguments for the
restart lambda `(running . args)'?  For example status has just `(_)'.
Neither `running' nor `args' are used in the lambda itself.

Changing the formal arguments to simply _ would get us the same behavior
you get when you try to invoke e.g. status action with multiple
arguments (an error).

Ludovic, any opinions here?

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




This bug report was last modified 82 days ago.

Previous Next


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