public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] package.deprecated to mark packages deprecated and report dependencies
@ 2019-08-16 17:10 Michał Górny
  2019-08-16 17:58 ` Thomas Deutschmann
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Michał Górny @ 2019-08-16 17:10 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

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?

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-21 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-16 17:10 [gentoo-dev] [RFC] package.deprecated to mark packages deprecated and report dependencies Michał Górny
2019-08-16 17:58 ` Thomas Deutschmann
2019-08-17  9:24   ` Mart Raudsepp
2019-08-17 19:55 ` Matt Turner
2019-08-17 20:06 ` Aaron Bauman
2019-08-21 14:29 ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox