-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have official policy for deprecating packages #15357
Comments
Same for PopcornTime. We needed to remove the package, but there is no standardized way to let users know that it was actually deprecated nor why. @copumpkin suggested to replace the package expression with an Maybe create a |
A while ago, we were talking about cordoning off a separate section that lets us see all deprecated packages in one place.
Or something like that. The message would be standardized across all deprecated packages, and probably just mapped over the attrset, with each value possibly providing more detail as needed. |
Two scenario's:
Possible solutions:
I don't think you can always refer to a PR or commit, because typically that commit would be the deprecation/change itself. |
I think the |
Once I tried hard to find a way (8e8e23d), but I just gave up, as it's really tricky to determine when to print the message and when you'd just spam someone who didn't really use the deprecated stuff directly. |
So this discussion is about two things:
The way I see it 2) can be easily in pair with NixOS releases once we figure out a sane way for 1) |
I think it would be fine to print the deprecated dependencies regardless when building a package. I agree that deprecations deadlines should be for one or more NixOS releases. I also want to add that NixOS declares deprecations in a file, so having deprecated-packages.nix would be familiar and possibly easier to maintain. Just git blame and remove the lines older than release x, or a fixed time if it will be decided that the deadline is fixed for example 1 year. |
There's a PR that partially implements this: #19315 |
I’ll close this in favor of #19315. |
@jophish on IRC just got bitten by using old texlive.
We should have a policy and a way to inform users of deprecated packages (including when they'll be removed).
The text was updated successfully, but these errors were encountered: