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: upset vs. genini, release-2 hint files


On Sat, May 30, 2009 at 03:27:44PM -0400, Charles Wilson wrote:
>Following up on this thread from cygwin-developers:
>http://cygwin.com/ml/cygwin-developers/2009-05/msg00085.html
>I promised to post a patch adding an "ignore missing -src" option to
>genini and post it to cygwin-apps.
>
>But...
>
>After inspecting the code and running a few tests, it appears that the
>existing --okmissing option:
>
>--okmissing=key    don't warn if key is missing from setup.ini or setup.hint
>
>is effectively also a mechanism to ignore missing tarballs (because -src
>tarballs OUGHT to create a 'source:' entry in the generated .ini, and
>regular tarballs OUGHT to create an 'install:' entry in the generated
>.ini.  Since source: and install: are required keys for each package,
>you get the error only when genini is validating the in-memory .ini and
>notices the missing key.  However, if you specifiy --okmissing=source,
>then the missing tarball --> missing key --> but that's ok, and no
>explicit check for the tarball's existence is made.
>
>Since this wasn't obvious from the help (I always thought of it as
>applying only to the .hint-fields, like --okmisssing=requires etc), the
>promised patch simply expands the help text to make this clear, and adds
>a mention of the undocumented --recursive option.

Thanks for the patch.

Please apply this.  And please make sure you add an appropriate
ChangeLog too.

cgf


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