From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 05:45:21 2023 Received: (at submit) by debbugs.gnu.org; 12 May 2023 09:45:21 +0000 Received: from localhost ([127.0.0.1]:54089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxPKz-00044U-52 for submit@debbugs.gnu.org; Fri, 12 May 2023 05:45:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:52518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxPKw-00044K-Rg for submit@debbugs.gnu.org; Fri, 12 May 2023 05:45:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxPKw-0002Wl-Ad for guix-patches@gnu.org; Fri, 12 May 2023 05:45:18 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxPKr-00025x-FT for guix-patches@gnu.org; Fri, 12 May 2023 05:45:18 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3079b59230eso777695f8f.1 for ; Fri, 12 May 2023 02:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683884712; x=1686476712; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=j0g0V8R5xnvYgiYW4AEIEA0EzzEzYdplAIpl+Rip5Bk=; b=TvpWERo5QQK8bUCBsW/ryrf75b9k6G9t3OOLSaOmKD/NyXeTBTEWuUXLDaE78QIJFi eDWf2f1CDp6uQ2/D8X3asYOykU0DTCEVX7mIF3QFZg7PWeeFS11MbXs0sBzu4lkTh506 32dwH/rORPAf2TxOcbKXmIWAvx01YLApmRejPYH3+M7G9FLdBS9PeX/CUixl2bWuQh3v asePWpP6zLgLJwhFJSZJFYVBQn7xMwIZ/fyEXhvSp0ZWOokZUqhZnRv3cQfSF0LSqiIl dPQjHGcZIS5b1bni6kq/5+my1dZxvAYjmBMi9QSZ+Fdm2DjkIlJ18aP93Xa+xvY7dL8v dkMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683884712; x=1686476712; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j0g0V8R5xnvYgiYW4AEIEA0EzzEzYdplAIpl+Rip5Bk=; b=G+lJa7MNrqkgsVD57KjrIPtQ0YeHP+eVOxfTeT6YAtwUo4sAQzxd18vYb70peXqnVd TvrNKailwIwfnS3Td3J0FLATObLttCTgtThmoqpdmXRoq7rhYuf1wbnAHM2mwWOvBqFU HDAnSTyAe05ltowUdfcNZB4lBjxxTzEWKloftxMK+hyS7ROWvjya3Rw3zcEkKMBskOsM xGbr8LjOLfjicEwLEtd+VrRChs1El6AhnnjS57OnErmjb8X5U+VfF1o8Bdv3Q1wWyNNO 9lTzc61XmI7tT45yxLYrPEr3CEF4N78v2CfCAi8zFjRz8ZKhC97Z95eozuVkDSQ/oBf8 MaxA== X-Gm-Message-State: AC+VfDwg9YD4InwWTPo9dNqoZ+lPsjjxlfiK5v88jbunSOeqcA3CPNla lhEP9y7/aHcKfbpz5YfoeG9XBWTpK8Y= X-Google-Smtp-Source: ACHHUZ6pA/DJRB6spZE4OXZicMsAGLUTEIvFZTLTMWtEWe/z0j9oNPMxyyrKFyRV77fBOtyevuQ+PA== X-Received: by 2002:a5d:67c6:0:b0:2f9:12ae:4a29 with SMTP id n6-20020a5d67c6000000b002f912ae4a29mr15425286wrw.5.1683884711912; Fri, 12 May 2023 02:45:11 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s2-20020a5d4ec2000000b003063a92bbf5sm23050711wrv.70.2023.05.12.02.45.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 02:45:11 -0700 (PDT) From: Simon Tournier To: guix-patches@gnu.org Subject: [PATCH maintenance] hydra: build-package-metadata: Update fields in sources.json. Date: Fri, 12 May 2023 11:45:04 +0200 Message-Id: <20230512094504.2675076-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Simon Tournier 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.3 (--) This format had been discussed in . * hydra/build-package-metadata.scm (origin->json)[resolve]: Add the fields 'outputHashAlgo' and 'outputHashMode'. --- hydra/build-package-metadata.scm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/hydra/build-package-metadata.scm b/hydra/build-package-metadata.scm index 1ddb409..d110d4d 100755 --- a/hydra/build-package-metadata.scm +++ b/hydra/build-package-metadata.scm @@ -1,7 +1,7 @@ #!/usr/bin/env -S guix repl -- !# ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020, 2021 Simon Tournier +;;; Copyright © 2020, 2021, 2023 Simon Tournier ;;; Copyright © 2023 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. @@ -160,13 +160,23 @@ superseded packages." (else '())) ,@(if (or (eq? url-fetch method) (eq? url-fetch/tarbomb method) - (eq? url-fetch/zipbomb method)) + (eq? url-fetch/zipbomb method) + (eq? git-fetch method) + (eq? svn-fetch method) + (eq? svn-multi-fetch method) + (eq? hg-fetch method)) (let* ((content-hash (origin-hash origin)) (hash-value (content-hash-value content-hash)) (hash-algorithm (content-hash-algorithm content-hash)) (algorithm-string (symbol->string hash-algorithm))) `(("integrity" . ,(string-append algorithm-string "-" - (base64-encode hash-value))))) + (base64-encode hash-value))) + ("outputHashAlgo" . ,algorithm-string) + ("outputHashMode" . ,(if (or (eq? url-fetch method) + (eq? url-fetch/tarbomb method) + (eq? url-fetch/zipbomb method)) + "flat" + "recursive")))) '()) ,@(if (eq? method git-fetch) `(("git_ref" . ,(git-reference-commit uri))) base-commit: 5a6b8cd7286d1c8906beaa35ebba6eff5bae3a79 -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 07:47:51 2023 Received: (at 63462) by debbugs.gnu.org; 12 May 2023 11:47:51 +0000 Received: from localhost ([127.0.0.1]:54222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxRFW-0001h5-KT for submit@debbugs.gnu.org; Fri, 12 May 2023 07:47:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxRFU-0001gJ-V7 for 63462@debbugs.gnu.org; Fri, 12 May 2023 07:47:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxRFP-0007zI-K0; Fri, 12 May 2023 07:47:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=iIMcVFJsglUSIWm949jkvu6VegKGvwCw8POMJe5FlJQ=; b=N9iA1hdET8N/D4maXX9e SsHPHCK+Mh0woTNytXV+HSfOrsPlR04QpkIGWcdLqGzpCn0hYGnUzn6TiGZa300o3QYre2V6SRR3W aif2m5XZqmuCdi81L2upVD9uPhoHhpdMVQ6U2/FgEeIPty2QHBsUhqo63c1VbDfXy5UsVL6GEaV7t K8fnLajbHj6H94oBTg2CQafgnAOEcCgzPhxKV+dU8puzpy3frb2asKdoy6/KlGvW1EEUo7axaz5bJ TsCIFM3Ztze7JbPW+P/H3V2v8H6zmYfNEOrO7LXhRg4vPyiQQyFO+GRuK9z/PXzMpvRf59MTX60/f 3Ds5BVclDJQ01Q==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxRFP-0005lh-77; Fri, 12 May 2023 07:47:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#63462: [PATCH maintenance] hydra: build-package-metadata: Update fields in sources.json. References: <20230512094504.2675076-1-zimon.toutoune@gmail.com> Date: Fri, 12 May 2023 13:47:40 +0200 In-Reply-To: <20230512094504.2675076-1-zimon.toutoune@gmail.com> (Simon Tournier's message of "Fri, 12 May 2023 11:45:04 +0200") Message-ID: <874joh3h5v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63462 Cc: 63462@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: -3.3 (---) Hi, Simon Tournier skribis: > This format had been discussed in > . > > * hydra/build-package-metadata.scm (origin->json)[resolve]: Add the fields > 'outputHashAlgo' and 'outputHashMode'. Neat, thanks for the update! (I pushed it on your behalf because you=E2=80= =99re not currently authorized in maintenance.git; please email guix-sysadmin if you=E2=80=99d like to be there.) > `(("integrity" . ,(string-append algorithm-string "-" > - (base64-encode hash-va= lue))))) > + (base64-encode hash-va= lue))) > + ("outputHashAlgo" . ,algorithm-string) > + ("outputHashMode" . ,(if (or (eq? url-fetch method) > + (eq? url-fetch/tarbomb m= ethod) > + (eq? url-fetch/zipbomb m= ethod)) > + "flat" > + "recursive")))) I wish they had opted for something more expressive (and also with a more meaningful name :-)) than =E2=80=98outputHashMode=E2=80=99, similar to= what you did for =E2=80=98guix hash -S=E2=80=99. But anyway, it does the job! It looks like SWH will be storing nar hashes; will there be endpoints to query directories by nar hash? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 07:48:00 2023 Received: (at control) by debbugs.gnu.org; 12 May 2023 11:48:00 +0000 Received: from localhost ([127.0.0.1]:54226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxRFg-0001iF-5U for submit@debbugs.gnu.org; Fri, 12 May 2023 07:48:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxRFd-0001hP-R6 for control@debbugs.gnu.org; Fri, 12 May 2023 07:47:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxRFY-00083Q-KF for control@debbugs.gnu.org; Fri, 12 May 2023 07:47:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=JkTTgUxL6/mXXeZ8PapFslWNGYYitZm/JbhQoKtmEUc=; b=FemkGbevJraax8 V6xrxxacESfOntsWYnzmzPG/kdKFuAlwXIYACkYCm7uLfHxeiboIeypN2DQIWtChgLCHCCVOlxZDf 7dzSQQtOF6OzCawSK5wm0B3L/ER6SBLMGBD9VQ38CjuSjn/iyG5582WusEMGkI5CKxshrAsq4A31O wTvzg/B8QrBEA7qOYaecMoeB+2SqnVQMW35ywh0rtWI/mdbeSrIgaq/Dg2BQ9K7mm94m93IGhtQ1i xW7szeUhwNfTxR3v+9ReKDIpBR73E4C6mz/8DwKP8oXzDXRQFGNeZcdUTHfSzD4uJQUQAHg9PC8Wz 8CXBriHiRZCSLgOJkndw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxRFY-0005lr-7U for control@debbugs.gnu.org; Fri, 12 May 2023 07:47:52 -0400 Date: Fri, 12 May 2023 13:47:49 +0200 Message-Id: <8735413h5m.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #63462 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) close 63462 quit From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 12:10:40 2023 Received: (at 63462) by debbugs.gnu.org; 12 May 2023 16:10:40 +0000 Received: from localhost ([127.0.0.1]:60647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxVLr-0006u5-PR for submit@debbugs.gnu.org; Fri, 12 May 2023 12:10:40 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:41362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxVLp-0006tn-OY for 63462@debbugs.gnu.org; Fri, 12 May 2023 12:10:38 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-3f475364065so7335235e9.1 for <63462@debbugs.gnu.org>; Fri, 12 May 2023 09:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683907832; x=1686499832; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WyVd6gogZoe5ViG38gOOW7oNmn8OKYDH1q4vUq9Sdu8=; b=eTARl33Yta85Q1fGjW3/+M9Hjs1oZU7YZk1W25tOjt+tRor2dW8kvFvGtM8l6XNyYK Gp24ZZcqCI5tEM/ospZ96IQAeYqS/N3dk5yYFT5tDHGd6edjgQRwMIadARETd9d7rff9 aQb1G61kcsf/1voJZlJykd6IMqZFYFFmxdNkbOFpSChJor9Jc2LASVZcbO3ufCnBmEBm WoWqyzbws5Kavkl05Qa/kARSZOodUwEGBSOg2sSYc6zyR0yJEQbZBITRxqB1Sf82J7qI j2+KD/fncj4J1TOoIiMWY6kqJRkSOXJkKfn3SCcUPdsv2n3YQOBGGnyrOug1x0VAF0tk yMKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683907832; x=1686499832; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WyVd6gogZoe5ViG38gOOW7oNmn8OKYDH1q4vUq9Sdu8=; b=XVmmeSuf6N2mwvAMkCU0gA5aNy6xYxyvKzjRsCErVmgeTYfQcCw/Kew+gnc577OBkN xa3Uzl2BhglleHzMQCDbug2I7K9YCkkuDMUT6ertVsFLR95u/emGw4KaLKkQyblaQNjw g4dsptydM+l1uCwIsbqUEpqv/7ztkFZAcoHd78cfRHoXK65pwyQjomgrahyC8MbreGso nKOpvRedsvDrJ5dYds+MhPInmYYYYtUdp1nprwCezRUfmq6JjXIW2JHHDm5Vge/Ie2Bn bJ3W2IoWaWXMWqvW20FUISglzas7KeGsqDHvuG9mr+US39eGOBtUonteeKrBFAY0XNIJ 9pFg== X-Gm-Message-State: AC+VfDw5tUIKFisiapRNFs4Yjks9hCMyUWE4IB8K3Sylhg5K6QbChDnk Itm1dMCzLtCOiVe+12LjgNXkmuaSmCI= X-Google-Smtp-Source: ACHHUZ5P3kd9/ZGcbU0Wl/QvuwUW6gdUKCvYtECAWOKtpVF4eEgLBoF5yArpzoGp0EWCzEz00jMj2g== X-Received: by 2002:a05:600c:3592:b0:3f4:fa4c:a7a4 with SMTP id p18-20020a05600c359200b003f4fa4ca7a4mr839625wmq.2.1683907831541; Fri, 12 May 2023 09:10:31 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id 2-20020a05600c22c200b003f42328b5d9sm17031548wmg.39.2023.05.12.09.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 09:10:30 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#63462] [PATCH maintenance] hydra: build-package-metadata: Update fields in sources.json. In-Reply-To: <874joh3h5v.fsf@gnu.org> References: <20230512094504.2675076-1-zimon.toutoune@gmail.com> <874joh3h5v.fsf@gnu.org> Date: Fri, 12 May 2023 14:12:17 +0200 Message-ID: <87fs8121ge.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On ven., 12 mai 2023 at 13:47, Ludovic Courtès wrote: > (I pushed it on your behalf because you’re > not currently authorized in maintenance.git; please email guix-sysadmin > if you’d like to be there.) Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.47 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.47 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 63462 Cc: 63462@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: 0.1 (/) Hi, On ven., 12 mai 2023 at 13:47, Ludovic Court=C3=A8s wrote: > (I pushed it on your behalf because you=E2= =80=99re > not currently authorized in maintenance.git; please email guix-sysadmin > if you=E2=80=99d like to be there.) Ok, I will. > I wish they had opted for something more expressive (and also with a > more meaningful name :-)) than =E2=80=98outputHashMode=E2=80=99, similar = to what you did > for =E2=80=98guix hash -S=E2=80=99. But anyway, it does the job! Well, I am biased. ;-) Another poor naming inherited from Nix [1]. :-) 1: https://nixos.org/manual/nix/stable/language/advanced-attributes.html > It looks like SWH will be storing nar hashes; will there be endpoints to > query directories by nar hash? This is still ongoing. IIUC, it=E2=80=99s the last item of SWH issue #4868= [2]. 2: https://gitlab.softwareheritage.org/swh/infra/sysadm-environment/-/issue= s/4868 Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Wed May 24 10:33:09 2023 Received: (at 63462) by debbugs.gnu.org; 24 May 2023 14:33:09 +0000 Received: from localhost ([127.0.0.1]:44292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1pY5-0003YA-H5 for submit@debbugs.gnu.org; Wed, 24 May 2023 10:33:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1pY1-0003Xd-L6 for 63462@debbugs.gnu.org; Wed, 24 May 2023 10:33:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1pXw-0006nx-Dn; Wed, 24 May 2023 10:33:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=5EBj1u4wlRYKE1o+S0aRPeRqvlX9ZBgb0qVRAcY9Y2g=; b=oUsxpKX8YPJWoZt3DnuG Xz5WAOZ+YxWl3uquDqlcfJ3vnIXa1Kht5BxQfCA26u8uqzD6eMcpHnBLKEjI66i5rbQm4FTN9ij2H dnCcLGG+4zFaB+qSQD3BSAYbHULLfNc0a4fACucMUC5J6ui8+a7h5C3y+ol3OTGwrGVM2Jp0KqhEo ZYtYZmXOl4pNVXqIrA4xurke9IYg1cOP5PH9ijioS1TTH2SVPKwnsT3IknBBeO3lxb35uo9KJVpPN sLGgXffq1EdoGWCDK/Z8rwINq0lU6GhjYh9oiDY1UGY6mSI4zegLPAbPDMe5Gb+1BaFqZN8mDX3CD NDf8dOUvqC9Kmw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1pXu-00062E-Lm; Wed, 24 May 2023 10:32:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: [bug#63462] [PATCH maintenance] hydra: build-package-metadata: Update fields in sources.json. References: <20230512094504.2675076-1-zimon.toutoune@gmail.com> <874joh3h5v.fsf@gnu.org> <87fs8121ge.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Prairial an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Canard X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 24 May 2023 16:32:56 +0200 In-Reply-To: <87fs8121ge.fsf@gmail.com> (Simon Tournier's message of "Fri, 12 May 2023 14:12:17 +0200") Message-ID: <87v8ghkdev.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63462 Cc: 63462@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: -3.3 (---) Hi, Simon Tournier skribis: > On ven., 12 mai 2023 at 13:47, Ludovic Court=C3=A8s wrote: [...] >> I wish they had opted for something more expressive (and also with a >> more meaningful name :-)) than =E2=80=98outputHashMode=E2=80=99, similar= to what you did >> for =E2=80=98guix hash -S=E2=80=99. But anyway, it does the job! > > Well, I am biased. ;-) Another poor naming inherited from Nix [1]. :-) Yeah. BTW, I=E2=80=99ve restarted the relevant mcron job and it=E2=80=99s rolling= out now: --8<---------------cut here---------------start------------->8--- $ wget -qO- https://guix.gnu.org/sources.json |jq |grep output[A-Z] | head "outputHashAlgo": "sha256", "outputHashMode": "flat" "outputHashAlgo": "sha256", "outputHashMode": "flat" "outputHashAlgo": "sha256", "outputHashMode": "recursive", "outputHashAlgo": "sha256", "outputHashMode": "flat" "outputHashAlgo": "sha256", "outputHashMode": "flat" --8<---------------cut here---------------end--------------->8--- >> It looks like SWH will be storing nar hashes; will there be endpoints to >> query directories by nar hash? > > This is still ongoing. IIUC, it=E2=80=99s the last item of SWH issue #48= 68 [2]. > > 2: https://gitlab.softwareheritage.org/swh/infra/sysadm-environment/-/iss= ues/4868 Nice! Ludo=E2=80=99. From unknown Thu Sep 11 06:07:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Jun 2023 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator