From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EPl7Oef85mGPZAEAgWs5BA (envelope-from ) for ; Tue, 18 Jan 2022 18:46:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0Oo6Muf85mF1kQAAG6o9tA (envelope-from ) for ; Tue, 18 Jan 2022 18:46:15 +0100 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 5DA963EAD8 for ; Tue, 18 Jan 2022 18:46:15 +0100 (CET) Received: from localhost ([::1]:35618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9sYg-00050K-EH for larch@yhetil.org; Tue, 18 Jan 2022 12:46:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9sYU-0004x6-GC for guix-patches@gnu.org; Tue, 18 Jan 2022 12:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9sYU-0001DL-6H for guix-patches@gnu.org; Tue, 18 Jan 2022 12:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9sYT-0008Dy-S3 for guix-patches@gnu.org; Tue, 18 Jan 2022 12:46:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53144] [PATCH 0/13] Make more git-using packages auto-updatable Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Jan 2022 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53144 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 53144@debbugs.gnu.org Received: via spool by 53144-submit@debbugs.gnu.org id=B53144.164252791431546 (code B ref 53144); Tue, 18 Jan 2022 17:46:01 +0000 Received: (at 53144) by debbugs.gnu.org; 18 Jan 2022 17:45:14 +0000 Received: from localhost ([127.0.0.1]:51566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9sXh-0008Cj-V6 for submit@debbugs.gnu.org; Tue, 18 Jan 2022 12:45:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:57094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9sXf-0008CO-KP for 53144@debbugs.gnu.org; Tue, 18 Jan 2022 12:45:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1215F838; Tue, 18 Jan 2022 18:45:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42TEJdPrDn4z; Tue, 18 Jan 2022 18:45:04 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 090712D7; Tue, 18 Jan 2022 18:45:04 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220109191015.33058-1-maximedevos@telenet.be> <20220109191015.33058-12-maximedevos@telenet.be> Date: Tue, 18 Jan 2022 18:45:03 +0100 In-Reply-To: <20220109191015.33058-12-maximedevos@telenet.be> (Maxime Devos's message of "Sun, 9 Jan 2022 19:10:14 +0000") Message-ID: <87bl09djkw.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 1215F838 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642527975; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=Do6gHI0Jx4CGizDU7YSsoTnSSGHBic3MQsv/9tdwOIs=; b=gY4zmN1/M0TNrzfI4MMzAZwYOg/kTc3tMsDZsP90ALMHW7g+yJzFiscItSfFXZyng9ABNw MUGEDAVOn0zcvohempKAa9RSiDIPpfQw5IOLzg3LL9QEb3BIzl+Icu6FTp0tw9gFa3JPVG GRG9qv0EKcOW3OQlBHJlcOUR6jeMpQp0U8LMZ+eahP6oeMtVGIK7e7XlJnMKX9uxFRIzUM Eg9fJchxuubMdGydh47r6bdGYo1tvkZP1a/39w9bVpOQADOveyb9s5jPU4vZcNRAef+AwV Mq/wPcTugrb0wG91wEeZKpeGVpcuPDwrFXxzTw2/QJ4UissSnEN6v1ReqY9z8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642527975; a=rsa-sha256; cv=none; b=st3y4uedDQKRl80TibS38CQdlB4aCaTYGtmoqiZCJ/yQUjrAcfLKdcEOUmkjeHEY9Knz89 NNnHIGh7EP99l5kZ+HQsnCfagCqCQn5/aTMe5Ub7lPud062B+xz2UxEQLnxLfBlmC2iETN j5f+9GI/JSPU7KjiLIhMZK+upLm9OEQx8zXhmYvLOPK/54DWtXDtvMfmtWOk2Ajv6aX75r 4QngInIIf7Z0d3mm0S8ztFpX0l2/NvKBn/lXTjr4awj3xAHbfD2rGMLbjqvCvJz/jWkktq HrNJ8xXrwoewI/xXnEVyneLq/DU6Oyr8gjD7MlCBU0BJU6MtRdCZD5EK6vAWfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 5DA963EAD8 X-Spam-Score: -3.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: UjwDs3GSReuG Maxime Devos skribis: > * Makefile.am (MODULES, SCM_TESTS): Register new files. > * doc/guix.texi (Invoking guix refresh): Document it. > * guix/import/latest-git.scm: New importer file. > * guix/upstream.scm (increment-git-version): New procedure. > * tests/import-latest-git.scm: New test file. [...] > +@item latest-git > +@cindex latest-git > +@cindex with-latest-git-commit > +another updater for packages hosted on Git repositories. The difference > +with @code{generic-git} is that it always choses the latest commit, even =E2=80=9Cchooses=E2=80=9D > +when it does not have a version tag. As this practice should remain > +exceptional (@pxref{Version Numbers}), packages have to opt-in this > +updater, by using @code{git-version} to construct the version number and > +setting the @code{with-latest-git-commit} package property. Instead of a new updater, should it be handled by =E2=80=98generic-git=E2= =80=99? It could honor the property just as well, no? Now in terms of code it does look nice to have it separate. WDYT? I=E2=80=99d call the property =E2=80=98release-from-git-reference=E2=80=99 = or something, to avoid confusion with the =E2=80=98--with-commit=E2=80=99 transformation opt= ion. Thanks, Ludo=E2=80=99.