pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Flag package discontinued when github repository is archived

Open jonasfj opened this issue 3 years ago • 3 comments

Github repositories can enter an archived state, when this happens we should flag the package as discontinued on pub.dev (if we have a verified github link).

It seems like limited harm can come from this as the package author can just unflip the discontinued flag, and publish a new version linking to a repository that isn't archived.

jonasfj avatar Apr 29 '22 09:04 jonasfj

This probably needs a few more thoughts, but something we could consider in the future.

Maybe we can just do an analysis to see how many packages this would even affect, before we spend too much time doing more design on this feature.

jonasfj avatar Apr 29 '22 09:04 jonasfj

Perhaps also user reporting of discontinued package might be a good option. Something like https://aur.archlinux.org/ AUR repository for Arch Linux implemented. You can flag package as unmaintained there as its user

dvorapa avatar May 01 '22 16:05 dvorapa

Still not sure how impactful this would be. Maybe we should do the analysis that @jonasfj suggested.

This would even more require us to not be occasionally rate-limited by github.

sigurdm avatar Sep 11 '25 08:09 sigurdm