Live data from Hacker News

Fork Freshness: Project lifespans in the Ruby ecosystem

gilesbowkett.com

21–30 of 38 posts

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#21

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.

author here! maybe I'll cave and just set up a regular UI. email might work also.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#22

Earlier quoted context omitted.

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 developmen…

I think sorting forks by most recent commit would good enough. Not sure why GitHub doesn't do more to help with discoverability

I wholeheartedly agree with this. I think it's just a blind spot they have, although back in the day a GitHubber told me it was also about maintaining an agnostic approach to governance.

btw, iirc GitLab does give you the option of sorting by most recent commit.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#23

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.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#24
post #5

I usually just use https://techgaun.github.io/active-forks/index.html Any chance this could be made not to rely on Twitter?

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 anoth…

> I wrote that up here, in a fairly gigantic blog post:

That blog post is the same link for this thread.

> without creating a User model

A User model isn't necessary if you don't require login to use your tool.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#25

Earlier quoted context omitted.

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. [1] https://stackoverflow.com/questions/54868988/how-to-determin... [2] https://github.com/dragongling/Better-Github-Forks

it does! although the reason I use a different strategy is not for more data, but for better data. see this comment: https://news.ycombinator.com/item?id=28984305

I think "commits ahead" and "commits behind" are more useful in ascertaining active forks than the most recent push time.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#26
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.

This is a serious problem and I hope we solve it.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#27

Earlier quoted context omitted.

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 anoth…

> I wrote that up here, in a fairly gigantic blog post: That blog post is the same link for this thread. > without creating a User model A User model isn't necessary if you don't require login to use your tool.

> My theory now is that whichever ActiveRecord model is closest to the UI will grow huge as it comes to incorporate a comprehensive catalog of user interactions. It's an interesting question, but it's also a topic for another time.

User preferences, settings, interaction history, whatever can be stored in different models. The User model can be slim.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#28
post #2

Is there a reason this requires a Twitter account? Seems like something I'd like to use but I don't have Twitter.

The article mentions it in the section "How It Works: UI"

I do have a Twitter account, basically so nobody else can create one with my usual handle, and never use it.

I don't see why I should let Twitter know that I'm using this service. Furthermore I should log into Twitter in a browser tab and go there to check if the result arrived. On the other side I understand that it's hard to find a convenient asynchronous delivery mechanism. Email is what everybody has but it's hard to send thousands of emails for free and not to get into a spam list.

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#29
post #5

I usually just use https://techgaun.github.io/active-forks/index.html Any chance this could be made not to rely on Twitter?

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 anoth…

Cool project. Going to fire a tweet now, as I’m interested in one particular repo.

Same problem as stated here, repo owner moved on. Thankfully a few people have contributor access on the main repo so it hasn’t died yet. But I’m likely to go awol on it in the next few months and there’s no clear second in command to hand it to.

I’ve also been working with the GitHub api this weekend and I was wondering how pushed_at and updated_at were differentiated. Good to know re: dependabot

Re: Fork Freshness: Project lifespans in the Ruby ecosystem

#30

This problem could be solved if Github simply sorted the list of forks by stars instead of alphabetically.

That is a good idea but they actually also should do:

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

Post reply on HN