简体   繁体   English

如果github上的某个存储库的所有者已停止处理某个项目但我想为此做出贡献该怎么办?

[英]What if the owner of some repository on github has stopped working on some project but I want to contribute to it?

I recently liked a repository on Github. 我最近喜欢Github上的一个存储库。 I raised some pull requests but the owner of the repository has stopped working on that repository. 我提出了一些拉取请求但是存储库的所有者已停止在该存储库上工作。 My pull requests remain open. 我的拉动请求仍然开放。 The last commit by him was over two years ago. 他最后一次承诺是两年多以前的事了。 What should I do in this situation? 在这种情况下我该怎么办? I don't want that I do a lot of changes and new additions and still it shows in my repo only. 我不希望我做了很多更改和新添加,但仍然只在我的回购中显示。 Should I create a new repository of mine? 我应该创建一个新的我的存储库吗?

This is my workflow: 这是我的工作流程:

  • Keep maintaining your fork. 继续保持你的前叉。
  • Ping the owner a few times (using @owner-username ). ping所有者几次(使用@owner-username )。 Maybe (s)he just missed your pull request, for some reason. 也许是因为某些原因他错过了你的拉动请求。
  • If after some time you don't get any feedback, I would recommend converting your fork into a source repository by deleting your fork repository (this will not close/delete the pull request) and pushing your fork repository there: 如果在一段时间后你没有收到任何反馈,我建议你删除fork存储库(这不会关闭/删除pull请求)并将fork存储库推送到那里,从而将fork转换为源存储库:

     cd your-fork git remote set-url origin http://github.com/your-username/repo git push --all 

    I prefer sources over forks because forks have some limitations (eg you cannot search code in forks). 我更喜欢源而不是叉子,因为叉子有一些限制(例如,你不能在叉子中搜索代码)。

  • Finally, it's good to add a note that your repository is a continuation of the unmaintained repository. 最后,最好添加一个注释,表明您的存储库是未维护的存储库的延续。

As one of the comments suggests continue to work on your fork and it may become the de facto version of the particular thing. 正如其中一条评论所暗示的那样继续在你的分支上工作,它可能成为特定事物的事实上的版本。

I thought I would add an additional answer for people searching that land here as Github recently added a new feature that maintainers who may not have time to actively develop something they started can make use of: archiving . 我认为我会为在这里搜索这片土地的人添加一个额外的答案,因为Github最近添加了一个新功能,维护人员可能没有时间积极开发他们开始使用的东西: 归档

From the blog post: 来自博文:

Archiving a repository makes it read-only to everyone (including repository owners). 归档存储库使其对每个人(包括存储库所有者)都是只读的。 This includes editing the repository, issues, pull requests, labels, milestones, projects, wiki, releases, commits, tags, branches, reactions and comments. 这包括编辑存储库,问题,拉取请求,标签,里程碑,项目,维基,发布,提交,标签,分支,反应和评论。 No one can create new issues, pull requests, or comments on an archived repository, but you can still fork archived repositories—allowing development to continue elsewhere for archived open source projects. 没有人可以在存档的存储库中创建新问题,提取请求或注释,但您仍然可以分割存档的存储库 - 允许开发在其他位置继续存档的开源项目。

To archive a repository, go to your Repository Settings Page and click Archive this repository. 要归档存储库,请转到“存储库设置”页面,然后单击“存档此存储库”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何忽略一些文件到与 github 同步的本地存储库? - How can i ignore some files into a local repository synched with github? 我可以通过我的GitLab帐户为GitHub上托管的项目做贡献吗? - Can I contribute to a project hosted on GitHub from my GitLab account? 如果我是所有者,如何分叉GitHub存储库 - How to fork a GitHub repository if I'm the owner 我创建了一个项目,然后进行了一些更改,项目所有者可以看到我的更新吗? - I forked a project, then push some changes, can the project owner see my update? Git 有一些沉重的文件,我想清理它 - Git has some heavy files, I want to clean this 一些 git 命令停止在 Windows 上工作 - some of the git commands stopped working on Windows 为什么 git fetch 在一些 rev-parse 命令后停止工作? - Why has git fetch stopped working after some rev-parse commands? 使用 git pull request 为开源项目做出贡献的工作流程是什么? (例如通过 Github) - What's the workflow to contribute to an open source project using git pull requests? (eg. via Github) 如何签署我不是所有者的 Github 存储库的提交? - How to sign my commits to Github repository where I am not the owner? 如何从公共隐藏一些文件,但也可以在 Github 存储库中对它们进行版本控制 - How can I hide some files from public but also version them in Github repository
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM