]> cygwin.com Git - cygwin-apps/setup.git/commit
Allow setup to parse more than 3 versions from the setup.ini file
authorJon Turney <jon.turney@dronecode.org.uk>
Wed, 31 Aug 2016 10:31:22 +0000 (11:31 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 7 Dec 2016 12:49:21 +0000 (12:49 +0000)
commit20cf793baea56494dd7ab2221f33741303902f22
tree939fbd9269b906ef64021ce03022d2f1b4688df6
parent77ddbf45b5c16faeb0c7247ded8c7a5f6fb59b19
Allow setup to parse more than 3 versions from the setup.ini file

This recognizes any "[foo]" line as introducing the information for another
version, which doesn't have one of the trust levels [curr], [prev] or
[test], and so isn't automatically selected when setup is told to install
all packages at that trust level (by default, [curr]).

Setup already does all the necessary sorting in version order etc. to use
these additional versions.

The value of <foo> carries no meaning, but the setup.ini specification
will be amended to mandate the use of "[ver<digits>]".

* PackageTrust.h (trusts): Add TRUST_OTHER.
* inilex.ll: tokenize any other [version] as the T_OTHER token.
* iniparse.yy: Add T_OTHER token and set package trust
to TRUST_OTHER when it is used.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
PackageTrust.h
inilex.ll
iniparse.yy
This page took 0.034849 seconds and 5 git commands to generate.