From zero to hero: contributing to open source (2017)
miparnisariblog.wordpress.com
miparnisariblog.wordpress.com
> The problems seemed easily solvable and would require some moderate amount of work.
> When that got merged, suprise! I was made a project contributor.
> Now I felt even more excited. I could push fixes and refactors without having to wait for someone to code review them.
Think about this, and then think about your dependencies. How easy it is to pay a few people full time to contribute to the edges of the NPM ecosystem (deep dependencies, forgotten dependencies) to then slowly take control over some packages? Every result that's shown with "npm fund" is a potential target. Famously, Express was sold to a company (though this wasn't for chain supply attacks, but for clout I think?).
Of course that's also the good part of open source NPM-style: in some places there isn't much red tape. But I'm wondering if companies should rely on processes like that. That seem dangerous.
"NPM" should be mentioned in thread topic.
As soon as you are no longer implicitly trusting all future versions of your dependencies, things become much more sane.
I agree, I wish npm ci and fixed dependencies were the default, but they're not and people need to learn about them.
Am I the only one feeling uneasy about this?
I'm torn if it's good or bad really. I feel like our tools should do more to protect us, but until we get there, maybe we do need to be more careful with who we're giving our trust to?
Ultimately open source is based on trust. Code reviews are nice if you can get them but github is full of projects with pull requests that aren't getting reviewed. That's frustrating for contributors and users.
I tend to feel bad when somebody submits a pull request to one of my projects and I don't have time to properly review it. It happens sometimes. But I tend to bias towards merging the work unless I see something really wrong with such pull requests in which case, I'll inform the contributor. Ultimately, OSS should be a meritocracy. People doing the work gain power and trust. Nothing wrong with that.
Why does this make you feel uneasy? Who's to say the original creator of the repo has any better intentions than the author of this article?
But you are right that the original project had the same problem of lack of review. This is a big problem in sole author open source; such projects tend to be poorly documented, have a lot of nasty code that is error prone and hard to maintain and continued fixes to. I know this from bugfix commits I've made to various project.
I feel that’s the best value for removing blockers to contribution but still retaining some measure of control over security and quality.