Opened 6 years ago
Last modified 3 years ago
#57099 new enhancement
[feature request] "replaces" keyword — at Initial Version
Reported by: | RJVB (René Bertin) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | Cc: | ||
Port: |
Description
The Debian/Ubuntu package manager has a feature that allows packages to register as a replacement for another package. This is a more direct complement to the MacPorts replaced_by
feature.
I see a few points of interest to a "this port replaces this and that other port(s)":
- it's not an EOL property; for instance,
port:foo
andport:foo-devel
could both usereplaces foo-devel
andreplaces foo
respectively. This would streamline the process of switching between a port and its "devel" counterpart because the install/upgrade (or even activation) procedure for the one would first deactivate the other. - it should also streamline upgrades when a new port replaces a more than a single port.
port:xorg-xorgproto
is probably a good example for that second point. I had some issues when I did a (partial) upgrade using port upgrade outdated and "xorg-*proto"
. If xorg-xorgproto
had registerd the replaces
list of all proto ports it replaces, those ports would all have been deactivated at once, when the first to-be-replaced proto port upgrade was being processed.
Note: See
TracTickets for help on using
tickets.