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

Eli Schwartz eschwartz at archlinux.org
Wed Oct 28 01:13:40 UTC 2020


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?

-- 
Eli Schwartz
Bug Wrangler and Trusted User

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


More information about the pacman-dev mailing list