From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QJ6BIoeB1mTxlgAASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 20:44:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aOqVIYeB1mTMhAAAG6o9tA (envelope-from ) for ; Fri, 11 Aug 2023 20:44:23 +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 0B91D30C0B for ; Fri, 11 Aug 2023 20:44:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LuUjKfjE; 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=1691779463; a=rsa-sha256; cv=none; b=il8Dbbq3hdsj6BA/riXWGauLPcSyB+bY8Yk4YKz2zsiJe2u3CIUjVGYIJGK1OGptnAuQPr 3XSzoTWH+Jq45EkU29mFPl39UmD+dVjrn4MIJPwYyeFWAHR12rN277gn8Wk4eYqoURQZOj 6jC5gBgNY6in7OXqf9hU/JsWN3xQHhbV+ZIjkkpu1Anl/n+o0uxJ6HyMSi6WPLKodV6lL9 PsaF55XCFR4bunN19IuXCpa/G5nFsy1wujErNVnVREm66QNlI566dTJOahy4eTPpEawoL6 t1qofR9lpajt9T5rm7T5r+cSx5COQIEaYlb7ups5yN4GrkYyiEbWkyeFroAOpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691779463; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4xTdONQWOVi8XONSRzfO8yYMdEbbHUZwrzKvIUnlfeo=; b=Yf3TPXIlRuZHn7j0xqg/0ydD6Pi52URG/Mq4V4uNNxihzHn5IF5/ynnN3UB7mKWqRUy7mH F0G6ORTTmVAx7BG2B+qoMkMTcebpuVc44+hemKEu/TyrS88ZMO+3kswOE4S1RqQvF8YSXb vdByimgqpH5gMLPO3ItdbKMvhLcXLxLaTpB8dOoMuZp5/+B9TLwPD1dyX5GrO0pjl6vL6z EOHf1cPaqpgryH5rpfMoNd/+9XOkJSAk0D7MHMNe7uwJJxvi9FfBc2s3wml7kylIDUkH/l 7Gb9UvG4rh3aVi9W/MmcE2pBEgYYAq6RuVcKwN7czYd5Y0uL6bRo1GndN2EWfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LuUjKfjE; 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) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUX7M-00034Z-Lr; Fri, 11 Aug 2023 14:44:12 -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 1qUX7K-00034L-7m for guix-patches@gnu.org; Fri, 11 Aug 2023 14:44:10 -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 1qUX7H-0007Yq-GO; Fri, 11 Aug 2023 14:44:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUX7C-0007Zz-Ff; Fri, 11 Aug 2023 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65230] [PATCH 00/13] Fix 'guix refresh' for Qt and other packages 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: Fri, 11 Aug 2023 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65230 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65230@debbugs.gnu.org, maxim.cournoyer@gmail.com Cc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org, maxim.cournoyer@gmail.com 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 submit@debbugs.gnu.org id=B.169177940329079 (code B ref -1); Fri, 11 Aug 2023 18:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2023 18:43:23 +0000 Received: from localhost ([127.0.0.1]:47960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUX6Z-0007Yw-3Z for submit@debbugs.gnu.org; Fri, 11 Aug 2023 14:43:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUX6X-0007Yh-1V for submit@debbugs.gnu.org; Fri, 11 Aug 2023 14:43:21 -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 1qUX6P-0002wH-Dg for guix-patches@gnu.org; Fri, 11 Aug 2023 14:43:13 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUX6N-0007QH-Vm for guix-patches@gnu.org; Fri, 11 Aug 2023 14:43:13 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-640c5df2e6eso10595856d6.1 for ; Fri, 11 Aug 2023 11:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691779389; x=1692384189; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=4xTdONQWOVi8XONSRzfO8yYMdEbbHUZwrzKvIUnlfeo=; b=LuUjKfjE3P3zjoyUyXbF2OXhL1M/9Tn+olKzAUB06XAo2BTjf8J6ao4cya1sbPs1ku YGB5qcdjkIReGEkFlS6V5lPNPLcvowgJm5I0uWMa/fn9uz6IpbgKhC6F2m1V6vevltzp lYMv+xKrFUgqPc6x4qpDPNIuTf6YZnCS+0RQF+RLF+DLwATaEKgeDsv3L1t8qBP27kem IseLw6QF21K5HVed4zzDI8kTFeoegRQuG4DKvVy0EFZi2s+LgKsNMOLmqya4xjvyrIU2 ZO1zZ1XNIJuB3rnUTD/obPFd9/4QBrIIN58Xd/+cTR8x3y70pMLXAg8IEhuLMOzUucF1 bhpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691779389; x=1692384189; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4xTdONQWOVi8XONSRzfO8yYMdEbbHUZwrzKvIUnlfeo=; b=CoA/k4jMe5FJXascmMhACl5xLCatZUd3PRLvTvyrc+BAQDUqvszmZv0f5MLOQ6+A6U 88Q2r8wsBJB9mMPSdAyPQ0XwTOMfb8obn0ZJLkG3u3C2iD7ioOJC2ozpq8XgY4YZrnep iBMtWU4miX9n2+a3+tNDSthYVzhnYR1erXsHzz+DNutBdSo15+CyUxwReqQ84+bGZkmx sqk/cunkxFhR+i+7UHxy0oYAbZwlrzQeq4D3SaNpCDqkR7gSZgRYPvkgJ0isu10o5EG9 xQc2lw1dOh4RLh/UNWsqf5j1kQs5lxghORMZk5tA5tABF0DBZO56bJPe8y96XqLw2rB/ ArDQ== X-Gm-Message-State: AOJu0Yx2ZANXKGV98BHRYlMWgrfrYsACw1fLwAeS5PDJJhLp210WgcbN eYuhQoO1QtRyE5b2pU+Fz9xfve0MCqNaGA== X-Google-Smtp-Source: AGHT+IG0x+fuMCFU7ZD3GN85298DXGqwz/t3zzn+EELpt5vin5mpuR6TFIOYGv94dFfNoBrl77MICA== X-Received: by 2002:a05:6214:4601:b0:63d:476:8e4 with SMTP id oq1-20020a056214460100b0063d047608e4mr2413788qvb.50.1691779388970; Fri, 11 Aug 2023 11:43:08 -0700 (PDT) Received: from localhost.localdomain (dsl-205-236-230-92.b2b2c.ca. [205.236.230.92]) by smtp.gmail.com with ESMTPSA id t7-20020a0ce2c7000000b0063d585225e0sm581434qvl.61.2023.08.11.11.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 11:43:08 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 11 Aug 2023 14:42:53 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf34.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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: -3.08 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 0B91D30C0B X-Spam-Score: -3.08 X-TUID: Dq/mMY4KaSTI Hi, This series improves our generic HTML updater, so that it knows to update packages using a mirror:// URL, or which URL contains versioned items in its path. With a trivial change to the release-file? procedure, this enables the automatic updates of our many Qt packages. Thanks, Maxim Cournoyer (13): gnu-maintenance: Make base-url argument of import-html-release required. download: Add mirrors for Qt. gnu: qt: Streamline qt-urls. gnu: qt-creator: Use mirror://qt for source URI. gnu-maintenance: Fix docstring. gnu-maintenance: Extract url->links procedure. gnu-maintenance: Fix indentation. gnu-maintenance: Accept package object in 'import-html-release' procedure. gnu-maintenance: Document nested procedures in 'import-html-release'. gnu-maintenance: Extract 'canonicalize-url' from 'import-html-release'. gnu-maintenance: Add support to rewrite version in URL path. gnu-maintenance: Allow mirror URLs to fallback to the generic HTML updater. gnu-maintenance: Consider Qt source tarballs as "release files". gnu/packages/qt.scm | 126 +++++++-------- guix/download.scm | 14 +- guix/gnu-maintenance.scm | 325 ++++++++++++++++++++++++++------------ tests/gnu-maintenance.scm | 47 +++++- 4 files changed, 338 insertions(+), 174 deletions(-) base-commit: 77251c5f5af193dcd031dffef744001cfc48f7e5 -- 2.41.0