Commit 99882c6 modifies ‘--list-generations’ so that generations are
listed in numerical order:
--8---cut here---start-8---
$ LC_ALL=fr_FR.utf8 ./pre-inst-env guix package --list-generations|grep ^G|head
-13|tail -3
Generation 99 août 24 2013 10:37:50
Nikita Karetnikov nik...@karetnikov.org skribis:
Ah so I was referring to recutils record sets (I thought you were
talking about SRFI-9 records or something.) So what’s the question?
:-)
I was trying to explain why we shouldn’t always output generations in
the recutils format. It works
That’s not necessarily a bug: it could be that generation 1 is just
slightly more than 48 hours old (the time should also be displayed, I
think.)
Right, that’s what I was trying to show. Anyway, it shouldn’t be an
issue now.
OK, I added ‘~T’.
This should be present tense overall (for
Nikita Karetnikov nik...@karetnikov.org skribis:
Can I push the attached patch to ‘master’?
Yep!
Done.
Great, thank you!
Ludo’.
I’ve just found a bug. On my machine, ‘guix package -p test -l 2d’
and ‘guix package -p test -l’ should return the same set of
generations, but the fourth generation is shown twice in the former
case.
Generations 4 and 5 have the same creation date for some reason:
scheme@(guix ui)
Nikita Karetnikov nik...@karetnikov.org skribis:
Not sure what you mean by “two record sets”.
“You can have two record sets: one for generations, one for
packages.” [1]
Ah so I was referring to recutils record sets (I thought you were
talking about SRFI-9 records or something.) So what’s
Nikita Karetnikov nik...@karetnikov.org skribis:
3. ‘guix package -l -p test’ returns ‘guix package: error: test:
extraneous argument’. (However, the same happens with ‘-I’.)
That’s because -p is interpreted as the optional argument to -l, and so
‘test’ is considered an extra argument.
65a2d978e1b74cde953e81109dad33f2562e8294 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov nik...@karetnikov.org
Date: Thu, 19 Sep 2013 00:36:05 +
Subject: [PATCH] guix package: Add '--list-generations'.
* guix/scripts/package.scm: Import (srfi srfi-19).
(generation-time, matching-generations): New functions
in
‘tests/guix-package.sh’.
[1] https://lists.gnu.org/archive/html/guix-devel/2013-08/msg00173.html
From 27e73d3d86ca7abfbc470f3561c059d730314821 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov nik...@karetnikov.org
Date: Tue, 17 Sep 2013 23:56:10 +
Subject: [PATCH] guix package: Add '--list