r/programming • • Nov 04 '26

A Maintainer's Advice on Contributing to Open Source in 2026

https://wasp.sh/blog/2026/08/13/advice-for-contributing-in-2026
131 Upvotes

16 comments sorted by

43

u/pjf_cpp Nov 04 '26

The two main issues that I see are

  1. No tests or even a reproducer. That makes it a lot harder for maintainers to understand and test a patch.
  2. Patches too focused on fixing the contributor's problem. Patches that break things on platforms other than the contributors machine are not likely to be accepted.

9

u/Martinsos Nov 04 '26

Now when you say it, tests / reproducability go both sides. Sometimes I want to contribute a project, but just getting to run it and then confirm even a small change works can be so hard that as a new contriubtor you immeidately give up. Ok some projects are just complex so it is not always easy to accomplish this, and maintainers don't often hvae time, but this can help a lot to enable new contributors.

1

u/guillaume-mohamed50 26d ago

A reproducer is the difference between "here's a bug" and "please become a detective in my environment."

26

u/Relevant_Research_98 Nov 04 '26

Agree with maintainers on what to work on before you start

I dunno. I prefer to have fixed/improved version on my end disregarding if author agrees or not. I just don't start with pr. I may mention my fork in text or just point code to fix in issue. If they want they can copy-paste. Oh no, I might be not mentioned in commits nor CONTRIBUTORS.md, the horror! 

(Also on job interviews I wasn't asked about GitHub at all)

9

u/Martinsos Nov 04 '26

Yeah that makes sense, but one thing is having your own fork with changes you want/need, and another thing is actually going down the road of creating a PR on the original project that is going to be easy to review, that maintainers will be eager to invest their time into and merge. Of course you wouldn't check in with maintainers for the first thing, but if you are doing the second thing and are eager about it being taken well, you can increase that chance quite a bit by having a bit of communication up front, e.g. even just asking "hey I worked on this and that on my fork of your project, would you be interested if I made a PR for it".

7

u/laStrangiato Nov 04 '26

I’m a big fan of opening a simple docs update as a first PR as a litmus test of the maintainer. I’ll often even mention in the PR I have other suggestions if this is accepted.

It is generally low effort on both ends. Of the maintainer can’t be bothered to even respond, it is a lost cause IMO.

“Asking permission” to contribute is silly. You open sourced your project so there is a social contract that expects that people can open a PR. I understand that a lot of people don’t know how OSS works or how to manage PRs well but even a very new maintainer should be able to respond with a comment on a PR.

6

u/Martinsos Nov 04 '26

Yeah I think that can be a nice way to do it.

I don't think the point was to ask for permission, the point was to test the waters before you put in too much work into something that maintainers won't be eager to review.

3

u/IndependentOk9134 Nov 04 '26

skipping the PR ceremony is fine until your local fork diverges by forty commits and rebasing becomes a weekend job

2

u/gwillen Nov 05 '26

Or 5 minutes with Claude. Rebasing stuff today is easier than it's ever been, and it's the hardest it will ever be...

14

u/nicholashairs Nov 04 '26

Yeah this is my experience too, I've had both the joys of working with a human to really improve one project 🥰, and dealt with a flurry of AI PRs on another 😮‍💨.

15

u/nath1234 Nov 04 '26

The sad thing is some lazy person is just going to ask AI to read that article and then use it to formulate the PRs.

3

u/dijkstra_was_a_horse Nov 04 '26

Don't worry, the poster of that article is also a sloptimist.

5

u/Le_Vagabond Nov 04 '26

I was half expecting it to be one word: "don't".

1

u/[deleted] Nov 04 '26

[removed] — view removed comment

2

u/programming-ModTeam Nov 04 '26

No content written mostly by an LLM. If you don't want to write it, we don't want to read it.