[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.
From: |
Nikita Karetnikov |
Subject: |
Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'. |
Date: |
Wed, 18 Sep 2013 21:35:08 +0400 |
> 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)> dates-generations
$4 = ((1379357250 . 1) (1379364436 . 2) (1379364463 . 3) (1379364530 . 4)
(1379364530 . 5) (1379419461 . 6))
Since this line
(map (cut assoc-ref dates-generations <>)
returns the first entry with the given key, the fourth generation is
printed twice.
I’ll try to replace the alist with something else.
pgporCvlU3FAY.pgp
Description: PGP signature
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, (continued)
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Ludovic Courtès, 2013/09/09
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Nikita Karetnikov, 2013/09/11
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Ludovic Courtès, 2013/09/11
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Nikita Karetnikov, 2013/09/12
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Ludovic Courtès, 2013/09/12
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Nikita Karetnikov, 2013/09/13
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Ludovic Courtès, 2013/09/13
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Nikita Karetnikov, 2013/09/16
- Re: New ‘--list-generations’ and ‘--delete-generations’ options, Ludovic Courtès, 2013/09/16
- PRELIMINARY: [PATCH] guix package: Add '--list-generations'., Nikita Karetnikov, 2013/09/17
- Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.,
Nikita Karetnikov <=
- Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'., Ludovic Courtès, 2013/09/18
- [PATCH] guix package: Add '--list-generations'., Nikita Karetnikov, 2013/09/18
- Re: [PATCH] guix package: Add '--list-generations'., Ludovic Courtès, 2013/09/19
- Re: [PATCH] guix package: Add '--list-generations'., Nikita Karetnikov, 2013/09/19
- Re: [PATCH] guix package: Add '--list-generations'., Ludovic Courtès, 2013/09/19
- Re: [PATCH] guix package: Add '--list-generations'., Ludovic Courtès, 2013/09/21
- Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'., Ludovic Courtès, 2013/09/18