如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献
如何在開源社區(qū)貢獻(xiàn)代碼
Matt Mullenweg, founder of Automattic, recently offered this advice to aspiring developers: “Contribute to open source.”
Automattic的創(chuàng)始人Matt Mullenweg最近向有抱負(fù)的開發(fā)人員提供了以下建議 :“ 致力于開源。 ”
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是一個(gè)政治學(xué)輟學(xué)者,其軟件(Wordpress)現(xiàn)在可為所有網(wǎng)站的近四分之一提供支持。他說(shuō),您可以通過(guò)開源貢獻(xiàn)來(lái)證明自己的能力,以“ 100%彌補(bǔ)專業(yè)經(jīng)驗(yàn)的不足”。
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.如果您可以在開放源代碼項(xiàng)目中成長(zhǎng)為公認(rèn)的職位,那么即使您是在具有20年該領(lǐng)域經(jīng)驗(yàn)的人員中,也至少比在像Automattic這樣的受開放源代碼歧視的公司中,您都領(lǐng)先于應(yīng)用程序十步。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.
開源世界無(wú)可爭(zhēng)議的中心是GitHub。 有人甚至說(shuō)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的創(chuàng)建者John Resig所打趣的那樣:“在招聘方面,我每天都會(huì)把GitHub提交日志作為簡(jiǎn)歷。”
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的維護(hù)者Rafael Rodriguez提出了一種方法,您可以在短短幾分鐘內(nèi)就開始為開源做貢獻(xiàn),而無(wú)需離開GitHub的網(wǎng)站。
在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上充斥著有關(guān)技術(shù)的文章。 當(dāng)學(xué)術(shù)文章的目的是詳細(xì)而技術(shù)文檔的目的是精確時(shí),我們的Wiki文章的目的是使新開發(fā)人員容易理解。
Here are some examples of things you can write about on our wiki:
以下是您可以在我們的Wiki上寫的一些事例:
- a new JavaScript library like Redux 像Redux這樣的新JavaScript庫(kù)
an important person in the software world, like Dan Abramov
軟件界的重要人物,例如Dan Abramov
- how to deploy a Wordpress e-commerce site 如何部署Wordpress電子商務(wù)網(wǎng)站
- 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 Git Git的歷史
- your city’s Women Who Code chapter 您城市的《女性密碼》一章
Basically, anything related to technology is fair game. We will err on the side of inclusion.
基本上,任何與技術(shù)有關(guān)的東西都是公平的游戲。 我們會(huì)在包容性方面犯錯(cuò)。
First, check to make sure the article doesn’t already exist (if it does, you can help us expand it.)
首先,檢查以確保文章不存在 (如果存在 ,則可以幫助我們擴(kuò)展它。)
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.
而且,如果您想不起什么,您可以從我們的文章請(qǐng)求中選擇一個(gè)主題,并撰寫一些有關(guān)該主題的段落。
We also welcome translations of existing articles into any world language.
我們也歡迎將現(xiàn)有文章翻譯成任何世界語(yǔ)言。
Then you can contribute in by following these steps:
然后,您可以按照以下步驟進(jìn)行操作:
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.)
轉(zhuǎn)到Free Code Camp的開源Wiki資源庫(kù) 。 (如果您還沒有GitHub帳戶,則可以在大約2分鐘內(nèi)創(chuàng)建一個(gè) 。)
Type out your article. If you’re unfamiliar with Markdown, you can write your article here, then copy and paste it onto GitHub.
輸入您的文章。 如果您不熟悉Markdown,可以在此處撰寫文章 ,然后將其復(fù)制并粘貼到GitHub上。
Voilà! You have created a file, a commit, and a pull request (and maybe even closed an issue in the process)!
瞧! 您已經(jīng)創(chuàng)建了一個(gè)文件,一個(gè)提交和一個(gè)請(qǐng)求請(qǐng)求(甚至可能關(guān)閉了該過(guò)程中的一個(gè)問(wèn)題)!
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)或其他志愿者將審核您的拉取請(qǐng)求,并可能要求您對(duì)您的文章進(jìn)行進(jìn)一步的改進(jìn)。 (在某些情況下,您可能需要在本地克隆存儲(chǔ)庫(kù)以壓縮提交或解決合并沖突-如果出現(xiàn)這種情況,我們將為您提供幫助。)
If you have questions about any of this, hop on over to our Wiki chat room and ask.
如果您對(duì)此有任何疑問(wèn),請(qǐng)?zhí)廖覀兊腤iki聊天室并提問(wèn)。
Once they accept your pull request, GitHub will merge it into Free Code Camp’s Wiki repo, and it will look something like this:
一旦他們接受了您的拉取請(qǐng)求,GitHub將把它合并到Free Code Camp的Wiki存儲(chǔ)庫(kù)中,看起來(lái)像這樣:
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!
接受拉取請(qǐng)求后,您可以檢查GitHub個(gè)人資料。 看到您的熱圖日歷上的綠色方塊和條紋嗎? 您已經(jīng)做出了開源貢獻(xiàn)!
這是有意義的事情的開始。 (This is the beginning of something meaningful.)
Contributing to our wiki is a good way to ease into open source.
對(duì)我們的Wiki進(jìn)行貢獻(xiàn)是輕松進(jìn)入開源的好方法。
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文章(并對(duì)現(xiàn)有文章進(jìn)行編輯)之后,您將需要嘗試一下,看看還有哪些其他項(xiàng)目可以幫助您。
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網(wǎng)站的相對(duì)舒適度,您將無(wú)法為大多數(shù)這些項(xiàng)目做出貢獻(xiàn)。 但是不要被本地計(jì)算機(jī)上的開發(fā)過(guò)程所嚇倒, 這并不難 。
As you contribute to larger and larger projects, you’ll get better at learning codebases well enough to track down bugs and add functionality.
隨著您為越來(lái)越大的項(xiàng)目做出貢獻(xiàn),您將更好地學(xué)習(xí)代碼庫(kù),從而更好地跟蹤錯(cuò)誤并添加功能。
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.
那就是你學(xué)習(xí)的方式。 這就是您成長(zhǎng)為開發(fā)人員的方式。 這就是您向未來(lái)的雇主證明您可以與其他人合作并編寫值得使用的代碼的方式。
If you liked this, click the? below. Follow me and Free Code Camp for more articles on technology.
如果您喜歡這個(gè),請(qǐng)點(diǎn)擊? 下面。 關(guān)注我和免費(fèi)代碼營(yíng),獲取更多有關(guān)技術(shù)的文章。
翻譯自: https://www.freecodecamp.org/news/how-to-land-your-first-open-source-contribution-from-your-browser-in-15-minutes-756d9bbf81ad/
如何在開源社區(qū)貢獻(xiàn)代碼
總結(jié)
以上是生活随笔為你收集整理的如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 做梦梦到棺材出殡是什么意思
- 下一篇: utf-8转换gbk代码_将代码转换为现