DEV Community

Cover image for Second open-source contribution
Omar Hussein
Omar Hussein

Posted on

Second open-source contribution

Experiencing my second contribution to open source was vastly different than the first one! This time, it wasn't just a simple code PHP submission through email, but an entire process with GitHub's workflow!

How it started

Initially I submitted an issue to the owner of the repository Node-TILify to add a feature to the tool, enabling basic markdown syntax handling and link generation. Once approved to work on the feature, forked the repo and began to work on improving the markdown syntax processor for the tool.

How it went

Developing the extra features were rather trivial with the magical help of regular expressions /\[([^\]]+)\]\(([^\)]+)\)/, but navigating the code base was an interesting task indeed! The code base felt very much like a script rather than a program, but nonetheless I contacted the owner about this concern and they had told me that they were working on refactoring the code base into a more systematic design and decided that since the work had already begun they should complete it and I would get the improvement later on, and possibly help contribute to that as well down the line.

How it ended

I'd finished developing the code for the tool and enabled better markdown syntax processing, then submitted a pull request and await it to be merged into the main branch. After a brief code review the merge finally came through! It felt nice too see my code in someones else's repository instead of my own for a change!

Top comments (0)