From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MGi1OQUa6mAgggAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 00:07:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qJVaNQUa6mArBwAAB5/wlQ (envelope-from ) for ; Sat, 10 Jul 2021 22:07:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C9B91D9D5 for ; Sun, 11 Jul 2021 00:07:01 +0200 (CEST) Received: from localhost ([::1]:60084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2L7k-0003MO-5a for larch@yhetil.org; Sat, 10 Jul 2021 18:07:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2L7N-0003ME-Rr for guix-devel@gnu.org; Sat, 10 Jul 2021 18:06:38 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:47611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2L7M-0006ld-Au; Sat, 10 Jul 2021 18:06:37 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 1C6E53200ABA; Sat, 10 Jul 2021 18:06:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 10 Jul 2021 18:06:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=3yGhIXRpuHcALEwYhYCtLF6iiLwKkPeTK6fVCeryyJw=; b=QIJGTqOnNRCN XIT4r5DGQGqge3d4HbgDU7rgzIkPiVr+M6n+O6REzw12Gal94MDuqrlN5Sg7ftMB RV1T12b+eMc6huXX0xFwekLjB2vxTFuRI+8UeXkLi/YWs8TLl/i0MdqBOX7cybS2 +9a6nNRadAK4hrqwaMsG8QCF/9rf/Pk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=3yGhIXRpuHcALEwYhYCtLF6iiLwKkPeTK6fVCeryy Jw=; b=XmFZtcBYhTKEJKp7b41s47B/s3nqZtPIKEkx+29H0K7yZAgdTpdQ2eITj 251XjZq+jLh/LGZgqkyioLpHf/5B2ephjj58ofmo06+EMdBjxtG3XqUhfXbRAEWD 73rMC4RdS31RMvJaixXf65VqHV79s0QnBwsidDhsCuZTHyr1hnLexS0knXJG6I4k nwHOBmyA/HJ6cQWSBCjQ1bzPPMG0QkrDUZxRpN6OWmCwZ4UYfh9ih0Vuwvr9Gkdv AgcByud8qKBUsOx7kHUyaTas2wloUQQ4rt28BoFip6s9Cweq66W/RgblM8T9+YE2 zlEn0Tg+wYYAZJorTxGvd9ai58Wfw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdelgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttddunecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeuueegudfgvdfgveeuvdeludelfeejhfeggfejtefggeekudekhfdvfeeljeeh gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 10 Jul 2021 18:06:33 -0400 (EDT) Date: Sat, 10 Jul 2021 18:06:28 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: guix weather exit status? Message-ID: References: <87r1g6b593.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r1g6b593.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.24; envelope-from=leo@famulari.name; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625954821; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3yGhIXRpuHcALEwYhYCtLF6iiLwKkPeTK6fVCeryyJw=; b=KZ/LNFm4iU6SPulm/lQM2YuU3g3h3YCGOVxBFAjvK8oa63SaVGoEBVC5XYCzu0CBAg1TFl 1py1rXxQqe59u2K+papPjath53LffBJKkG/9s5FOWr0p3XngYupEnZiYtvyBFyrWf5TOQg 5T19yTfUm7GoLuJPBwD3ggFRGa0WxB9FzRno6JzbQpYZKWUNqSFIZMx3HhcJWXb+B8iosZ ib8odODmO8zV8gZCvWj7szA3l735FNzlnhe69sauW/VUz56akYTR7k4XEc3wvDyqqjFpr3 pIc9K5mjsCKBgYBIeqtjX+3ZzPdXl0XnPdfENKBLLjrNfffY8fil8JvUtdDcuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625954821; a=rsa-sha256; cv=none; b=Zlt59se1B9d2eCFDYF8QUUYrVe7k78QHD2xAny5sWe8dqzNcs10mhcqNZFEf7sPH/PU030 nMwFc3c0fkq3+RxaAb2HmddYdjNbSBbMURhcm5IECqVV+AcjyKXRGgn7XvNqKP6ZefWVut E360Ju6jeYDTRa8sH2GZ7SXIP1Px3HZ0jI8Aizw1TQJYoNGUHzPonTpamiUIXXoPFFs9ao 4lte6WKxLGeslrv/eqpmyfs6if8JxnwjWO+et2KPD5ji3VKYZZDM3z1vL5/sKShrcOhNpA pxg9I5H3sms3oH6cgOG+Qs2l3nMkEI0CialEcIQlw4AMCHcbJhc5hMdyqkw6NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=QIJGTqOn; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=XmFZtcBY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=QIJGTqOn; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=XmFZtcBY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7C9B91D9D5 X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9hxIpgLySyO3 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".