DEV Community

Dipish Bisht
Dipish Bisht

Posted on

🚀 My First Open Source Contribution to Apache Doris

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!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay