From patchwork Sun Jan 9 19:08:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 558 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 231A127BBE9; Sun, 9 Jan 2022 19:09:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B695327BBEA for ; Sun, 9 Jan 2022 19:09:30 +0000 (GMT) Received: from localhost ([::1]:38364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6dZJ-0000jP-Ru for patchwork@mira.cbaines.net; Sun, 09 Jan 2022 14:09:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6dYt-0000gc-Ky for guix-patches@gnu.org; Sun, 09 Jan 2022 14:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6dYs-0005hh-TL; Sun, 09 Jan 2022 14:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6dYs-0007fv-4I; Sun, 09 Jan 2022 14:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53144] [PATCH 0/13] Make more git-using packages auto-updatable Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, ludo@gnu.org, iskarian@mgsn.dev, public@yoctocell.xyz, guix-patches@gnu.org Resent-Date: Sun, 09 Jan 2022 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53144 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53144@debbugs.gnu.org Cc: liliana.prikler@gmail.com ludo@gnu.org iskarian@mgsn.dev public@yoctocell.xyz X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: liliana.prikler@gmail.com ludo@gnu.org iskarian@mgsn.dev public@yoctocell.xyz Received: via spool by submit@debbugs.gnu.org id=B.164175531629466 (code B ref -1); Sun, 09 Jan 2022 19:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2022 19:08:36 +0000 Received: from localhost ([127.0.0.1]:51275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6dYN-0007f8-Hy for submit@debbugs.gnu.org; Sun, 09 Jan 2022 14:08:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:39528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6dYI-0007ew-Gz for submit@debbugs.gnu.org; Sun, 09 Jan 2022 14:08:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6dYI-0000Nj-DI for guix-patches@gnu.org; Sun, 09 Jan 2022 14:08:26 -0500 Received: from leibniz.telenet-ops.be ([195.130.137.77]:39228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6dYG-0005eW-8A for guix-patches@gnu.org; Sun, 09 Jan 2022 14:08:26 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by leibniz.telenet-ops.be (Postfix) with ESMTPS id 4JX61L2Ct9zMqfCY for ; Sun, 9 Jan 2022 20:08:22 +0100 (CET) Received: from [172.20.10.5] ([188.188.180.65]) by andre.telenet-ops.be with bizsmtp id gj8F2600Q1R3YAc01j8HE0; Sun, 09 Jan 2022 20:08:18 +0100 Message-ID: <0498a1400cfa72db28da35e46d64bf6e1267b3d7.camel@telenet.be> From: Maxime Devos Date: Sun, 09 Jan 2022 20:08:14 +0100 User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1641755298; bh=1/cWa+0HiHf2ezNNC/crOL9rNsn9XeewaInKhmauBr4=; h=Subject:From:To:Date; b=fqslpQXCNJkrBTMqlDfRUJBTCWi6b0sSQ15+A+bNqW4p1ZHgCzLRw7MsHew3hgyIV +PEWS4t+SYCB3MsVysGTKQfIXwgy2zmRLhnMOdr+LcH+tBi/KMk+9bYF4wrMZdqpy/ CA32xjUmM3dpp5tSZobPzuLQaE7/On1G9i/1u4TSFrrhY9p+TiA2g+9pzGwzVNZQtr LNYVWDlcxUjpswUaDv6OOILq1jGUdh29F0ZPjUSzjsPs6E7gqdW4+jlNrkPD4VByfM oeOg8TH82dxAoahUM9pQOxqu2fsAKKqODM50lz9OvYpYH17cP9BpyTmL/b2773SPwB ixqRX5GNjjcGA== Received-SPF: pass client-ip=195.130.137.77; envelope-from=maximedevos@telenet.be; helo=leibniz.telenet-ops.be X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches X-Debbugs-CC: liliana.prikler@gmail.com ludo@gnu.org iskarian@mgsn.dev public@yoctocell.xyz Hi, This patch series makes more packages that use 'git-fetch' auto-updatable. The first 9 patches are specifically for Minetest packages. The following three patches make packages written in the folowing style auto-updatable: (define-public foo ;; Upstream never makes any releases, so use the latest commit ;; from the 'stable' branch instead. (let ((commit "deadbeef...") (revision "9")) (package (name "foo") (version (git-version "0" revision commit)) (source [git-fetch etc.]) [etc.] (properties '((with-latest-git-commit . "refs/heads/stable")))))) To do so, make sure with-latest-git-commit is set, and run "./pre-inst-env guix refresh -t -u foo". It will update the commit and revision. The last patch sets the property 'with-latest-git-commit'. tests/channels.scm ("channel-news, one entry") fails, TBI. "make check" is running, I'll send a message about what fails and succeeds. You can also grab a copy from https://notabug.org/maximed/guix-gnunet (branch: wip-git-fetch2, 358c8f64966c423927f22f1c0ee29e85e70b1af8) Greetings, Maxime