Tatin icon indicating copy to clipboard operation
Tatin copied to clipboard

Introduce deprecated packages

Open aplteam opened this issue 4 years ago • 2 comments

Every piece of software will eventually become superfluous in one way or another.

When that becomes true for a package, there should be a way to mark it as deprecated since we cannot just delete it if the delete policy is "none" or "beta-only".

Other package management systems allow a flag "deprecated" to be set. For a package to become deprecated a new release needs to be published with that flag set.

The consequences:

  1. By default, ListPackages should filter them out
  2. On the web:
    1. Those packages should be marked
    2. There should be a mechanism to filter them out
  3. When a deprecated package is installed or loaded via a user command a warning should be issued
  4. API functions might refuse to process such packages unless an optional flag is set

aplteam avatar Nov 11 '21 09:11 aplteam

Good plan!

DavinChurch avatar Nov 11 '21 14:11 DavinChurch

When the deprecated flag is set there should also be an additional field "comment" that allows remarks like "See instead package x.y.z" etc.

aplteam avatar Jun 08 '22 15:06 aplteam

Implemented in 0.80.0

aplteam avatar Nov 26 '22 12:11 aplteam