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
Mark packages as Deprecated / "this is not maintained anymore" #192
Comments
|
This is somewhat related to #106 — I hit submit too soon, meant to include it in the post. |
|
Should deprecated packages show up in searches? Or should they be very obviously deprecated; maybe via being faded/semi-opaque in search results or some other visual affordance? |
|
@simensen I think they should still show up but yeah faded or with a flag sounds good. Now I don't like "deprecated" so much though, maybe "unmaintained" would be more explicit? |
|
orphaned|abandoned might be better wording btw. |
|
What about a community based system for voting things as no longer maintained? (or whatever word ends up being used?) Maybe a separate thing but somehow tied together? I'm thinking if a maintainer has moved on / no longer has access to packagist and is not likely to come back. |
|
Yeah we probably need a way to flag a package as abandoned/malware/foo so someone with access can review. |
|
👍 NPM has this feature, it's very useful. |
|
👍 It would be a great feature for Packagist. |
|
@Seldaek how do you see this playing down into composer? IMO if composer installs a package marked as deprecated in Packagist, it should show an alert indicating the state and which package to replace with. The other option would be to update the json file but i think this would open all kinds of pandora boxes and edge cases. |
|
There are two parts to this I think:
|
Why are you concerned about this? My core beginner intuition does not ring any alarm bells. Any way, i'm going to start on the packagist side of things, then we can workout the composer side on a separate issue in composer. |
|
I am just wondering if it won't become a nuisance if you have |
|
Reading up from NPM and what their deprecated means, i see 2 different scenarios:
So as mentioned above i'll take that direction and implement |
|
@Seldaek ok i got the visual flag working and the button to mark as deprecated and point a replacement. What other features do you want me to ensure are done before i add the PR?
|
|
I think un-abandon is good to have for sure, as for the report button this can be done later/separately IMO because we need various sort of reports (abandoned, abuse, ..?). |
|
👍 |
|
+1 |
Packages stop being maintained. Sometimes new projects spring up and replace aging ones. It would be great to be able to mark a package as deprecated and optionally be able to forward to one or more alternatives.
Real world examples:
dflydev/twig-github-gist-sculpin-bundle is a package I intended to keep working on but have since replaced it with a more portable dflydev/github-gist-twig-bundle. I realize it is not appropriate to delete the older package, but it would be nice to somehow indicate that it really isn't meant to be used anymore.
The text was updated successfully, but these errors were encountered: