๐Ÿš€ My First Open Source Contribution to Apache Doris

Dipish Bisht - Feb 22 - - Dev Community

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
`
Enter fullscreen mode Exit fullscreen mode

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!

.