Dropping requires: from setup.ini?
Jon Turney
jon.turney@dronecode.org.uk
Fri Sep 2 13:56:34 GMT 2022
Perhaps it's time to consider dropping the requires: line from setup.ini?
requires: contains the union of dependencies for all package versions
(long ago, it was the dependencies for the current package version, and
the dependencies for other versions were not available to setup, with
hilarious consequences...)
requires: is superfluous to depends2:, which versions of setup since
2.888 (Feb 2018) understand, but there may be some other 3rd-party tools
which still rely on it.
Dropping it also reduces the size of setup.ini by about 5%.
(See [1] for an example of the confusion it's continued existence can cause)
(setup versions <2.903 are precluded from trying to use a current
setup.ini, by a combination of changed signing key and policy mechanisms
inside setup)
[1] https://cygwin.com/pipermail/cygwin/2022-February/250949.html
More information about the Cygwin-apps
mailing list