From unknown Fri Jun 20 20:07:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47158] [PATCH 0/2] scripts: weather: Provide more representative request statistics. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47158@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161581948411759 (code B ref -1); Mon, 15 Mar 2021 14:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2021 14:44:44 +0000 Received: from localhost ([127.0.0.1]:36324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLoSa-00033a-4Q for submit@debbugs.gnu.org; Mon, 15 Mar 2021 10:44:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:34722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLoSV-00033P-Lj for submit@debbugs.gnu.org; Mon, 15 Mar 2021 10:44:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLoST-0000Ac-Sk for guix-patches@gnu.org; Mon, 15 Mar 2021 10:44:39 -0400 Received: from mira.cbaines.net ([212.71.252.8]:50112) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLoSR-0007bw-7J for guix-patches@gnu.org; Mon, 15 Mar 2021 10:44:37 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id D274B27BC52 for ; Mon, 15 Mar 2021 14:44:28 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4dd1655f for ; Mon, 15 Mar 2021 14:44:27 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines Date: Mon, 15 Mar 2021 14:44:27 +0000 Message-ID: <877dm8fpdg.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Christopher Baines (2): substitutes: lookup-narinfos: Return the number of requests made. scripts: weather: Provide more representative request statistics. guix/scripts/weather.scm | 19 ++++++++++--------- guix/substitutes.scm | 15 ++++++++------- 2 files changed, 18 insertions(+), 16 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBPcstfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdSgQ//XqkTDLAOoEyvCP5k+2E1wLR2TRa8xtCw WpcTIF3QIbZ+//dPK2ho+uXT7c9hVMypjhUvR1LPCrklXjbzlQy7ABJgT8jVS5Z7 DI+eOFgyVCzjaPSHZJ6E6wZfvK9Fsk7Tvbdi3Dq22l4ZKuKIF9zJfpDUBNKN7ScD fzCE9dN8FxgLIbfM7dsoNjE4o+O6Rd41QqxhIHKa6QwiT+O27ceRSdkq+AYycMN0 YKI12M6U3GCnP9jZXYqu5GsnRXVtciLRtA2NofCawIk1vpFlBCbwVn5H5rGq5pPa W8jfaaK7XhYIHfWEg/qqKzaC/VGJQ5UsR0lwzcbSraEycFho6NHIkUs5VoPFh4pi 3vgmgGHs5l0ExWD0xluq/6gU31opWkVAK+T0m4MR5W2lb3eLjZv//oK8DsxsvDx6 9hU6sveHs9DuakhNzTZkU7nmqyY7on5xRnu2FZey3Vo0JCK/RZiy2i36I1gx2LdY asjyq9yyhGpbzx4sw2Nj0KuL3COx8BV28cuSQY4frC4R08qBcAUXqjQMhHxUREQh 66w7/186jqD8A+9jPoFg5wh5KYB3tgzShnXHmOr3na+HPBsgLtJApkkPwIsBQOv0 VpxOkVz6YqYrVYzeP/MtLqKeO3nG1Pj4hVk5QVrlWhnDOkbw+VZpCOPvVnAqx8R+ aAt2k4B89vs= =5nuq -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 20:07:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47158] [PATCH 2/2] scripts: weather: Provide more representative request statistics. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47158@debbugs.gnu.org Received: via spool by 47158-submit@debbugs.gnu.org id=B47158.161582118122557 (code B ref 47158); Mon, 15 Mar 2021 15:13:02 +0000 Received: (at 47158) by debbugs.gnu.org; 15 Mar 2021 15:13:01 +0000 Received: from localhost ([127.0.0.1]:36369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLotw-0005rl-Qx for submit@debbugs.gnu.org; Mon, 15 Mar 2021 11:13:01 -0400 Received: from mira.cbaines.net ([212.71.252.8]:60384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLotu-0005rd-PC for 47158@debbugs.gnu.org; Mon, 15 Mar 2021 11:12:59 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id EBFF527BC54 for <47158@debbugs.gnu.org>; Mon, 15 Mar 2021 15:12:57 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6cc48d4a for <47158@debbugs.gnu.org>; Mon, 15 Mar 2021 15:12:57 +0000 (UTC) From: Christopher Baines Date: Mon, 15 Mar 2021 15:12:57 +0000 Message-Id: <20210315151257.17384-2-mail@cbaines.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210315151257.17384-1-mail@cbaines.net> References: <20210315151257.17384-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Previously, the "seconds per request" and "requests per second" statistics really reported (cache lookups + requests) per second. By looking at the actual number of requests made within lookup-narinfos, a more representative value can be reported. * guix/scripts/weather.scm (let/time): Allow for multiple return values. (report-server-coverage): Alter the reporting of request statistics. --- guix/scripts/weather.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm index 26ec543211..349052459c 100644 --- a/guix/scripts/weather.scm +++ b/guix/scripts/weather.scm @@ -117,8 +117,8 @@ values." (end (current-time time-monotonic))) (apply kont (time-difference end start) result))) -(define-syntax-rule (let/time ((time result exp)) body ...) - (call-with-time (lambda () exp) (lambda (time result) body ...))) +(define-syntax-rule (let/time ((time result ... exp)) body ...) + (call-with-time (lambda () exp) (lambda (time result ...) body ...))) (define (histogram field proc seed lst) "Return an alist giving a histogram of all the values of FIELD for elements @@ -181,11 +181,12 @@ Return the coverage ratio, an exact number between 0 and 1." (format #t (G_ "looking for ~h store items on ~a...~%") (length items) server) - (let/time ((time narinfos (lookup-narinfos - server items - #:make-progress-reporter - (lambda* (total #:key url #:allow-other-keys) - (progress-reporter/bar total))))) + (let/time ((time narinfos requests-made + (lookup-narinfos + server items + #:make-progress-reporter + (lambda* (total #:key url #:allow-other-keys) + (progress-reporter/bar total))))) (format #t "~a~%" server) (let ((obtained (length narinfos)) (requested (length items)) @@ -212,9 +213,9 @@ Return the coverage ratio, an exact number between 0 and 1." (format #t (G_ " ~,1h MiB on disk (uncompressed)~%") (/ (reduce + 0 (map narinfo-size narinfos)) MiB)) (format #t (G_ " ~,3h seconds per request (~,1h seconds in total)~%") - (/ time requested 1.) time) + (/ time requests-made 1.) time) (format #t (G_ " ~,1h requests per second~%") - (/ requested time 1.)) + (/ requests-made time 1.)) (guard (c ((http-get-error? c) (if (= 404 (http-get-error-code c)) -- 2.30.1 From unknown Fri Jun 20 20:07:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47158] [PATCH 1/2] substitutes: lookup-narinfos: Return the number of requests made. References: <877dm8fpdg.fsf@cbaines.net> In-Reply-To: <877dm8fpdg.fsf@cbaines.net> Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 15:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47158@debbugs.gnu.org Received: via spool by 47158-submit@debbugs.gnu.org id=B47158.161582118322606 (code B ref 47158); Mon, 15 Mar 2021 15:14:01 +0000 Received: (at 47158) by debbugs.gnu.org; 15 Mar 2021 15:13:03 +0000 Received: from localhost ([127.0.0.1]:36372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLotz-0005sO-3g for submit@debbugs.gnu.org; Mon, 15 Mar 2021 11:13:03 -0400 Received: from mira.cbaines.net ([212.71.252.8]:60382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLotu-0005rc-Pj for 47158@debbugs.gnu.org; Mon, 15 Mar 2021 11:13:01 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id E28EC27BC52 for <47158@debbugs.gnu.org>; Mon, 15 Mar 2021 15:12:57 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ee37dd7b for <47158@debbugs.gnu.org>; Mon, 15 Mar 2021 15:12:57 +0000 (UTC) From: Christopher Baines Date: Mon, 15 Mar 2021 15:12:56 +0000 Message-Id: <20210315151257.17384-1-mail@cbaines.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) As an additional value, in addition to the narinfos. This value is useful in the weather script for reporting how many requests to the substitute server were made. * guix/substitutes.scm (lookup-narinfos): Additionally return the number of requests made. --- guix/substitutes.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/guix/substitutes.scm b/guix/substitutes.scm index ef78013659..08f8c24efd 100644 --- a/guix/substitutes.scm +++ b/guix/substitutes.scm @@ -310,13 +310,14 @@ information is available locally." '() '() paths))) - (if (null? missing) - cached - (let ((missing (fetch-narinfos cache missing - #:open-connection open-connection - #:make-progress-reporter - make-progress-reporter))) - (append cached (or missing '())))))) + (values (if (null? missing) + cached + (let ((missing (fetch-narinfos cache missing + #:open-connection open-connection + #:make-progress-reporter + make-progress-reporter))) + (append cached (or missing '())))) + (length missing)))) (define* (lookup-narinfos/diverse caches paths authorized? #:key (open-connection -- 2.30.1 From unknown Fri Jun 20 20:07:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47158] [PATCH 0/2] scripts: weather: Provide more representative request statistics. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Mar 2021 10:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 47158@debbugs.gnu.org Received: via spool by 47158-submit@debbugs.gnu.org id=B47158.161597857728141 (code B ref 47158); Wed, 17 Mar 2021 10:57:01 +0000 Received: (at 47158) by debbugs.gnu.org; 17 Mar 2021 10:56:17 +0000 Received: from localhost ([127.0.0.1]:42150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTqa-0007Jo-La for submit@debbugs.gnu.org; Wed, 17 Mar 2021 06:56:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTqW-0007JZ-N0 for 47158@debbugs.gnu.org; Wed, 17 Mar 2021 06:56:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33269) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMTqR-0002SW-5E; Wed, 17 Mar 2021 06:56:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45792 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMTqQ-00057N-EP; Wed, 17 Mar 2021 06:56:06 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <877dm8fpdg.fsf@cbaines.net> Date: Wed, 17 Mar 2021 11:56:04 +0100 In-Reply-To: <877dm8fpdg.fsf@cbaines.net> (Christopher Baines's message of "Mon, 15 Mar 2021 14:44:27 +0000") Message-ID: <874kha59rv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Christopher Baines skribis: > Christopher Baines (2): > substitutes: lookup-narinfos: Return the number of requests made. > scripts: weather: Provide more representative request statistics. > > guix/scripts/weather.scm | 19 ++++++++++--------- > guix/substitutes.scm | 15 ++++++++------- > 2 files changed, 18 insertions(+), 16 deletions(-) LGTM, thanks! This had been bothering me for some time, I=E2=80=99m glad this is fixed! Ludo=E2=80=99. From unknown Fri Jun 20 20:07:29 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#47158: closed (Re: bug#47158: [PATCH 0/2] scripts: weather: Provide more representative request statistics.) Message-ID: References: <87wnu5crbb.fsf@cbaines.net> <877dm8fpdg.fsf@cbaines.net> X-Gnu-PR-Message: they-closed 47158 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 47158@debbugs.gnu.org Date: Wed, 17 Mar 2021 23:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1616022482-3053-1" This is a multi-part message in MIME format... ------------=_1616022482-3053-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47158: [PATCH 0/2] scripts: weather: Provide more representative request s= tatistics. 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 47158@debbugs.gnu.org. --=20 47158: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47158 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1616022482-3053-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47158-done) by debbugs.gnu.org; 17 Mar 2021 23:07:49 +0000 Received: from localhost ([127.0.0.1]:44403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMfGX-0000mk-8q for submit@debbugs.gnu.org; Wed, 17 Mar 2021 19:07:49 -0400 Received: from mira.cbaines.net ([212.71.252.8]:54566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMfGT-0000mZ-Sr for 47158-done@debbugs.gnu.org; Wed, 17 Mar 2021 19:07:47 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id D971127BC55; Wed, 17 Mar 2021 23:07:44 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 04b80129; Wed, 17 Mar 2021 23:07:44 +0000 (UTC) References: <877dm8fpdg.fsf@cbaines.net> <874kha59rv.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#47158: [PATCH 0/2] scripts: weather: Provide more representative request statistics. In-reply-to: <874kha59rv.fsf@gnu.org> Date: Wed, 17 Mar 2021 23:07:36 +0000 Message-ID: <87wnu5crbb.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47158-done Cc: 47158-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Christopher Baines skribis: > >> Christopher Baines (2): >> substitutes: lookup-narinfos: Return the number of requests made. >> scripts: weather: Provide more representative request statistics. >> >> guix/scripts/weather.scm | 19 ++++++++++--------- >> guix/substitutes.scm | 15 ++++++++------- >> 2 files changed, 18 insertions(+), 16 deletions(-) > > LGTM, thanks! > > This had been bothering me for some time, I=E2=80=99m glad this is fixed! Great, I've pushed this as c37f78a9f55874015d10f081be36104bb33a3ae1. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBSi7hfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xc1AxAAlYYjUVZN8PsREfhFd5JNYB3QqztwTn7X rY5WWUjnEQSOda1uus37c+7l2U1yHC4R9elpouBJQGrz6oSW4mje3s6GBo30EWRW UB3XQWQFCerJtVxvIUXUBpvrI45+Ty4ohy8myfcSVinSF87MabY2EMDuXyUgFyk0 dR/wqmFhdbURbtGUP/zVMH29k3JcoPTok/jad3LqwMaXK4f8W0dFevSp1Df7JzIw GyQERadJ4L17LiCBhsjj5ZCn6xGxOzCH4tI5Z9VXz2jzwovqnhAs0Mm+dtcUs/6Z YDY2LQ53ijYcSedbr4h8STKtK6vDodKK810yJW5x34cRXWWQq79SEa4DttE8iuBF T7fHtc/aEPSmV4ZHsd+7la2cbB2H8nc+YLvTUlWvxO0Yok5v+O629tQ8QLeNM1LI dljJNVW4Gw3c8A4MOUC0VwiSEZ3C+svmOYXFz2+1qNMC4MfVUUDxmJOr1hsOVBv+ rNnaD17EFy4xKOedkqP6EMKKMreCcj5D5ghJkc9aGh7V1BEBmTx6hdMsAeJNZ3cp OwxmRS59wYvTCLo8AmMziPM4bHt0MkcayaJTkWnByhwSREZLa7kr3c2jn3tKHcA9 fvTMRsytNIxNzS8lx2ryD0mjaliPe++5Q8obFbbgmJQzN0i0rOt5ZzYEof/sZw1T HJa8/h3Z0hU= =aoRG -----END PGP SIGNATURE----- --=-=-=-- ------------=_1616022482-3053-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Mar 2021 14:44:44 +0000 Received: from localhost ([127.0.0.1]:36324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLoSa-00033a-4Q for submit@debbugs.gnu.org; Mon, 15 Mar 2021 10:44:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:34722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLoSV-00033P-Lj for submit@debbugs.gnu.org; Mon, 15 Mar 2021 10:44:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLoST-0000Ac-Sk for guix-patches@gnu.org; Mon, 15 Mar 2021 10:44:39 -0400 Received: from mira.cbaines.net ([212.71.252.8]:50112) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLoSR-0007bw-7J for guix-patches@gnu.org; Mon, 15 Mar 2021 10:44:37 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id D274B27BC52 for ; Mon, 15 Mar 2021 14:44:28 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4dd1655f for ; Mon, 15 Mar 2021 14:44:27 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH 0/2] scripts: weather: Provide more representative request statistics. Date: Mon, 15 Mar 2021 14:44:27 +0000 Message-ID: <877dm8fpdg.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Christopher Baines (2): substitutes: lookup-narinfos: Return the number of requests made. scripts: weather: Provide more representative request statistics. guix/scripts/weather.scm | 19 ++++++++++--------- guix/substitutes.scm | 15 ++++++++------- 2 files changed, 18 insertions(+), 16 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBPcstfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdSgQ//XqkTDLAOoEyvCP5k+2E1wLR2TRa8xtCw WpcTIF3QIbZ+//dPK2ho+uXT7c9hVMypjhUvR1LPCrklXjbzlQy7ABJgT8jVS5Z7 DI+eOFgyVCzjaPSHZJ6E6wZfvK9Fsk7Tvbdi3Dq22l4ZKuKIF9zJfpDUBNKN7ScD fzCE9dN8FxgLIbfM7dsoNjE4o+O6Rd41QqxhIHKa6QwiT+O27ceRSdkq+AYycMN0 YKI12M6U3GCnP9jZXYqu5GsnRXVtciLRtA2NofCawIk1vpFlBCbwVn5H5rGq5pPa W8jfaaK7XhYIHfWEg/qqKzaC/VGJQ5UsR0lwzcbSraEycFho6NHIkUs5VoPFh4pi 3vgmgGHs5l0ExWD0xluq/6gU31opWkVAK+T0m4MR5W2lb3eLjZv//oK8DsxsvDx6 9hU6sveHs9DuakhNzTZkU7nmqyY7on5xRnu2FZey3Vo0JCK/RZiy2i36I1gx2LdY asjyq9yyhGpbzx4sw2Nj0KuL3COx8BV28cuSQY4frC4R08qBcAUXqjQMhHxUREQh 66w7/186jqD8A+9jPoFg5wh5KYB3tgzShnXHmOr3na+HPBsgLtJApkkPwIsBQOv0 VpxOkVz6YqYrVYzeP/MtLqKeO3nG1Pj4hVk5QVrlWhnDOkbw+VZpCOPvVnAqx8R+ aAt2k4B89vs= =5nuq -----END PGP SIGNATURE----- --=-=-=-- ------------=_1616022482-3053-1--