TranslateProject/sources/talk/20220919 I got my first pull request merged!.md

5.2 KiB

I got my first pull request merged!

Experience the joy that contributing to open source brings.

Dandelion zoomed in

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.

successful merge message

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) 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 knowledge to complete the project.

The project

After long hours searching for projects, I finally found one titled, Ensure no missing alt attributes. 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. Wait, MDN? As in Mozilla developer? Will they merge my contribution even with how seemingly easy it looks? Imposter syndrome 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

mail showing that pull request has been merged

congratulatory mail on contributing and merging of pull request

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

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.

Image by: (Awosise Oluwaseun, CC BY-SA 4.0)


via: https://opensource.com/article/22/9/first-pull-request-merged

作者:Oluwaseun 选题:lkxed 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出