This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFC] 1.7 Packaging: Obsolete packages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Corinna Vinschen wrote:
> Setup.exe apparently already understands package lists in setup.ini
> which start with "Replaces:" (upper case R), collects the information
> and stores it in an internal list, but then doesn't seem to use it
> later on. Too bad.
I admit that I don't grok setup's code either. But if the parser
already handles such a tag (which IMO should be replaces: with a
lower-case r, just like other tags), then it should be straightforward.
The goal is for an install on such a package to trigger an uninstall on
all packages listed in replaces:, similar to how requires: triggers an
install, except that the former is not recursive.
Unfortunately that's as much as I can contribute at the moment, with my
lack of understanding of the code involved.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkit/kYACgkQpiWmPGlmQSPI7wCg7//2WPnmq2NX8Y7ybvaNENKq
jckAoLdCQoZmF40574ML9Fn7dp1YgjM5
=aiPP
-----END PGP SIGNATURE-----