[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix weather exit status?
From: |
Leo Famulari |
Subject: |
Re: guix weather exit status? |
Date: |
Sat, 10 Jul 2021 18:06:28 -0400 |
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".