On 10/28/20 at 01:17am, Morgan Adamiec wrote:
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.
The joys of having two different package info file formats. Whatever it does with .SRCINFO, an empty string is not a valid value in the db package info file, so makepkg should not be writing .PKGINFO files with them.