On Fri, Aug 16, 2019 at 10:10 AM Michał Górny <mgo...@gentoo.org> wrote: > > Hi, > > leio asked me yesterday for the possibility of marking packages > as deprecated, so that CI would issue warnings when other packages > depend on them. I think that's quite a good idea, so I'd like to > propose a simple implementation for it. > > The idea is to provide profiles/package.deprecated using the same format > as package.mask. However, unlike the latter it wouldn't cause any user- > visible results but only affect pkgcheck (and possibly repoman, if > someone writes the check). > > Basically you'd put something like: > > # name <email> (date) > # We don't like this package anymore, so we want to remove it ASAP. > dev-foo/bar > > # name <email> (date) > # Old slot is not nice at all. > dev-bar/frobnicate:0.1 > > # name <email> (date) > # Nononono, don't use that. > <dev-zoo/elephant- > 11.0 > > This would cause matching packages to be marked as deprecated. It > wouldn't affect normal install behavior but pkgcheck/CI would complain > if any package had a dependency that can only be satisfied > by the deprecated packages. > > What do you think?
I think it's a great idea. It would have been perfect for the x11-proto/* -> x11-base/xorg-proto transition.