[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74542] [PATCH v2 05/16] packages: Factorize ‘all-packages’.
From: |
Ludovic Courtès |
Subject: |
[bug#74542] [PATCH v2 05/16] packages: Factorize ‘all-packages’. |
Date: |
Sun, 01 Dec 2024 17:37:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>> @@ -253,6 +254,23 @@ (define* (fold-packages proc init
>> init
>> modules))
>>
>> +(define all-packages
>> + (mlambda ()
>> + "Return the list of all public packages, including replacements and
>> hidden
>> +packages, excluding superseded packages."
>
> Reading the above doc made me question; are replacements always supposed
> to be made public? I typically would leave them private to avoid
> cluttering the CLI with duplicate packages.
Replacements are always reachable via the ‘replacement’ field, whether
they’re public or not.
If they’re public, they’re also visible from the user interface, which
is probably nicer. Other than that, it doesn’t make a big difference.
Ludo’.
- [bug#74542] [PATCH v2 05/16] packages: Factorize ‘all-packages’.,
Ludovic Courtès <=