Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commits behind\ahead\identical #17

Open
floatas opened this issue Nov 3, 2018 · 22 comments
Open

Commits behind\ahead\identical #17

floatas opened this issue Nov 3, 2018 · 22 comments

Comments

@floatas
Copy link

floatas commented Nov 3, 2018

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

@techgaun
Copy link
Owner

techgaun commented Nov 4, 2018

@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.

@floatas
Copy link
Author

floatas commented Nov 4, 2018

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.

@countingpine
Copy link

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.

@techgaun
Copy link
Owner

techgaun commented Dec 5, 2018

@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

@cagnulein
Copy link

any news about this task?

@techgaun
Copy link
Owner

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

@oriadam
Copy link

oriadam commented Aug 19, 2019

  1. this comment looks helpful but I have no access to the link attached there:
    https://developer.github.com/v3/repos/commits/#compare-two-commits

Anyone can access this link and copy the content somewhere, so we/i could help with this feature?

  1. this fork added a column "commits this year" if it helps anyone:
    KyleKing/active-forks
    example: https://kyleking.me/active-forks/?q=techgaun/active-forks

@floatas
Copy link
Author

floatas commented Aug 21, 2019

@oriadam I copied html source to pastebin: https://pste.eu/p/R5Ux.html

@floatas
Copy link
Author

floatas commented Oct 1, 2019

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!

@techgaun
Copy link
Owner

techgaun commented Oct 1, 2019

@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.

@Justinzobel
Copy link

How did this PR go?

@morrowsend
Copy link
Contributor

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!

@ridvanaltun
Copy link

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.

@floatas
Copy link
Author

floatas commented Oct 13, 2020

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) 🙈

@ridvanaltun
Copy link

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.

@KyleKing
Copy link
Contributor

The changes in my fork were merged in #4, so it hasn’t been updated since

@vesper8
Copy link

vesper8 commented Feb 16, 2021

@techgaun any chance you can add this much-desired feature to this awesome project soon please?

@RoneoOrg
Copy link

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

@abitrolly
Copy link

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

@RoneoOrg
Copy link

Thanks @abitrolly !

I discovered this bookmarklet thanks to your references, and it provides a good way to discover active forks without additional installation

@abitrolly
Copy link

Go solution didn't work for me, because it seems that GitHub updates this info dynamically hbbio/forkizard#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

13 participants