Open floatas opened 5 years ago
@floatas this is a fair point. I would be open for a PR with such an option. Would you be interested in working on this? Or, anyone else? Otherwise, I will try to get this in next weekend.
I'm not sure If I will have time next week. We can this this up for grabs, who wants to implement this could assign himself or leave comment.
This sounds like it would be really useful - an 'ahead' column would give you a good idea which branches have actually been worked on independently by the forker. These are the only interesting ones!
A problem I can see is that you presumably have to choose a branch on the fork before deciding whether it's ahead or not.
@countingpine I think we could start with choosing a default branch of the fork as the branch to compare with. I have not looked it yet but I will take a look coming weekend and try to get this working
any news about this task?
Surely I forgot about this. I am not available this weekend but next weekend, I will try to knock this one. Putting on reminder but happy to take in any prs
Anyone can access this link and copy the content somewhere, so we/i could help with this feature?
@oriadam I copied html source to pastebin: https://pste.eu/p/R5Ux.html
A lot of time passed since I created this issue, but little to no work has been done. I created simple implementation which makes request for each fork to get info. Starting point on which we can improve. Maybe some hacktoberfest hackers want to help on this!
@floatas you're awesome. thanks for the PR. I for sure have been caught up with real world job and I apologize for not getting this done. I will take a look at your PR soon. Appreciate your work.
How did this PR go?
I'm interested in an update on the PR for this too. The more I use this tool the more I find that would be a useful feature for sure!
If you made any progress can you open a pull request with [WIP] prefix within title? I think we might help to the this feature. I think it is most needing feature.
You could use this project to investigate active forks on this repository 😜 if I remember correctly one fork has this implemented (or almost, don't remember correctly) 🙈
You could use this project to investigate active forks on this repository 😜 if I remember correctly one fork has this implemented (or almost, don't remember correctly) 🙈
I found two actually 😂
KyleKing/active-forks lukaszmn/active-forks
KyleKing's solution fast but some repos show error in year column some reason. Lukaszmn's solution super slow but It shows each fork how much ahead and behind and besides shows how much can i make request the Github API.
The changes in my fork were merged in https://github.com/techgaun/active-forks/pull/4, so it hasn’t been updated since
@techgaun any chance you can add this much-desired feature to this awesome project soon please?
A related implementation is available (Source code)
a GitHub token is asked, then a sortable table with last commit date and a diff is displayed. Click on this diff to see the commit names. The GitHub Quota is displayed too
https://stackoverflow.com/questions/54868988/how-to-determine-which-forks-on-github-are-ahead - here GitHub HTML is parsed to fetch the info, and there is an implementation in Go https://github.com/hbbio/forkizard
Thanks @abitrolly !
I discovered this bookmarklet thanks to your references, and it provides a good way to discover active forks without additional installation
Go solution didn't work for me, because it seems that GitHub updates this info dynamically https://github.com/hbbio/forkizard/issues/7
Currently this project shows active forks based on forks\fallows, but I'm interested more in development side. It would be great to see fork status. Additional column with number of commits behind\ahead\identical. It looks like this would require new request for each fork. Maybe checkbox could be added 'Show fork status' which would show additional column ?
e.g: https://api.github.com/repos/justcla/EasyMotion/compare/master...DomasM:master