GNU bug report logs - #58433
[PATCH 0/2] Accept tags in the 'commit' field of <channel>

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 11 Oct 2022 09:52:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 58433 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [bug#58433] [PATCH 0/2] Accept tags in the 'commit' field of <channel>
Date: Tue, 11 Oct 2022 11:51:17 +0200
Hi!

This change lets us pass tags to ‘guix time-machine’ and ‘guix pull’,
as in:

  guix time-machine --commit=v1.2.0 -- describe

At last!

Thoughts?

Ludo’.

Ludovic Courtès (2):
  git: 'update-cached-checkout' returns the commit ID when given a tag.
  channels: Interpret the 'commit' field of channel as a tag or commit.

 doc/guix.texi     | 23 +++++++++++++++++++++--
 guix/channels.scm |  2 +-
 guix/git.scm      | 15 +++++++++------
 guix/inferior.scm |  2 +-
 tests/git.scm     | 32 +++++++++++++++++++++++++++++++-
 5 files changed, 63 insertions(+), 11 deletions(-)


base-commit: 5d5bc072059f514394afdaccfcc72cdb282d7ce2
-- 
2.38.0





This bug report was last modified 2 years and 302 days ago.

Previous Next


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