Current best practice for “retiring” a project on github and npmjs.org?

﹥>﹥吖頭↗ 提交于 2019-12-10 16:35:55

问题


I'm the maintainer of a public project on github (and npm). When I created the project it solved my particular requirements better than available alternatives. However, the community has caught up and surpassed my solution. I don't even use the tool I created any more, and I'm not interested in maintaining it. I updated the README to this effect, but I'm still getting pull requests. Should I simply take it down? Is this considered rude given others are forking it and trying to contribute? So far I've had no luck getting these others to accept responsibility as its maintainer(s).

I'm not looking for arbitrary subjective opinions, rather evidence of some kind of consensus -- perhaps in the form of documentation or a howto from a recognized authority. Thanks.


回答1:


  1. Edit README.md and place big shiny deprecation notice telling "this is no longer supported, please consider using XXX instead"
  2. Use npm deprecate to place a deprecation notice on every install.

Is this considered rude given others are forking it and trying to contribute?

Yes.



来源:https://stackoverflow.com/questions/22457959/current-best-practice-for-retiring-a-project-on-github-and-npmjs-org

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!