musically-ut / lovely-forks

💚 🍴 Show notable forks of GitHub repositories under their names.
Mozilla Public License 2.0
603 stars 40 forks source link

Take commit difference into account #75

Open geeknik opened 3 years ago

geeknik commented 3 years ago

Would it be possible to give weight to forks with more commits ahead of the main repo? For example, if we look at the "useful forks" for Audacity (https://useful-forks.github.io/?repo=audacity%2Faudacity), we see that the most notable fork according to this extension has 59 stars but is only 15 commits ahead of main audacity. By comparison, henricj/audacity has only 11 stars but is 84 commits ahead of main audacity and that, to us, is notable and interesting. If giving weight is too complex for the extension, maybe giving us the ability to display multiple "notable" forks would be possible? Thank you for considering this.

musically-ut commented 3 years ago

Hi!

Thanks for the suggestion! However, it is a non-trivial problem to "weigh" forks, just establishing which repo is more recent was complicated enough (see #13 for a detailed discussion).

Adding multiple notable forks was suggested in #56, but that too falls slightly outside the scope of this extension: the aim is not to add extra UI, but instead to keep the extension lightweight and do just one (small) thing which could serve as a red-flag. If there is a flamey fork, then the user would be well served by exploring what other forks exist either by using useful-forks.github.io or by going to the Networks tab, etc.

I would be open to adding that to the tooltip of the extension.