[pacman-dev] [PATCH] libmakepkg: lint all arrays for empty values

Morgan Adamiec morganamilo at archlinux.org
Wed Oct 28 01:17:37 UTC 2020



On 28/10/2020 01:13, Eli Schwartz wrote:
> On 10/27/20 8:59 PM, Morgan Adamiec wrote:
>> On 28/10/2020 00:46, Eli Schwartz wrote:
>>> It remains unclear to me, why the ambiguity matters.
>>>
>>
>> I guess if you were to officially declare `Key =` means to set the key
>> to none then that would solve the issue of it being ambiguous
>>
>> Then again that would make `license=('a' '' 'b')` parse as only as
>> licence=(b) seems as it was cleared before.
>>
>> But funnily enough, if you build the package then pacman -Qi reports
>> only license a. Fun!
>
> I just checked this, but -Qip reported all the licenses, both before and
> after the '' license. Is this an observation about the current state of
> pacman, or about what the proposed semantics would be?
>

So as it turns out -Qip shows the licenses. Installing the package and
doing -Qi only shows a.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20201028/5592be13/attachment.sig>


More information about the pacman-dev mailing list