如何让人们在我的开源项目上进行协作?

发布于 2024-10-09 02:48:47 字数 1436 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

享受孤独 2024-10-16 02:48:47

有不同程度的贡献。

首先从每个人那里获取补丁。您不必全部接受 - 如果拒绝某个补丁,请解释其被拒绝的原因以及可以采取哪些措施来改进它。

对于已接受的补丁,请清理它们(并在编码风格指南中记录清理情况)。

然后,提供最多和最好补丁的人可以直接访问存储库并开始自己接受补丁。

此时,请接受该项目不再仅属于您的事实,尽管您可能想继续并领导它。

Have different levels of contribution.

Start by taking patches from everyone. You don't have to accept them all - if rejecting a patch, explain why it was rejected and what can be done to improve it.

For accepted patches, clean them up (and document the cleanups in a coding style guide).

The people providing the most and best patches could then get access to the repository directly and start accepting patches themselves.

At this point, accept the fact that the project is no longer just yours, though you may want to continue and lead it.

烟沫凡尘 2024-10-16 02:48:47

有多少项目就有多少种开源软件的风格。到目前为止,以下指南对我来说很有效。 YMMV。

  1. 不要向所有人授予对存储库的写入权限。 DVCS 的最大好处之一是您不必这样做,每个人都有自己的存储库,原则上与您的存储库相同。仅向您真正信任并且您知道对项目有相似看法的人授予写入权限。
  2. 始终鼓励补丁和拉取请求。有时您将不得不拒绝某些补丁,但是请确保您确实向贡献者证明您的拒绝是合理的;人们不喜欢在没有充分理由的情况下被拒绝,这会阻止他们(以及其他人,因为其他人在跟踪器中看到问题历史记录)进一步贡献。此外,通过指出补丁的问题,您和贡献者都可以从经验中学习。
  3. 所有权是一个非常相对的事情。如果某人在整个项目历史中的贡献比你多 10 倍,那么谁真正拥有该项目?不要太担心所有权,专注于项目本身。确保您始终做对项目最有利的事情。其他一切都会自然而然地发生。

There are as many styles of doing OSS as there are projects. The guidelines below have worked so far for me. YMMV.

  1. Don't give write access to your repository to everyone. One of the biggest benefits of DVCS is that you don't have to, everyone gets their own repository, in principle equal to yours. Only give write access to people you really trust and that you know has similar views about the project.
  2. Always encourage patches and pull requests. Sometimes you will have to reject some patch, however make sure you really justify your rejection to the contributor; people don't like being rejected without good reason and it would discourage them (and other people too, because other people will see the issue history in the tracker) from further contributing. Also, by pointing out what's wrong with the patch, both you and the contributor will learn from the experience.
  3. Ownership is a very relative thing. If someone contributes 10 times more than you have throughout the whole history of the project, then who really owns the project? Don't worry too much about ownership, concentrate on the project itself. Make sure you always do what's best for the project. Everything else will follow naturally.
说谎友 2024-10-16 02:48:47

这里要提到的一点是,其他开发人员希望为您的项目做出贡献,因为他们需要根据自己的需求对其进行一些更改/修改/升级。如果他们没有将更改提交到您的项目中,他们将无法轻松迁移到下一个版本。
这些开发人员不会希望您分享信用或任何东西。他们只是希望进行修改/升级。

投入的开发人员越多,该项目长期存在的机会就越大。信用将是你的。

The good point to mention here, is that other developers want to contribute to your project, because they need to change/modify/upgrade it a little bit based on their needs. If they don't have the changes committed into your project, they won't be able to easily migrate to next version.
These developers won't want you to share credit or anything. They just want their modifications/upgrades be committed.

The more developers are committing the higher chance is there that the project will be alive for a long time. The credit will be yours.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文