From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KIsqBAHh22Sn1wAASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 22:33:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CBbyAwHh22SC7gAAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 22:33:05 +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 3E519502B3 for ; Tue, 15 Aug 2023 22:33:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=mEtIu7a6; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692131584; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=p43qeTFkcjoSA9P92QJeZASVT54hZfKjyBvynj4goic=; b=SUlLmH5bdn6VcHasKOLzJ7PoSV1b09JsClmwb2enzZtZzCDByKt3rrC9B/w7bFwfkLmlGy 5WQ2ZZBwrL4Js45cCtKj6H1W4aPe2pGwqBvAUoJu1vkL2mZKBCzWMGqs/YgW6+F8LTKi0M sFmqD8+8OuP+JUZdJNS+1+NPdYujMkPqIV1n/V3ej7aS3el9jqT2dkE9dHBmo5F2uVH6WC SB8mtAlnUmUtxvTWf8hPc2t5WSyc4V2fv07220Z/wlOP/x09Lvi7491Um4Mwxgg3bpkI0/ bu8wu/xUtitraddLCHGe1D/NSAk0D0SXZXitP6tBKZhcLfJnFtiWFBFgMtVF8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=mEtIu7a6; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692131584; a=rsa-sha256; cv=none; b=XlWzfH20Ry8TM6M9KFxV8grCqM9UJI3ceYxAouIcSI/M63qCdFOrD5fJm2HOUYrvkDIL0M Ba17rlWmdzhm8JqYkQ6890nRUe5b3NoVdcj6n1ha9gQHYx3RjzcQmBayVfClui19Zzz18F OFIt9ynhXihwHe+fNOY9EKEQvLg2zAJ/BTWvUrD5Oh5PH6+ERvuWknc2s48Wmpkxirfahu K8EJxPhE8H8ZW+ZLv+g91Bz+QxD3IJCQkjqp2b3Z0AAnh17z1MTIayMglVsm4dyAp3T/7d /r3v6M86IK17ZY02k2H8gf/JmMKt9CsnRgSQlZ0M1qALbqU3CWYJHBihdYSTFg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW0i1-000555-Fi; Tue, 15 Aug 2023 16:32:09 -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 1qW0hz-00054G-Av for guix-patches@gnu.org; Tue, 15 Aug 2023 16:32:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qW0hz-0008LT-2i; Tue, 15 Aug 2023 16:32:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qW0hw-0005g8-EW; Tue, 15 Aug 2023 16:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65230] [PATCH v2 07/13] gnu-maintenance: Fix indentation. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 15 Aug 2023 20:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65230 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65230@debbugs.gnu.org Cc: Maxim Cournoyer , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 65230-submit@debbugs.gnu.org id=B65230.169213147021656 (code B ref 65230); Tue, 15 Aug 2023 20:32:04 +0000 Received: (at 65230) by debbugs.gnu.org; 15 Aug 2023 20:31:10 +0000 Received: from localhost ([127.0.0.1]:36796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0h3-0005d8-V2 for submit@debbugs.gnu.org; Tue, 15 Aug 2023 16:31:10 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:54583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0h0-0005bA-10 for 65230@debbugs.gnu.org; Tue, 15 Aug 2023 16:31:06 -0400 Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-40fd2f6bd7cso40873421cf.1 for <65230@debbugs.gnu.org>; Tue, 15 Aug 2023 13:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692131460; x=1692736260; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NChkL5OrIwj9vZ+wWHvnTwIVDB6osNDrfs6xUqJhXf0=; b=mEtIu7a6rwsniVM0gY9fRlyMkiyYi0CnxkBFDDdCT8kOoARcOup4JQdcjnxjCa3R1S 2GfeceCw5FoOsD4spauM6ODQHwN8+vIP1VyozJSTGKXUd3bicl73mnCTUOX4EX6sPDm9 E27F3vb485E2At+T/drCDeYvALxOqZ87xqWTSgx0B6ZZXCeeDHBX6OeFyp/XZVjvntR0 /c3633hG8EjnfqElVLrIsk+Q5ipa/COiBybdElp6tsBclzySIfsZSiVwtIfrJR+vTg2x LK+51cCiRyVDMy35bHppqdCxkVYjK0ecAIx0B+vMKjfMp+C5qGyINnEEjIiJA8vmhNr2 kLnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692131460; x=1692736260; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NChkL5OrIwj9vZ+wWHvnTwIVDB6osNDrfs6xUqJhXf0=; b=BSDdy+q5ztdX4hrPDWyHmUTLOPopK0FkNrS+Oo3ka9lL8qMGyMBCamKbShp6Azi3T+ IBlZcP8xXEvjNKoidIDn95fbLdX/AmXq6C7rrOyXTFp5zmCZLsgyKdroSSUnJ4afs/4A gtbxnDupJE8qBu4m3XZDmItbyyePbDESpJs68Jnbq9/mhCCl5fXohJpXyliwGs5xF6dD WyBNlMPbxDm9eTg3dQnMG2F9nYvcNtOlT0d1fHms6mDaejt+C0OqSuPSnPQJmVSH+oiJ a+wV7MoHby/g1lDOj/hA+ysyIYQspnPOHmRxt6OEsPKn20NzUGh3fqR9v/1pYgbF4t4e EVpg== X-Gm-Message-State: AOJu0YxEcmpf6IN9NwfQRUOfbBPCib7Nq7MSChcWsuDHBlN4H2uWT1UA imlgLu3x1W5wj4FN0Eza3pbsR8PwAh3l9w== X-Google-Smtp-Source: AGHT+IGS8so/tgQjixqP7gKcD0r0ZNK56nRnoT1yIBdkovVPfmKTpKhAbECW+07hCDUfWuW+cJYMuw== X-Received: by 2002:a05:622a:14b:b0:400:9c4e:2abe with SMTP id v11-20020a05622a014b00b004009c4e2abemr21010569qtw.13.1692131460257; Tue, 15 Aug 2023 13:31:00 -0700 (PDT) Received: from localhost.localdomain (dsl-148-65.b2b2c.ca. [66.158.148.65]) by smtp.gmail.com with ESMTPSA id f26-20020ac86eda000000b0040fe13251dasm4021078qtv.83.2023.08.15.13.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 13:31:00 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 15 Aug 2023 16:29:31 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <73d2f33e50141cd7bf6118f7f2db156e455294b1.1692131377.git.maxim.cournoyer@gmail.com> References: <73d2f33e50141cd7bf6118f7f2db156e455294b1.1692131377.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 3E519502B3 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.81 X-Migadu-Spam-Score: 4.81 X-TUID: 15vq0rCuqWEp * guix/gnu-maintenance.scm: Re-indent file. --- (no changes since v1) guix/gnu-maintenance.scm | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm index 2e0fc3e8ab..67abbc1c5a 100644 --- a/guix/gnu-maintenance.scm +++ b/guix/gnu-maintenance.scm @@ -578,11 +578,11 @@ (define* (import-html-release base-url package (coalesce-sources candidates)) ;; Select the most recent release and return it. (reduce (lambda (r1 r2) - (if (version>? (upstream-source-version r1) - (upstream-source-version r2)) - r1 r2)) - first - (coalesce-sources candidates))))))) + (if (version>? (upstream-source-version r1) + (upstream-source-version r2)) + r1 r2)) + first + (coalesce-sources candidates))))))) ;;; @@ -656,20 +656,20 @@ (define* (import-gnu-release package #:key (version #f)) (tarballs (filter (lambda (file) (string=? version (tarball->version file))) relevant))) - (match tarballs - (() #f) - (_ - (upstream-source - (package name) - (version version) - (urls (map (lambda (file) - (string-append "mirror://gnu/" - (string-drop file - (string-length "/gnu/")))) - ;; Sort so that the tarball with the same compression - ;; format as currently used in PACKAGE comes first. - (sort tarballs better-tarball?))) - (signature-urls (map (cut string-append <> ".sig") urls)))))))) + (match tarballs + (() #f) + (_ + (upstream-source + (package name) + (version version) + (urls (map (lambda (file) + (string-append "mirror://gnu/" + (string-drop file + (string-length "/gnu/")))) + ;; Sort so that the tarball with the same compression + ;; format as currently used in PACKAGE comes first. + (sort tarballs better-tarball?))) + (signature-urls (map (cut string-append <> ".sig") urls)))))))) (define %package-name-rx ;; Regexp for a package name, e.g., "foo-X.Y". Since TeXmacs uses -- 2.41.0