Hacktoberfest’s first commit

A complicated software or application takes lots of effort to build and it takes extra effort to maintain. That is why developers utilize GitHub to make their source code open to the public, so that others can fix bugs, add features to their applicatio…


This content originally appeared on DEV Community and was authored by TueNguyen2911

A complicated software or application takes lots of effort to build and it takes extra effort to maintain. That is why developers utilize GitHub to make their source code open to the public, so that others can fix bugs, add features to their applications.

In the course, I've been using GitHub with other students to somehow simulate the open-source processes. However, with Hacktoberfest, it's the perfect opportunity to contribute to real projects and participate in the event.

Looking for good issues

After filtering the search results with the label Hacktoberfest, there were more than 50,000 issues open, but finding a perfect is not an easy task. I've come across a lot of issues which were out of my knowledge or issues that people created for the sake of Hacktoberfest which were not worth spending time on.

I finally chose a few interesting repos and issues that I liked. My 2 pull requests this week got merged and I felt very happy about it. Since this PR got accepted first, I will talk about it.

First PR merged

I asked and got assigned the issue to add better error messages from a npm package youtube-uploader. At first, the script looked a bit complicated, most error messages were quite clear and I was also working on another issue, I asked the owner to drop my assignment but he insisted me to look over it again. Taken aback by his generosity, I opened the text editor and tried to understand the code to improve error messages. Eventually, I understood the script, found a few debug messages to clarify and an hour a later, a Pull Request was up and waiting to be reviewed.

These are some of the improvements that I did

try {
    await localPage.waitForSelector(avatarButtonSelector)
  } catch (e) {
    throw new Error('Avatar/Profile picture button not found : ' + e.name)
  }
//... 
try {
    await localPage.waitForSelector(langMenuItemSelector)
  } catch (e) {
    throw new Error('Language menu item selector/button(">") not found : ' + e.name)
  }

What have I learned?

There are some lessons that I've drawn:

  • Take time to filter the issues that you like
  • Be patient when installing and reading the the others' code
  • Ask for help by reaching out to the author in GitHub, Discord,...


This content originally appeared on DEV Community and was authored by TueNguyen2911


Print Share Comment Cite Upload Translate Updates
APA

TueNguyen2911 | Sciencx (2021-10-09T03:20:58+00:00) Hacktoberfest’s first commit. Retrieved from https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/

MLA
" » Hacktoberfest’s first commit." TueNguyen2911 | Sciencx - Saturday October 9, 2021, https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/
HARVARD
TueNguyen2911 | Sciencx Saturday October 9, 2021 » Hacktoberfest’s first commit., viewed ,<https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/>
VANCOUVER
TueNguyen2911 | Sciencx - » Hacktoberfest’s first commit. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/
CHICAGO
" » Hacktoberfest’s first commit." TueNguyen2911 | Sciencx - Accessed . https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/
IEEE
" » Hacktoberfest’s first commit." TueNguyen2911 | Sciencx [Online]. Available: https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/. [Accessed: ]
rf:citation
» Hacktoberfest’s first commit | TueNguyen2911 | Sciencx | https://www.scien.cx/2021/10/09/hacktoberfests-first-commit/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.