What is inner source, and how do companies apply open-source practices internally?
Inner source means using open-source collaboration practices inside a company. The code isn't public, but any team can read it, propose changes and contribute, just as outsiders might contribute to an open-source project.
The problem it addresses
In many organizations, each team owns its code and others can only file requests and wait. That leads to duplicated tools, long queues and workarounds. Inner source lets the team that needs a change make it, with the owning team reviewing.
Core practices borrowed from open source
- Visible code: repositories are discoverable company-wide by default.
- Pull requests from other teams, reviewed by designated maintainers ("trusted committers").
- Documentation for contributors: a README, CONTRIBUTING guide and clear issue tracking.
- Discussion in the open, in issues and shared channels rather than private meetings.
Benefits
- Less duplicated work
- Faster fixes for teams blocked on another team's code
- Better documentation, because outsiders need it
- Knowledge spreads across teams
Challenges
- Ownership and incentives: teams may not get credit for reviewing others' contributions.
- Quality concerns about outside changes to critical systems.
- Long-term maintenance: who maintains a feature another team contributed?
- Culture: it requires managers to accept engineers spending time on other teams' code.
A good starting point
Shared internal libraries and tools used by many teams, where the payoff is obvious.
Does your company practice anything like inner source? What made it work or stall?
Comments · 2
The cultural part is hard. Teams have to be willing to take outside pull requests, and someone has to review them, or it quietly dies.
Good docs and a CONTRIBUTING file matter even more internally, because people assume they can just ask the other team. Writing things down makes it work.