From: Leo Famulari <leo@famulari.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: guix weather exit status?
Date: Sat, 10 Jul 2021 18:06:28 -0400 [thread overview]
Message-ID: <YOoZ5CuoJyTqZILL@jasmine.lan> (raw)
In-Reply-To: <87r1g6b593.fsf@gnu.org>
On Sat, Jul 10, 2021 at 04:41:44PM +0200, Ludovic Courtès wrote:
> I agree we could change (or rather refine) semantics to exit with
> non-zero when overall coverage is below 100%. In the example above, it
> should return 0.
Maybe we could distinguish between various cases like this:
0 means 100% coverage
1 means a substitute is available, but not from all servers
2 means a substitute is not available
This would preserve the current meaning of 0, while still allowing `guix
weather` to be used in scripts to "wait for a substitute".
next prev parent reply other threads:[~2021-07-10 22:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-08 20:35 guix weather exit status? Leo Famulari
2021-07-10 14:41 ` Ludovic Courtès
2021-07-10 22:06 ` Leo Famulari [this message]
2021-07-11 8:40 ` zimoun
2021-07-11 13:23 ` Kaelyn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YOoZ5CuoJyTqZILL@jasmine.lan \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).