[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generation 0
From: |
Nikita Karetnikov |
Subject: |
Re: Generation 0 |
Date: |
Thu, 26 Sep 2013 06:18:56 +0400 |
>> There are two cases:
>>
>> 1. A generation does not exist.
>>
>> 2. The profile points to the zeroth generation, and there are no other
>> generations.
>>
>> ‘tests/guix-package.sh’ tests the first case. Should we test the second
>> case too? What would be the best way to do so?
> The second case is valid. Thus it’s OK for --list-generations to not
> print anything, but it must exit with 0.
> Likewise, --delete-generations should do nothing and exit with 0 with
> the only generation that would be deleted is Generation 0.
> Does it make sense?
I was asking a different question, that is, whether we should test both
cases in ‘tests/guix-package.sh’ or it’s OK to test only the first case.
Currently, there’s a test for the first case. (Note that by the word
“cases” I mean the ‘cond’ cases.)
Anyway, can I push this patch?
0001-guix-package-Exit-with-0-when-there-is-nothing-to-li.patch
Description: Text Data
pgpCaaX6BS4k2.pgp
Description: PGP signature
- Re: [PATCH] guix package: Show which generation is the current one., (continued)
- Re: [PATCH] guix package: Show which generation is the current one., Ludovic Courtès, 2013/09/24
- Re: [PATCH] guix package: Show which generation is the current one., Nikita Karetnikov, 2013/09/24
- Re: [PATCH] guix package: Show which generation is the current one., Ludovic Courtès, 2013/09/24
- Re: [PATCH] guix package: Show which generation is the current one., Nikita Karetnikov, 2013/09/24
- Re: [PATCH] guix package: Show which generation is the current one., Ludovic Courtès, 2013/09/25
- Re: Generation 0, Ludovic Courtès, 2013/09/24
- Re: Generation 0, Nikita Karetnikov, 2013/09/24
- Re: Generation 0, Ludovic Courtès, 2013/09/25
- Re: Generation 0, Nikita Karetnikov, 2013/09/25
- Re: Generation 0, Ludovic Courtès, 2013/09/25
- Re: Generation 0,
Nikita Karetnikov <=
- Re: Generation 0, Ludovic Courtès, 2013/09/26
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/22
Re: [PATCH] guix package: Add '--delete-generations'., Nikita Karetnikov, 2013/09/25
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/25
Re: [PATCH] guix package: Add '--delete-generations'., Nikita Karetnikov, 2013/09/25