(Whether it's a good idea or not,) people often use stars as a quick-and-dirty proxy for "is this repo reasonably well trusted?" and "how big is the community for this project?". All else being equal, many people would default to using a repo with 20,000 stars over a repo with 20.
My point is that IF they delete everything, they should send a notification to the affected users. When the repository is made public again, then since they deleted the star relation it’s not possible to send another notification.
That’s why I wrote “IF they delete everything”. You’re saying they shouldn’t delete everything, which I agree with, but that’s not the case I was addressing.
From personal experience and from reading the other comments, some people see open source as a popularity contest and more stars will get you more users (which in turn gets you more stars).
Choosing one library over another just because it has more stars is bad decision making.
Consider choosing a command line tool for making http requests. If you consider GitHub stars:
- curl has 24.7k stars
- httpie has 4.3k stars as of writing this
- wget only has a mirror on GitHub with 264 stars
Does this mean wget is a bad tool? Does it mean httpie used to be vastly superior to curl with over 2x the amount of stars? I don't think you can really say anything meaningful about these projects based on the amount of stars, especially relatively to each other. Except for how many people clicked on the star button.
A practical consequence (not necessarily the only consequence) would be for the people who starred it who use stars as a bookmark feature: they have now lost their bookmark.
More seriously, why do they matter? Is it a prestige thing only or are there practical consequences to losing the stars?