This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] Allow setup to parse more than 3 versions from the setup.ini file


On 24/04/2011 17:10, Christopher Faylor wrote:
> On Sun, Apr 24, 2011 at 02:05:54PM +0100, Jon TURNEY wrote:
>> This recognizes any "[version]" 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
>>
>> Since the value of <version> carries no meaning, it might make more sense
>> to mandate the use of a specific string like "[also]" or "[other]", or
>> perhaps "[prev-1]", "[prev-2]", etc.
>>
>> I have written a corresponding patch to genini
>>
>> Setup already does all the neccessary sorting in version order etc. to
>> use these additional versions.
>>
>> 2011-04-24  Jon TURNEY  <jon.turney-GrJqePx9RPPAJUdA+FbntA@public.gmane.org>
>>
>> 	* 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.
> 
> Sorry but what is this good for?  Who would use it?

If you are asking why a package maintainer might want this, then for e.g. [1]

[1] http://cygwin.com/ml/cygwin-xfree/2011-03/msg00049.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]