From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CLthIS6EEGPBMgEAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 12:06:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WEeAIS6EEGPaJQEA9RJhRA (envelope-from ) for ; Thu, 01 Sep 2022 12:06:38 +0200 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 2C6A2248EE for ; Thu, 1 Sep 2022 12:06:38 +0200 (CEST) Received: from localhost ([::1]:54282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTh5p-0001QH-26 for larch@yhetil.org; Thu, 01 Sep 2022 06:06:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTg6I-00047M-PZ for guix-patches@gnu.org; Thu, 01 Sep 2022 05:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTg6I-0005dZ-Dx for guix-patches@gnu.org; Thu, 01 Sep 2022 05:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTg6I-0008Q5-91 for guix-patches@gnu.org; Thu, 01 Sep 2022 05:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57515] [PATCH 5/8] gnu-maintenance: Simplify latest-savannah-release. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 09:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57515 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57515@debbugs.gnu.org Received: via spool by 57515-submit@debbugs.gnu.org id=B57515.166202292332224 (code B ref 57515); Thu, 01 Sep 2022 09:03:02 +0000 Received: (at 57515) by debbugs.gnu.org; 1 Sep 2022 09:02:03 +0000 Received: from localhost ([127.0.0.1]:41190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTg5L-0008NY-DU for submit@debbugs.gnu.org; Thu, 01 Sep 2022 05:02:03 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:48522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTg5G-0008MI-38 for 57515@debbugs.gnu.org; Thu, 01 Sep 2022 05:02:01 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by michel.telenet-ops.be with bizsmtp id EZ1v2800K20ykKC06Z1xpg; Thu, 01 Sep 2022 11:01:57 +0200 From: Maxime Devos Date: Thu, 1 Sep 2022 11:01:52 +0200 Message-Id: X-Mailer: git-send-email 2.37.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662022917; bh=Fi9j90kA3p+THPjRx9ru5spWvmzejwnCKdk9PgB0sUo=; h=From:To:Subject:Date:In-Reply-To:References:Reply-To; b=kqpxAAnoJo0z0IHfMSoec+PUeQtAW/TfB0f6Frm1Q1Irp542i4Jeho3zWY6p1kjwf IY2kKJq7BKt3z8/30e2k3ABTAS75gd8wpR5q8DIqIAt9RrTzFYkNaybtiTanbHPMNG mJ//96yiwBrffFCEgkZlQgKOCF9weXsIdqTpJNygsei4vY/zkjLWd6ElG4azuvy5IY J32LWyQopQFdImwRaE+ynzuL2ZLte9RICDUkb10gwcjZnz5ZVkBPbvAxkSgFU+51Xe DPyoXWg7JdvpAjV9IIzQlCkDPDciN4QQLMUitNYUEWCvIsJGXOJGyLi4DVta+y2PkY ev7qp4laGxOcQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 57515@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662026798; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Fi9j90kA3p+THPjRx9ru5spWvmzejwnCKdk9PgB0sUo=; b=FpQczKgmx9zcs9Io+HvrrxVB9rTXaZW3+oMx5GhuYAgUG4ymMirEfR0wwjg7QIWMxcEX2V /7BhMlhFUo2FuesVBCTN8alpq4KyVQWNH/zdmUouH4ScQS0WntmrD24l2AYFA0PLFxf0hk RMeAs9ZKN5HFY8IRUVV1u6h8JalYbWjbpDpn+v/uYYfWbS5xSIo3t9vj0sTrFGO/vL3D4I PR1+I31p2IrKpV6NdlkPdFeab+jJ4T/ewRkHWnZtp8/JHTvWLLidEpzT3pNkoUgOHoBowC eacJNGwfoou2NOGeURLpFAhzLsDGCCcqZtfkpOyQ72GcZEAQkBLv4+tIs9YkTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662026798; a=rsa-sha256; cv=none; b=LXUewd+k8uExi9V7n6T5xGWCVtDXjbOxbPNga3vcimSp8hWjsAZPuB1Eseu9p2j40Il4AN BUm73nyxVSuvxGPu1a/udA6U5EvPhYmvIACec3iagwvFqClVmJr3QPo/P08m6LLj+uCrCn Z5L/7+yvtpeNGPdVMBF4Ua8LNbrlIE4pHZ9qWwufYfYYpXW23xSRXKs6t5r5ujI1SQ/a5X B6nBr2s9CxV558ebMySoY9WzrXM1FBZsZn9neB9AT/zocp5ljXFvkUmGGSrSear1fC2aSB QKcbJVRmXkXEENeenhmawCrCxeo36/ntkzPIouNhnP1DjDeKSRawozBcB7vstw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=kqpxAAno; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=kqpxAAno; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2C6A2248EE X-Spam-Score: 7.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: Jnxwg+vcJsTQ As latest-html-release now produces mirror:// URIs where possible, the additional post-processing is not necessary anymore. As a test, try updating 'gash', the mirror:// URI remains. * gnu-maintenance.scm (latest-savannah-release): Do not call adjusted-upstream-source on the result. --- guix/gnu-maintenance.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm index 2f09539d5d..853ad91ea0 100644 --- a/guix/gnu-maintenance.scm +++ b/guix/gnu-maintenance.scm @@ -701,15 +701,12 @@ (define (latest-savannah-release package) ((? string? uri) uri) ((uri mirrors ...) uri)))) (package (package-upstream-name package)) - (directory (dirname (uri-path uri))) - (rewrite (url-prefix-rewrite %savannah-base - "mirror://savannah"))) + (directory (dirname (uri-path uri)))) ;; Note: We use the default 'file->signature', which adds ".sig", ".asc", ;; or whichever detached signature naming scheme PACKAGE uses. - (and=> (latest-html-release package - #:base-url %savannah-base - #:directory directory) - (cut adjusted-upstream-source <> rewrite)))) + (latest-html-release package + #:base-url %savannah-base + #:directory directory))) (define (latest-sourceforge-release package) "Return the latest release of PACKAGE." -- 2.37.2