From 839741e3c09a02c26324bc8a56dd7fb248d5ea67 Mon Sep 17 00:00:00 2001 From: onionstalgia Date: Tue, 31 Jan 2023 00:38:31 +0800 Subject: [PATCH] translated --- ...919 I got my first pull request merged!.md | 94 ------------------- ...919 I got my first pull request merged!.md | 94 +++++++++++++++++++ 2 files changed, 94 insertions(+), 94 deletions(-) delete mode 100644 sources/talk/20220919 I got my first pull request merged!.md create mode 100644 translated/talk/20220919 I got my first pull request merged!.md diff --git a/sources/talk/20220919 I got my first pull request merged!.md b/sources/talk/20220919 I got my first pull request merged!.md deleted file mode 100644 index 5a7350d66e..0000000000 --- a/sources/talk/20220919 I got my first pull request merged!.md +++ /dev/null @@ -1,94 +0,0 @@ -[#]: subject: "I got my first pull request merged!" -[#]: via: "https://opensource.com/article/22/9/first-pull-request-merged" -[#]: author: "Oluwaseun https://opensource.com/users/jhhornn" -[#]: collector: "lkxed" -[#]: translator: "onionstalgia" -[#]: reviewer: " " -[#]: publisher: " " -[#]: url: " " - -I got my first pull request merged! -====== -Experience the joy that contributing to open source brings. - -![Dandelion zoomed in][1] - -Image by: Photo by Rob Tiller, CC BY-SA 4.0 - -Words cannot express my joy when I got the notification about the merge below, and I owe it to my current engineering school, [AltSchool Africa][2]. - -![successful merge message][3] - -Before this, I had been introduced to open source many times, told about its importance in the tech space, and even attended open source conferences (e.g., OSCAFest). I had all the instant excitement to start, but imposter syndrome set in on opening GitHub to create something. - -Fast forward to Monday, the 8th of August, 2022, when I watched Bolaji's video on contributing to open source. I felt pumped again, but I wanted to apply what I learned, so I noted some steps. - -The steps: - -1. I made up my mind I was going to contribute to a project. -2. I was focused on a site ([good first issue][4]) to pick my first project from, which I filtered to suit my skill level. I kept opening the next page till I found one. -3. I made sure I was equipped with the required [Git and GitHub][5] knowledge to complete the project. - -### The project - -After long hours searching for projects, I finally found one titled, [Ensure no missing alt attributes][6]. I was to give descriptive alt values to images from the site. Alt values in images help to improve the accessibility of the site such that screen readers can provide a detailed description of the image to, say, a visually impaired person. Easy right? Yes, but if I didn't make up my mind to get the first contribution, I wouldn't find it, and open source would continue to be a myth to me. - -I was still pumped until I discovered it was from [MDN][7]. Wait, MDN? As in Mozilla developer? Will they merge my contribution even with how seemingly easy it looks? [Imposter syndrome][8] set in. - -Upon checking the issue, I saw that people were already contributing. I summoned my courage and started reading about it. Taking my time to read and understand the project and how I needed to approach the issue was another challenge I had to overcome. - -The project is as easy as you try to understand it. - -So, I picked two images to begin with. I gave alt values to them, committed my changes, then made a pull request. The time between when I made the pull request and when I got the approval mail was full of self-doubts. Should I close the pull request? This is MDN. Well, it's not coding... What if I don't get merged? I might never contribute again. All it took to clear all of the doubts were the emails I got from my reviewer below: - -![Email of approved pull request][9] - -![mail showing that pull request has been merged][10] - -![congratulatory mail on contributing and merging of pull request][11] - -I was indeed delighted, and this inspired me to check for more. It gave me the courage I needed to request additional issues to solve. - -![Mail of issue assignment][12] - -### Summary - -A few lessons I'd love you to take home from this article are: - -* Open source is for all. Do you see that typo on that site you just visited? You helping to correct it is a way of contributing. -* No skillset is too small. A basic understanding of HTML was what I needed to contribute. -* Only you can stop yourself from contributing. -* The first contribution is all you need to get the ball rolling. - -I hope you have been able to pick something from my story and apply it today. This is another space I'd like to keep contributing to, so see you in my next article, and happy open sourcing! - -*[This article originally appeared on I got my first Pull Request merged! and is republished with permission.][13]* - -Image by: (Awosise Oluwaseun, CC BY-SA 4.0) - --------------------------------------------------------------------------------- - -via: https://opensource.com/article/22/9/first-pull-request-merged - -作者:[Oluwaseun][a] -选题:[lkxed][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://opensource.com/users/jhhornn -[b]: https://github.com/lkxed -[1]: https://opensource.com/sites/default/files/dandelion_zoom.jpg -[2]: https://www.altschoolafrica.com/ -[3]: https://opensource.com/sites/default/files/2022-09/successfulmerge.png -[4]: https://goodfirstissues.com/ -[5]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models -[6]: https://github.com/mdn/content/issues/19334 -[7]: https://developer.mozilla.org/en-US/ -[8]: https://opensource.com/article/20/9/imposter-syndrome -[9]: https://opensource.com/sites/default/files/2022-09/approved.png -[10]: https://opensource.com/sites/default/files/2022-09/merged_0.png -[11]: https://opensource.com/sites/default/files/2022-09/thanks.png -[12]: https://opensource.com/sites/default/files/2022-09/next.png -[13]: https://dev.to/jhhornn/i-got-my-first-pull-request-merged-3ei9 diff --git a/translated/talk/20220919 I got my first pull request merged!.md b/translated/talk/20220919 I got my first pull request merged!.md new file mode 100644 index 0000000000..caa06c812b --- /dev/null +++ b/translated/talk/20220919 I got my first pull request merged!.md @@ -0,0 +1,94 @@ +[#]: subject: "I got my first pull request merged!" +[#]: via: "https://opensource.com/article/22/9/first-pull-request-merged" +[#]: author: "Oluwaseun https://opensource.com/users/jhhornn" +[#]: collector: "lkxed" +[#]: translator: "onionstalgia " +[#]: reviewer: " " +[#]: publisher: " " +[#]: url: " " + +我的第一个拉取请求被合并了! +====== +> 体验为开源做出贡献的快乐。 + +![Dandelion zoomed in][1] + +图片来自 Rob Tiller, CC BY-SA 4.0 + +难以用言语形容我在收到合并通知(如下图)时的喜悦,当然这要归功于现在我上的工程学校,[AltSchool Africa][2]。 + +![successful merge message][3] + +在此之前,我曾多次接触过开源的概念,了解它在技术领域的重要性,甚至参加过开源会议(比如 OSCAFest)。我曾多次跃跃欲试,但当打开 GitHub 来想创建些东西时,冒名顶替综合症就会冒出来。 + +快进到 2022 年 8 月 8 日星期一。当观看了 Bolaji 为开源做贡献的视频之后,我重新振奋起来。不过,想要把我学到的东西付诸实践,我注意到需要下面几个步骤: + +步骤: + +1. 我要下定决心,做好为一个开源项目做出贡献的心理建设。 +2. 我要根据我的技能水平进行筛选,选择一个站点([一个比较好的议题(issue)][4])来开始我的第一个项目。我不停地往下翻看,直到找到了一个符合心意的项目。 +3. 我要确定自己掌握完成项目所需的 [Git 和 GitHub][5] 知识。 + +### 项目 + +经过长时间查找,我终于找到了一个名为 [确保没有缺失的 alt 属性][6] 的项目。我所要做的,就是为网站上的图片提供描述性的 alt 值。图片的 alt 值有助于提高网站的辅助功能,这样屏幕阅读器就可以向视障人士提供图像的详细描述了。这很简单,对吧?是的,但假如我没有下定决心想要作出贡献,我就不会找到这项目,在我心中开源仍将是个神话。 + +我心潮澎湃,直到发现这个项目是来自[MDN][7]的。等等,MDNMozzila 开发者网络?干和 Mozilla 的开发者一样的事儿?他们会合并我这么小儿科的贡献吗?[莫名顶替综合症 ][8] 又开始了。 + +在检查这个议题时,我看到有人已经在提交贡献了,于是我鼓起勇气开始翻阅项目的内容。阅读和理解这个项目颇花费了我一些时间,而另一个要克服的,就是清楚处理这个议题我要怎么做。 + +这个项目就像你想的那么简单。 + +于是,我挑选了两幅图片着手尝试。我给它们的 alt 属性赋值,提交我的更改,然后发出拉取请求。从提交请求到收到批准邮件的这段时间,我充满了自我怀疑。我要不要关闭拉取请求?这可是 MDN 啊。好吧,这甚至都不算编程...... 如果请求没有被合并怎么办?我恐怕再也不会想为开源做出贡献了。不过,所有的疑虑都在我看到审阅者发来的这些邮件时烟消云散: + +![拉取请求确认邮件][9] + +![拉取请求被合并的通知邮件][10] + +![做出贡献和请求被合并的祝贺邮件][11] + +我喜出望外,这激发了我去检查更多图片的热情,也给了我发请求解决其他议题所需的勇气。 + +![议题分配邮件][12] + +### 总结 + +我希望你能从这篇文章中感受到以下几点: + +* 开源是面向所有人的。你在刚刚访问的那个网站上看到拼写错误了吗?你帮助订正了拼写错误,这就是为开源做出了贡献。 +* 没有任何技能是微不足道的。如您所见,我所做出的贡献,只需要对 HTML 最基本的了解。 +* 能阻止你做出贡献的只有你自己。 +* 要想让雪球滚起来,需要做的就只是提交第一个贡献。 + +我衷心希望您能从我的经历中获得什么,并且今天就付诸实践。这也就是我想贡献的另一个领域,那么,我们下一篇文章见,也祝您开源愉快! + +*[这篇文章是我的第一个拉取请求被合并后的有感而发!并经许可转载。][13]* + +Image by: (Awosise Oluwaseun, CC BY-SA 4.0) + +-------------------------------------------------------------------------------- + +via: https://opensource.com/article/22/9/first-pull-request-merged + +作者:[Oluwaseun][a] +选题:[lkxed][b] +译者:[onionstalgia](https://github.com/onionstalgia) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://opensource.com/users/jhhornn +[b]: https://github.com/lkxed +[1]: https://opensource.com/sites/default/files/dandelion_zoom.jpg +[2]: https://www.altschoolafrica.com/ +[3]: https://opensource.com/sites/default/files/2022-09/successfulmerge.png +[4]: https://goodfirstissues.com/ +[5]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models +[6]: https://github.com/mdn/content/issues/19334 +[7]: https://developer.mozilla.org/en-US/ +[8]: https://opensource.com/article/20/9/imposter-syndrome +[9]: https://opensource.com/sites/default/files/2022-09/approved.png +[10]: https://opensource.com/sites/default/files/2022-09/merged_0.png +[11]: https://opensource.com/sites/default/files/2022-09/thanks.png +[12]: https://opensource.com/sites/default/files/2022-09/next.png +[13]: https://dev.to/jhhornn/i-got-my-first-pull-request-merged-3ei9