This might be useful if you have no clue about software engineering and free/libre open source software. However, if you're doing this for a living, you will probably not learn anything new (hence my 3-star rating is biased by my experience).
------------Some notes
# Many noobs vs a few experts
- <2% of contributions overall are from people who make just one commit.
- in ~85% of github projects, <5% of developers were responsible for 95+% of code and social interactions
So, the main problem is not in attracting contributors, but in managing their work effectively.
# ch1
- 45% of open source projects on github use the MIT license.
-
Bill Gates' definition of platform: if the sum of economic value of those who use X exceeds the value of the company that created X.
# ch2 structure of an open source project
## production models
### federation
High contributor growth
High user growth
ESRaymond's "bazaar"
<3% of open source projects are like that, e. g.: Linux, rust
They have processes, councils, voting,... -> to handle coordination issues.
### club
High contributor growth
Low user growth
There are fewer users overall, but they're more likely to be contributors
Ex: astropy, closure, haskell, erlang -> these are rather specialized tools, users are typically more qualified and intrinsically motivated to use and contribute.
Unlike the bazaar, this is more like a small town -> everyone knows everyone.
### toys
Few contributors, few users.
These are personal projects.
### stadium
Few contributors, lots of users.
A centralized structure, centered on a few maintainers, who decide on the behalf of users.
# ch3 roles, incentives and relationships
"I've never met people in cafes, but I never had to leave one because 3 billion people suddenly decided to walk in" Star Simpson
## Design principles that help avoid the tragedy of commons
1. Membership boundaries are clearly defined
2. The rules that govern the commons should match the actual conditions
3. Those affected by the rules can participate in modifying them
4. Those who monitor the rules are either community members or are accountable to it
5. Those who violate the rules are subject to graduated sanctions
6. Conflicts should be resolved within the community, using low cost methods
7. External authorities recognize the right of the community members to devise their own institutions
8. If the commons is a large institution, it is structured as multiple, nested layers of authority
Members should have skin in the game, i.e., have the intention to stay in the community for a while and be interested in its long term future.
What makes it work well
- intrinsic motivation
- tasks must be modular and granular (like in the Unix way)
- low coordination costs
- there's also extrinsic motivation (like reputation or recognition) but as a project matures, these gains flatten out - everyone already knows who you are
Analogy for maintainers - they're expected to always be there and provide updates and support. Imagine that a book author has to make tweaks to the book long after publishing it.
Contributors
- Casual
- active
Users
- active - these open issues and sometimes contribute, maintainers know about them
- passive - lurkers, maintainers have no clue who they are and how many of them are out there.
- some projects have some telemetry to quantify use cases, but it doesn't come without the pushback from some users
Costs of software
- creation
- distribution
- maintenance
Infrastructure costs for pypi: between 2 and 3 million USD /year!
Substitutability: how easy it is to switch from one component to another. For example, when leftpad was removed from npm, a functionally identical package was available within 1h.
# ch5 managing the costs of production
The freerider problem - if you cannot exclude someone from using a product, they'll use it without paying.
A tragedy of the commons can occur. For example - parks will get crowded, grass will be worn out, trashcans will overflow, etc. The solution is to support it via taxes, and through entrance fees.
But what government is supposed to handle this when it comes to distributed open source projects, with contributors all over the world?
Example: restriction on exporting crypto, enforced by the US government.
## The one-way mirror approach to production
People who request features (and do nothing else) create more workload for developers, just looking at the newly opened issue takes time and mental bandwidth. If there's an excess of this, especially from people who do not contribute or have skin in the game -> tragedy of the commons.
Something similar happened to Guido van Rossum and departure from BDFL. Lots of people with an opinion but little to no skin in the game consumed his mental bandwidth.
Alternative idea, treat production like a **one-way mirror**: anyone can see the code and use it, but not necessarily have direct contact with the developers.
As a book author stated: I want people to read my book, I hope they enjoy it, but I don't want to know what they think about it. :-)
## peer source
All projects are private repositories, which only trusted developers are invited to.
The rest could only download the binaries, and keep in mind that there's no accountability to them.
This is a bit like in private torrent trackers, which are invite-only.
## extractive and non-extractive contributions
Extractive: the energy needed to process the contribution exceeds the benefit it brings.
Examples of such contributions: comments, feature requests and questions.
Non-extractive contributions
- small and granular
- easy to review and understand
- require no additional input from maintenaners
- bigger ones that take more energy can still be worth it, if they bring great benefits
Examples of such contributions:
Translations seem to be Non-extractive, but as software evolves - documentation needs to be in sync.
- does the translator promise to keep it up to date?
- do they promise to find someone who will?
# managing a producer's attention
- reduce upfront costs
- make themselves less available
- distribute costs onto users
- increase total attention available
For example, a linter in the CI pipeline provides quick feedback to contributors at no additional cost to the maintainers' attention. Automated tests also help.
Choose a platform that provides features for automation, for example github has "dependabot"
Code style guides also raise the quality bar.
Templates and checklists.
## n=1, limit a producer's attention
Example about Lua. Someone asked if they can open a pull request for Lua, and the author said "yes, but I won't use your code. If I like the idea, I will implement it myself".
This way the project code is consistent, because it comes from the same mind.
Empower users to talk to each other and cooperate to solve their problems - thus the development team is less busy.
Ask contributors to work on their own fork first, this way their work can evolve separately from the project itself, until it matures.
# the role of money in open source
Funders
- institutions
- individuals
Companies tend to value
- code quality
- influence on a project's Roadmap
- brand association
Charge for new versions, give old ones for free.
Pay-to-play: this sometimes happens in federation style projects, big companies try pay to get a seat at the decision-making table, so to speak.
- The apache foundation specifically tries to combat it, by explicitly requiring members to represent themselves, not their employers
The elephant-factor: a measure of how much a project depends on a small set of corporate contributors.
Hacktoberfest - interesting idea, but it attracts casual committers, rather than long-term collaborators who stick around. Casual committers who make low-effort and low-value contributions are already here.
Pay for the work that contributors aren't otherwise incentivized to do.
Fund individuals rather than foundations. For example, would "leftpad" and its 17 lines of code really go out on a limb to start a non-profit foundation?