This is the mail archive of the
mailing list for the Cygwin project.
Re: [RFC] 1.7 Packaging: Obsolete packages
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----