What are the ethics & etiquette of forking someone else's github project to release it as a gem?

前端 未结 3 984
谎友^
谎友^ 2021-02-03 20:45

I\'m doing some spare time coding around CultureGrid. They have a SOLR API to access 1.2m cultural artefacts. I\'ve released a gem to consume their service, but I\'ve got a nice

相关标签:
3条回答
  • 2021-02-03 21:15

    The only example of this I know of currently is the cache-money gem. It has been forked a few times, in this order:

    • nkallen's fork
    • kbrock's fork
    • ngmoco's fork

    In each case, the project had gone dormant for quite some time. Aside from the link on GitHub showing from where the fork came, there was no attribution to the original code in any of these cases (the middle fork even forgot to update the documentation to specify which fork to install when installing from gem).

    As long as you make a good-faith effort to contact the original maintainer and the project has been idle for some time, go for it. Just make sure you update the documentation. ;)

    0 讨论(0)
  • 2021-02-03 21:16

    So, if you're not going to release a gem, just go ahead and fork (assuming the license allows it) and don't worry about it. That's 100% OK and even expected behavior at this point. Forks are actually one of the easiest ways to accept patches from contributors. The network graph is often a good way to evaluate both the health of a project as well as the potential areas for improvement.

    If you intend to release a gem because the original has become unmaintained, you should either:

    • Release it as username-originalgemname
    • Contact the original author and offer to take it over. Then push new gems under the original name.

    If you intend to release a gem because you need changes to the gem that would not benefit the community as a whole, you should either:

    • Unpack the gem into a vendor directory and never release
    • Release it as username-originalgemname

    In most cases, there is no problem with a gem release named username-originalgemname. This was the model that the GitHub gem repository took, so that's how most people handle forks at this point.

    0 讨论(0)
  • 2021-02-03 21:16

    With regards to checking a project's status, there's a new site called http://stillmaintained.com/ where some people register whether their project is either maintained, looking for a maintainer, or abandoned.

    0 讨论(0)
提交回复
热议问题