Marcel Cremer | Tech, Digitalisation and Entrepreneurship
May 16, 2019

Why your Open Source Project might lack (my?) contribution (1)

Posted on May 16, 2019
6 minutes  • 1078 words

Many developers like to “give something back” to the community by supporting Open Source projects in one way or another. The types of contribution can vary widely, e.g.:

However, sometimes contributors are also repelled by various reasons. The following reasons are some of mine…

How important it is, to have a low hurdle in your project

My first and top reason not to contribute to a project is…

…not finding a good starting point!

Like really, if you check out a project, maybe install dependencies and then the build doesn’t work first try, there’s a chance of about 90% percent for me to drop the idea of contribution.

Sometimes it takes dozens of steps to get the build running. Sometimes you find an issue where someone reports, that step xy is missing in the documentation and it’s still not updated. Sometimes you need to cherry-pick ideas from different places to get something working.

Why should I spend my time and diligence in contributing to something, that seems not important to the maintainer?

Make it easy for contributors to take the first steps, document it well and keep it updated all the time. It’s really important to support people, who want to support your project!

A good example for a low first run hurdle (node-based in this case):

Now it’s possible to play around with code while reading it, get instant feedback on what changes do and so on.

Keep also the following things in mind:

Keep your project fast!

“Okay, so I got this library and it has a bug. I found the line of code in github already, so let’s fix this real quick and send out a pull request: git clone xyz install dependencies… … … Okay, that took a while. Let’s start the program to see, if I can reproduce the error. … … … Ehm, will this ever finish? …

If you want contributors to send Pull / Merge requests, care for your project’s performance.

Sometimes the issue is obvious: Even from reading the code on the source code repository, you can put your finger on the line where the error happens.

However, to get a pull request, the contributor needs to

If you ever see it from this perspective, you surely recognize that there’s a lot of stuff to do (to fix your “little” mistake).

If it takes about an hour to setup the development environment, have the first compilation done and get tests running, I tend to just drop the idea to create a fix and instead just open an issue. Even if I had the patience to create this fix, I wouldn’t have the time for it in my daily business.

So please keep the development cycle fast!

Some ideas to achieve this:

Maintain your project

Everyone who puts up a project on github, gitlab or something is the so-called “maintainer”, but many people don’t really maintain their project.

To make this point really clear: No one expects an open source maintainer to be available 24/7 and always have an answer to any given topic.

However, if someone takes his time to carefully open an issue on your project, handle the issue itself carefully as well:

If you’ve seen the issue but don’t have the time right now, write a short note that you’ve seen it and…drum roll…don’t have the time to work on it right now! People like to be noticed by others, especially if they put some work in their issue. The answer

“Hey, I saw your issue but I’m on a business trip atm. Coming back 2 u in a few days”

Is already some kind of appreciation to the creator, shows that you take him seriously and also that you (and the project your maintaining) is still active.

The same is of course true for pull / merge requests. If you have 20 open requests without any notice or discussion, the 21st requests won’t be opened, because everyone will think: This project is unmaintained.

End of Part 1

Because this article seems to grow rapidly and I still have some things noted here, I’m going to make a cut at this point.

I’d love to hear, if you also struggle with some of those things and also, if you’d like to read some more on this topic :-)

Originally published on marcel-cremer.de

Follow me

Ich arbeite an der Saas-Plattform MOBIKO, baue Teams auf und gebe manchmal Talks.