This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Planned setup.ini changes for early 2018
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 22 Jan 2018 23:13:37 +0000
- Subject: Re: Planned setup.ini changes for early 2018
- Authentication-results: sourceware.org; auth=none
- References: <5e585f56-b4b1-753d-7ca8-0f7894194fa9@dronecode.org.uk>
On 10/01/2018 22:44, Jon Turney wrote:
* Add depends: to version descriptions
This is a version-specific list of required packages (as opposed to
requires:, which is per-package, and contains the union of the
dependencies for all versions).
I believe that historical setup versions will either ignore, or can
handle depends: (just containing package names, without version
relations) relatively sanely (see [1] et seq. for details).
On further testing, it's not safe to expose some versions of setup to
'depends:' lines, so these will have to be called 'depends2:' or
suchlike, so they are safely ignored.
(The dependencies of the current version are always used, not the
version actually being installed, so it may install incorrect
dependencies if a non-current version is installed, potentially
resulting in a broken package.)