GNU bug report logs - #45028
[PATCH] offload: Print warning in context.

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Thu, 3 Dec 2020 19:53:01 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Julien Lepiller <julien <at> lepiller.eu>
Subject: bug#45028: closed (Re: [bug#45028] [PATCH] offload: Print warning
 in context.)
Date: Tue, 15 Dec 2020 14:06:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45028: [PATCH] offload: Print warning in context.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45028 <at> debbugs.gnu.org.

-- 
45028: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45028
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Julien Lepiller <julien <at> lepiller.eu>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 45028-done <at> debbugs.gnu.org
Subject: Re: [bug#45028] [PATCH] offload: Print warning in context.
Date: Tue, 15 Dec 2020 15:04:53 +0100
Pushed as 954e4cf6a4cc67701dff8d089e8e02861e3b36c2, thank you!

[Message part 3 (message/rfc822, inline)]
From: Julien Lepiller <julien <at> lepiller.eu>
To: guix-patches <at> gnu.org
Subject: [PATCH] offload: Print warning in context.
Date: Thu, 3 Dec 2020 20:52:37 +0100
[Message part 4 (text/plain, inline)]
Hi Guix, attached is a patch to add context to the warning about the
system field. When offloading, we get this message if we haven't
updated our machines.scm:

guix offload: warning: The 'system' field is deprecated, please use
'systems' instead.

and it's not clear what system field this message is refering to
(especially for me, since I simply re-enabled offloading after a few
months by copying my old backup machines.scm).

Now the message is:

/etc/guix/machines.scm:9:6: warning: The 'system' field is deprecated,
please use 'systems' instead.

which directs the user to the right file, and line (so if you have many
offload machines, you know where to fix).

Since the message comes from the daemon, you need to run the daemon
from your guix checkout to test the patch.
[0001-offload-Print-warning-in-context.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 211 days ago.

Previous Next


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