如何在开源社区贡献代码

Matt Mullenweg, founder of Automattic, recently offered this advice to aspiring developers: “Contribute to open source.

Automattic的创始人Matt Mullenweg最近向有抱负的开发人员提供了以下建议 :“ 致力于开源。

Mullenweg — a political science dropout whose software (Wordpress) now powers nearly a quarter of all websites — says that you can “100% compensate for a lack of professional experience” by proving your abilities through open source contributions.

Mullenweg是一个政治学辍学者,其软件(Wordpress)现在可为所有网站的近四分之一提供支持。他说,您可以通过开源贡献来证明自己的能力,以“ 100%弥补专业经验的不足”。

If you can grow into a recognized position in an open source project, that puts you ten steps ahead of applications even from folks with 20 years experience in the field, at least to an Open Source-biased company like Automattic.

如果您可以在开放源代码项目中成长为公认的职位,那么即使您是在具有20年该领域经验的人员中,也至少比在像Automattic这样的受开放源代码歧视的公司中,您都领先于应用程序十步。

And the undisputed center of the open source universe is GitHub. Some people have gone so far as to say that GitHub accounts have replaced resumes.

开源世界无可争议的中心是GitHub。 有人甚至说GitHub帐户已取代履历表 。

Or as John Resig, the creator of jQuery, quipped: “When it comes to hiring, I’ll take a GitHub commit log over a resume any day.”

或就像jQuery的创建者John Resig所打趣的那样:“在招聘方面,我每天都会把GitHub提交日志作为简历。”

Free Code Camp Wiki maintainer Rafael Rodriguez has come up with an way that you can start contributing to open source in just a few minutes, without even leaving GitHub’s website.

Free Code Camp Wiki的维护者Rafael Rodriguez提出了一种方法,您可以在短短几分钟内就开始为开源做贡献,而无需离开GitHub的网站。

在Free Code Camp的Wiki上添加文章 (Adding an article to Free Code Camp’s Wiki)

Free Code Camp’s wiki is filled with articles about technology. Where as academic articles aim to be detailed, and technical documentation aims to be precise, our wiki articles aim to be easily understood by new developers.

Free Code Camp的Wiki上充斥着有关技术的文章。 当学术文章的目的是详细而技术文档的目的是精确时,我们的Wiki文章的目的是使新开发人员容易理解。

Here are some examples of things you can write about on our wiki:

以下是您可以在我们的Wiki上写的一些事例:

  • a new JavaScript library like Redux像Redux这样的新JavaScript库
  • an important person in the software world, like Dan Abramov

    软件界的重要人物,例如Dan Abramov

  • how to deploy a Wordpress e-commerce site如何部署Wordpress电子商务网站
  • how to install Ruby on Rails on Windows如何在Windows上安装Ruby on Rails
  • how to wire a Raspberry Pi into a thermostat如何将Raspberry Pi连接到恒温器
  • the history of GitGit的历史
  • your city’s Women Who Code chapter您城市的《女性密码》一章

Basically, anything related to technology is fair game. We will err on the side of inclusion.

基本上,任何与技术有关的东西都是公平的游戏。 我们会在包容性方面犯错。

First, check to make sure the article doesn’t already exist (if it does, you can help us expand it.)

首先,检查以确保文章不存在 (如果存在 ,则可以帮助我们扩展它。)

And if you can’t think of anything off the top of your head, you can choose a topic from our article requests and write a few paragraphs about it.

而且,如果您想不起什么,您可以从我们的文章请求中选择一个主题,并撰写一些有关该主题的段落。

We also welcome translations of existing articles into any world language.

我们也欢迎将现有文章翻译成任何世界语言。

Then you can contribute in by following these steps:

然后,您可以按照以下步骤进行操作:

  1. Go to Free Code Camp’s open source Wiki repository. (If you don’t have a GitHub account yet, you can create one in about 2 minutes.)

    转到Free Code Camp的开源Wiki资源库 。 (如果您还没有GitHub帐户,则可以在大约2分钟内创建一个 。)

  2. Click the “New File” button. This will automatically create a fork (your own personal copy) of the repository.点击“新建文件”按钮。 这将自动创建存储库的fork(您自己的个人副本)。
  3. Name your file “your-wiki-article-name.md” (the “md” stands for Markdown, a popular alternative to plain .txt files).将您的文件命名为“ your-wiki-article-name.md”(“ md”代表Markdown,这是普通.txt文件的替代名称)。
  4. Type out your article. If you’re unfamiliar with Markdown, you can write your article here, then copy and paste it onto GitHub.

    输入您的文章。 如果您不熟悉Markdown,可以在此处撰写文章 ,然后将其复制并粘贴到GitHub上。

  5. Scroll down and fill in a commit message (for example, “Create wiki article about the Minimax algorithm”) and optionally add a description. If you’re writing this article in response to an article request, you should reference it in the description like so: “Closes issue #177.”向下滚动并填写提交消息(例如,“创建有关Minimax算法的Wiki文章”),并可以选择添加描述。 如果您是根据文章要求写这篇文章的,则应在说明中引用它,例如:“关闭问题#177”。
  6. Click “Propose new file.”点击“建议新文件”。
  7. Click “Create pull request.”点击“创建请求请求”。
  8. Your pull request will already be populated from your commit message and description. So click “Create pull request” again to finalize it.您的提取请求将已经从您的提交消息和描述中填充。 因此,再次单击“创建请求请求”以完成该请求。

Voilà! You have created a file, a commit, and a pull request (and maybe even closed an issue in the process)!

瞧! 您已经创建了一个文件,一个提交和一个请求请求(甚至可能关闭了该过程中的一个问题)!

Raphael or another volunteer will review your pull request and may ask you to make some further improvements to your article. (In some situations, you may need clone the repository locally to squash commits or resolve merge conflicts — we’ll help you with this if it comes up.)

拉斐尔(Raphael)或其他志愿者将审核您的拉取请求,并可能要求您对您的文章进行进一步的改进。 (在某些情况下,您可能需要在本地克隆存储库以压缩提交或解决合并冲突-如果出现这种情况,我们将为您提供帮助。)

If you have questions about any of this, hop on over to our Wiki chat room and ask.

如果您对此有任何疑问,请跳至我们的Wiki聊天室并提问。

Once they accept your pull request, GitHub will merge it into Free Code Camp’s Wiki repo, and it will look something like this:

一旦他们接受了您的拉取请求,GitHub将把它合并到Free Code Camp的Wiki存储库中,看起来像这样:

Once your pull request is accepted, you can check your GitHub profile. See that green square on your heat map calendar, and that streak? You’ve made an open source contribution!

接受拉取请求后,您可以检查GitHub个人资料。 看到您的热图日历上的绿色方块和条纹吗? 您已经做出了开源贡献!

这是有意义的事情的开始。 (This is the beginning of something meaningful.)

Contributing to our wiki is a good way to ease into open source.

对我们的Wiki进行贡献是轻松进入开源的好方法。

After writing a few wiki articles (and making edits to existing articles), you’ll want to venture out and see what other projects you can help with.

在写了几篇Wiki文章(并对现有文章进行编辑)之后,您将需要尝试一下,看看还有哪些其他项目可以帮助您。

You won’t be able to contribute to most of these projects without leaving the relative comfort of your browser and GitHub’s website. But don’t be intimidated by the process of developing on your local computer — it’s not that hard.

不离开浏览器和GitHub网站的相对舒适度,您将无法为大多数这些项目做出贡献。 但是不要被本地计算机上的开发过程所吓倒, 这并不难 。

As you contribute to larger and larger projects, you’ll get better at learning codebases well enough to track down bugs and add functionality.

随着您为越来越大的项目做出贡献,您将更好地学习代码库,从而更好地跟踪错误并添加功能。

That’s how you learn. That’s how you grow as a developer. And that’s how you prove to future employers that you can collaborate with other people and write code that’s worth using.

那就是你学习的方式。 这就是您成长为开发人员的方式。 这就是您向未来的雇主证明您可以与其他人合作并编写值得使用的代码的方式。

If you liked this, click the? below. Follow me and Free Code Camp for more articles on technology.

如果您喜欢这个,请点击? 下面。 关注我和免费代码营,获取更多有关技术的文章。

翻译自: https://www.freecodecamp.org/news/how-to-land-your-first-open-source-contribution-from-your-browser-in-15-minutes-756d9bbf81ad/

如何在开源社区贡献代码

如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献相关推荐

  1. 服务器创建多个dhcp服务_如何在15分钟内创建无服务器服务

    服务器创建多个dhcp服务 by Charlee Li 通过李李 如何在15分钟内创建无服务器服务 (How to create a serverless service in 15 minutes) ...

  2. wordpress模板_如何在15分钟内定制WordPress模板

    wordpress模板 You know what my favorite WordPress development gigs are? The ones where I get to start ...

  3. 机器人坐标系建立_如何在30分钟内建立一个简单的搜索机器人

    机器人坐标系建立 by Quinn Langille 奎因·兰吉尔(Quinn Langille) 如何在30分钟内建立一个简单的搜索机器人 (How to Build A Simple Search ...

  4. es6 ... 添加属性_如何在10分钟内免费将HTTPS添加到您的网站,以及为什么您现在不止需要这样做......

    es6 ... 添加属性 by Ayo Isaiah 通过Ayo Isaiah 如何在10分钟内免费将HTTPS添加到您的网站,以及为什么现在比以往更需要这样做 (How to add HTTPS t ...

  5. 愉快的舞会c++_如何在5分钟内建立一个令人愉快的加载屏幕

    愉快的舞会c++ First, here is what we will build. Set your timer! 首先,这是我们将要建立的. 设置您的计时器! Does this look fa ...

  6. 无国界医生_如何在5分钟内创建无国界风格的技能树

    无国界医生 Growing up, I spent my spare time doing what most programmers did: played video games every wa ...

  7. 钢铁侠头盔制作图纸下载_如何在10分钟内制作头盔图

    钢铁侠头盔制作图纸下载 我每天的大部分时间都涉及创建,修改和部署Helm图表以管理应用程序的部署. Helm是Kubernetes的应用程序包管理器,负责协调应用程序的下载,安装和部署. Helm图表 ...

  8. 构建azure对话机器人_如何在5分钟内使用Azure创建聊天机器人

    构建azure对话机器人 介绍 (Introduction) As we enter an era of artificial intelligence and serverless computin ...

  9. github创建静态页面_如何在10分钟内使用GitHub Pages创建免费的静态站点

    github创建静态页面 Static sites have become all the rage, and with good reason – they are blazingly fast a ...

最新文章

  1. 标准c语言怎么绘图,C语言绘图问题
  2. MySQL 常见操作指令
  3. SharePoint 2013 商城
  4. (原创)发布一个C++版本的ORM库SmartDB(一)
  5. oracle学习--循环语句
  6. 纯净pe工具_微PE工具箱2.0
  7. 利用ipsec配置tcp/ip用于安全连接
  8. 【转】MySQL双主一致性架构优化
  9. python编写窗口怎么清除内容_如何删除或销毁tkinter中的标签?
  10. python自定义修饰器_Python进阶自检清单:来自《Effective Python》的建议(二)
  11. Head First Java
  12. @Deprecated、@deprecated注解说明
  13. Python爬取拉钩招聘网,告诉你:这类程序员最赚钱!
  14. 怎么用显卡计算_初试CUDA,入门显卡实现两千倍加速
  15. 海信在CES宣布推出75英寸到100英寸的全系全色激光电视产品
  16. 安装宝塔远程工具流程
  17. PyCharm下载安装及配置使用教程(全过程详细截图)
  18. 无线网dhcp服务器租期,缺省情况下,DHCP服务器分配IP地址的租期为()。
  19. python函数参数顺序_Python 中的参数深入、取值顺序、内置函数等
  20. 计算机基础(四)——DNS原理,让开发常忘的a记录,ns记录和cname都是什么

热门文章

  1. 系统学Android从零开始,搞懂这些直接来阿里入职
  2. django:bootstrap table加载django返回的数据
  3. WPF Slider设置整数
  4. Sublime Text 3 安装及插件推荐
  5. VC++(关于CTreecontrol控件的用法 )
  6. a article test
  7. vue按照url地址访问出错404
  8. oppo5.0以上机器(亲测有效)激活Xposed框架的教程
  9. 【深度学习系列】用PaddlePaddle和Tensorflow实现经典CNN网络AlexNet
  10. Xtrabackup数据全备份与快速搭建从服务器