question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More information about forks

See original GitHub issue

This is always hard to navigate:

image

Maybe there’s something I don’t know, but shouldn’t it be easy to:

  1. Filter out all the forks which are equal to or behind the master that was forked
  2. See how many Watchers, Stars, and Forks a fork has
  3. Display the amount of commits ahead and behind the master that was forked

Note: There is another project that started going in that direction.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

3reactions
payne911commented, Oct 19, 2020

Google helped me find this service, it already exists, no token necessary: http://gitpop2.herokuapp.com/ocornut/imgui

I’m against it. There is no intelligence in their algorithm (hence why it doesn’t require a Token).

Let’s compare my current work with theirs on the top 15 results:

image

versus

image


The advantages of my algorithm:

  • Recursive search (to find meaningful results in forks of forks too!)
  • Goes through the whole list of results, rather than only the first page which is maxed at a 100 results
  • Filters out all the forks which have never seen even a single commit on their master branch
  • I display the behind by and ahead by amount which is more meaningful then the last modification info

Also, adding a last modification metric would be trivial.

Analysis:

  1. The fact that the other tool’s results are missing that fork with 21 stars because it is a fork of a fork is what convinces me the most (it is a fork I’m personally using in a project of mine, that’s why I was aware of that glitch in most of the other tools). Not requiring a token is a dead give-away that it isn’t doing any type of recursive search.
  2. The fact that you see all those 1-star repos listed is also a give-away that the search isn’t “intelligent”: you do not see most of them in my results because they never have seen any activity after having been forked. Why do they have a star, then? Most probably they starred their own repo.

Conclusion: I genuinely believe my tool is better.


Follow-up : I like the idea of having a website for the project, but GitHub Pages being static websites, I need to do some experiments before being certain that the thing is doable.


EDIT: I also just noticed the very last result listed by that other tool is the actual repo itself.

image

There is actually an “error” with the last modification date since that project has actually not seen any activity in a while. It says 5 days ago, but it’s actually:

image

The thing picked up on an automatic commit on another branch created by dependabot:

image

3reactions
payne911commented, Oct 15, 2020

I don’t like the Network graph much: I find it hard to navigate as well.

In the meantime, I forked the project I had linked in the OP and started improving it:

image

I got the recursive “forks of forks” working, but I’ve yet to add some caching. Then scan other branches than master, I guess.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fork - Wikipedia
In cutlery or kitchenware, a fork (from Latin: furca 'pitchfork') is a utensil, now usually made of metal, whose long handle terminates in...
Read more >
Interesting facts about forks | Just Fun Facts
A fork Is an implement consisting of two or more prongs supported by a handle, used for cooking, serving, and eating food. Forks...
Read more >
The history of the fork | Royal Museums Greenwich
The fork was further developed in the 19th century with the invention of the 'spork '! A half fork half spoon super eating...
Read more >
The Fork - Alimentarium
As of the Middle Ages, utensils resembling two-pronged forks were mentioned in several French Kings' inventories.
Read more >
Fork Facts for Kids
A fork is a tool for eating. It has points called tines. Most forks have three or four tines. Some cooking-forks have two...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found