upset vs. genini, release-2 hint files

Charles Wilson cygwin@cwilson.fastmail.fm
Sat May 30 19:28:00 GMT 2009


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.

--
Chuck


-------------- next part --------------
A non-text attachment was scrubbed...
Name: genini.patch
Type: application/x-patch
Size: 1180 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20090530/7b866fc7/attachment.bin>


More information about the Cygwin-apps mailing list