GNU bug report logs - #53144
[PATCH 0/13] Make more git-using packages auto-updatable

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Sun, 9 Jan 2022 19:09:01 UTC

Severity: normal

Tags: moreinfo, patch

Fix blocked by 55399: libgit2 1.4.3 directory owner validation breaks Guix

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: 53144 <at> debbugs.gnu.org
Cc: liliana.prikler <at> gmail.com ludo <at> gnu.org iskarian <at> mgsn.dev public <at> yoctocell.xyz
Subject: [bug#53144] [PATCH 0/13] Make more git-using packages auto-updatable
Date: Sun, 09 Jan 2022 20:08:14 +0100
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: liliana.prikler <at> gmail.com ludo <at> gnu.org iskarian <at> mgsn.dev public <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.