Introduction
Open source has always fascinated me, and I finally took the step to
contribute! Recently, I made my first contribution to Apache Doris, an
open-source organization. In this post, Iโll share what I did, the
challenges I faced, and what I learned along the way.
๐ง What Was My Contribution?
While exploring the Apache Doris website, I noticed some duplicate key
warnings, missing keys, and unnecessary imports that could affect
performance. So, I decided to:
โ
Fix duplicate key and missing key warnings in React components.
โ
Remove unused imports to optimize the codebase.
โ
Improve website performance by reducing unnecessary re-renders.
Hereโs my Pull Request (PR): [Link]
๐ฅ Challenges & How I Solved Them
1๏ธโฃ Understanding the Codebase: Open-source projects are massive! I
started by reading the documentation and checking the project's issue
tracker.
2๏ธโฃ Setting Up the Local Environment: Had to install dependencies and
make sure the project built correctly.
3๏ธโฃ Git Rebase & Conflict Resolution: When rebasing my branch with the
latest changes from master, I faced a yarn.lock conflict. I resolved
it by:
`
git rebase origin/master
# Resolved conflicts, then
git add .
git rebase --continue
`
4๏ธโฃ Waiting for Maintainerโs Review: After pushing my changes, the
maintainer asked me to rebase and push again.
๐ฏ Key Takeaways
- Even small fixes matter in open-source projects.
- Learning git is essential for contributing to active projects.
- Maintainers are helpful! Engage with them if youโre stuck.
- Open-source contributions improve your coding skills and help the community.
๐ก Thinking About Contributing? Just Start!
If youโve been hesitant to contribute, I encourage you to just pick an
issue, explore, and give it a shot. Open source is a great way to
learn, collaborate, and showcase your skills.
Iโd love to connect with fellow developers! Letโs talk in the comments
๐
๐ข What Next?
I plan to contribute more, especially to The Apache Software
Foundation
and other projects in GSoC 2025. Stay tuned for updates!