[RFC] 1.7 Packaging: Obsolete packages

Yaakov (Cygwin Ports) yselkowitz@users.sourceforge.net
Wed Jul 30 15:01:00 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Corinna Vinschen wrote:
| What if we add an "obsoletes:" line to setup.{ini,hint}?
|
| The idea is that you don't have to provide empty replacement packages
| for the old packages anymore, and setup removes all packages noted in
| the "obsoletes:" line before installing the new package, in the same
| step as when replaing old versions of the same package.
|
| Would that work?  Wouldn't that ease the transition to new package
| schemes a lot?

YES!!

The trick is to make sure that there can be a many-to-many correlation;
IOW a given package could specify plural packages in obsoletes:, and
setup could handle several packages which obsoletes: it.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkiQgkgACgkQpiWmPGlmQSMGuACgyk2YRHrc55z1c8iuXXzAmFRr
pUkAoO/k0Tyw/cWRyTgRJZfz+LWj30wq
=3Cb5
-----END PGP SIGNATURE-----



More information about the Cygwin-apps mailing list