Fork Freshness is poking at an important problem. If the author of an open source project stops responding, then there is usually no obvious way for the project's community to reorganize or recognize a new leader or a replacement for the project.
I agree with other commenters; I really don't want to talk about my dependencies on twitter to this bot.
This might also be a great way for the original creator to identify that people still find their software useful. It might help in handing off the project to an active community.
I like this bookmarklet [1] that shows how many commits ahead/behind each fork is. There's also this extension [2] but you need to give it your own github access token.
hi! I made Fork Freshness. that alternative is much faster, but it relies on the `pushed_at` attribute from the GitHub REST API. I was unable to find documentation for that attribute, but I rejected the GraphQL equivalent, `pushedAt`, because if Dependabot pushes to an otherwise dead repo with a PR to auto-update some dependency, `pushedAt` treats that as recent work. I didn't want to write a robot which chased another robot around in a circle, so Fork Freshness instead uses its own much more labor-intensive system. it's much slower, but I believe it's also more accurate.
I wrote that up here, in a fairly gigantic blog post:
that blog post also explains why I based the UI around Twitter. TLDR: fun experiment. re the question of making the UI work in a different way, TLDR: maybe.
part of the experiment was just to see how far I could get without creating a User model. but since Fork Freshness does a relatively slow analysis, I wanted to use an asynchronous UI. I'm not married to it, though, I could see good arguments for setting it up to work differently.
edit: btw, thanks for the discussion re my project! I'm late for a concert and travelling tomorrow morning but I can't wait to dig into these comments some more.
More active repos don't necessarily have more stars, maybe a better way to sort would be to have main repo followed by number of commits ahead, then number of commits behind. Most often what I find is a repo will have 3-5 dozen forks and the vast majority will either be far behind or have one or two localizations. It is very rare that I find something that someone has really forked and started doing active development on.
The author says it's too slow and works better as an asynchronous request. They also write something about rails' "User" object being unwieldy, whatever that is.
That still doesn't explain the Twitter dependency. It could just be an attempt to get popular and share the tool at the same time.
Nice. I wonder whether the posted tool offers any more data since this tool is instantaneous and the posted one is slow.
It would be great to know, for example, "commits ahead of". EDIT: found a few! [1] is easiest to use. For [2] you need to give it a github access token.
Repo abandonment is a problem compounded by gaps in assignment of package publishing rights.
Recently, I helped a maintainer get a PEP 541 request done after a year of people intermittently pleading with the owner to do a release. It took pypi’s direct communication of potential reassignment for the owner to respond and they did so within two hours.
Not every package has a willing maintainer to back up an owner like this. So finding forks that have sufficiently merged PRs or have even gone off to do new work can be valuable to avoid duplication.
I’ve done this kind of girl research manually before, searching for something that goes the furthest and seems the most professional.
I’d like to see this tool integrate directly into the GitHub forks page, though, ideally as a browser extension.
Is there a repository for Fork Freshness? I could see the twitter account ignoring requests in the future and the same fate could fall to this project. I would recommend releasing the project under AGPL-3.0-or-later to partially solve this issue so the project can continue in the event of abandonment. I could see people contributing code to search for projects in other known forges such as GitLab, Sourceforge, Savannah, Gitea, pagure, and sourcehut as sometimes projects are forked outside of the original forge.
I have noticed this issue that Fork Freshness tries to solve. My example is Twitter's project murder https://github.com/lg/murder When a project becomes unmaintained whether officially or unofficially, the future home is often lost unless the original points to the new home at the top of the README file. You can dig within GitHub in the Insights > Network section to get a visual glimpse of what has changed since. https://github.com/lg/murder/network The original repository put up a notice that the project is unmaintained and archived the project which effectively ends the project in practice. In this case, ervinb's fork seems to be the most active commits before being abandoned. https://github.com/ervinb/murder Other forks also had independent commits that never were pulled into other projects. Looking at the network method fails to differentiate 30 grammar fixes from 30 new features without digging into each promising looking fork. Even then, you may miss a single commit that included more work then the entirety of the other commits. Disclosure: I have not worked on murder.
joshuanapoli|4 years ago
I agree with other commenters; I really don't want to talk about my dependencies on twitter to this bot.
bullfightonmars|4 years ago
tessierashpool|4 years ago
phreack|4 years ago
Any chance this could be made not to rely on Twitter?
unityByFreedom|4 years ago
[1] https://stackoverflow.com/questions/54868988/how-to-determin...
[2] https://github.com/dragongling/Better-Github-Forks
tessierashpool|4 years ago
I wrote that up here, in a fairly gigantic blog post:
https://gilesbowkett.com/blog/2021/08/15/fork-freshness-proj...
that blog post also explains why I based the UI around Twitter. TLDR: fun experiment. re the question of making the UI work in a different way, TLDR: maybe.
part of the experiment was just to see how far I could get without creating a User model. but since Fork Freshness does a relatively slow analysis, I wanted to use an asynchronous UI. I'm not married to it, though, I could see good arguments for setting it up to work differently.
edit: btw, thanks for the discussion re my project! I'm late for a concert and travelling tomorrow morning but I can't wait to dig into these comments some more.
exciteabletom|4 years ago
zxcvbn4038|4 years ago
oezi|4 years ago
- hide any repo that hasn't seen any commits
- show commits ahead and behind as well as number of tags
- include issue tracker activity
- highlight those forks that were renamed which is often an indicator of a new package/gem being released from this fork
- Show a link from the main page of a repository to the most active fork to make it clear that there is an active fork at all.
TheFreim|4 years ago
unityByFreedom|4 years ago
That still doesn't explain the Twitter dependency. It could just be an attempt to get popular and share the tool at the same time.
FastEatSlow|4 years ago
jccalhoun|4 years ago
unityByFreedom|4 years ago
It would be great to know, for example, "commits ahead of". EDIT: found a few! [1] is easiest to use. For [2] you need to give it a github access token.
[1] https://stackoverflow.com/questions/54868988/how-to-determin...
[2] https://github.com/dragongling/Better-Github-Forks
bredren|4 years ago
Recently, I helped a maintainer get a PEP 541 request done after a year of people intermittently pleading with the owner to do a release. It took pypi’s direct communication of potential reassignment for the owner to respond and they did so within two hours.
Not every package has a willing maintainer to back up an owner like this. So finding forks that have sufficiently merged PRs or have even gone off to do new work can be valuable to avoid duplication.
I’ve done this kind of girl research manually before, searching for something that goes the furthest and seems the most professional.
I’d like to see this tool integrate directly into the GitHub forks page, though, ideally as a browser extension.
Igelau|4 years ago
You done what now?
thomzane|4 years ago
I have noticed this issue that Fork Freshness tries to solve. My example is Twitter's project murder https://github.com/lg/murder When a project becomes unmaintained whether officially or unofficially, the future home is often lost unless the original points to the new home at the top of the README file. You can dig within GitHub in the Insights > Network section to get a visual glimpse of what has changed since. https://github.com/lg/murder/network The original repository put up a notice that the project is unmaintained and archived the project which effectively ends the project in practice. In this case, ervinb's fork seems to be the most active commits before being abandoned. https://github.com/ervinb/murder Other forks also had independent commits that never were pulled into other projects. Looking at the network method fails to differentiate 30 grammar fixes from 30 new features without digging into each promising looking fork. Even then, you may miss a single commit that included more work then the entirety of the other commits. Disclosure: I have not worked on murder.
This is a serious problem and I hope we solve it.
blendergeek|4 years ago
throwaway81523|4 years ago