Topics Version control What is InnerSource?

What is InnerSource?


InnerSource is a software development strategy in which companies adopt an open source approach and culture to collaborate more effectively.

What does InnerSource mean?

InnerSource is a growing trend found in high-performing development and engineering teams that adopt open source processes in order to work and collaborate more effectively. When teams use InnerSource, they develop proprietary software and open up the work internally between teams so that everyone — from developers to product managers — can contribute to the source code.

InnerSource is a software development strategy that applies open source practices to proprietary code. InnerSource can help establish an open source culture within an organization while retaining software for internal use. Teams use InnerSource to increase visibility, strengthen collaboration, and break down silos.

By setting the default to open for internal projects within an organization, teams can enable reuse of existing solutions and minimize redundancy, empower team collaboration, and leverage talent across the workforce. Organizations of any size benefit from InnerSource and can continuously incorporate modern software development practices by learning from large-scale open source projects.

In large organizations and companies, development teams are often spread out across different departments or time zones. Multiple developers may never meet or have access to the same departmental strategies. However, with InnerSource, they can align to the same workflow model, which has been proven successful in open source projects.

PayPal demonstrate how open source development practices make more efficient and profitable businesses, even if the “open” in “open source” really only extends as far as one organization’s team. Other pioneering companies adopting InnerSource, such as Bosch, Autodesk, Bloomberg, and SanDisk, demonstrate the ability to complete complex projects and create innovative products using the same lean, inexpensive system used in open source.

Why organizations want to function like open source projects

At their core, large organizations function similarly to big open source projects. In both entities, there are several moving parts: multiple contributors, various tools, and a variety of directives and strategies. However, in the traditional corporate model, an organization functions according to the instructions of a hierarchy of senior leaders. In part, the efficiency of the organization relies on the ability of managers to keep track of large amounts of incoming information.

The abundance of information often funnels up into a managerial bottleneck, so it’s unsurprising that a number of projects may be overlooked. As projects get more complex or more teams get involved, more tasks will likely go unnoticed for some time. In open source projects, the information related to development is managed through a process of documentation and checks that are designed to avoid components becoming neglected over time.

The most important open source workflow practices for enterprises are:

  • Visibility
  • Forking
  • Pull/merge requests
  • Testing
  • Continuous integration
  • Documentation
  • Issue tracker

By adopting an open source mindset to software development, organizations close gaps and break down silos, leading to a stronger and tighter software development lifecycle. In addition, it paves the way for enhanced developer experience, streamlined development methodologies, and a culture of transparent collaboration.

This approach not only boosts developer velocity but also promotes a closer collaboration among core team members across various development projects.

Benefits of InnerSource

Organizations that use InnerSource experience benefits that are typical of open source development, such as:

  • High-quality code: With unit tests, code coverage, and continuous integration, teams improve code quality earlier in the lifecycle.
  • Comprehensive documentation: Code is better documented, both in comments and less formally in discussions, leading to a single source of truth and increased transparency and shared knowledge.
  • Effective code reuse: Code and architecture are discoverable and available across teams and the organization.
  • Strong collaboration: Code reviews have less friction, communication becomes stronger, and contributions increase in number.
  • Healthy culture: Silos are broken down, so developer job satisfaction improves, leading to better retainment and recruitment.

Problems InnerSourcing solves

Here are some of the problems often faced by large organizations that innersourcing could help solve.

Challenge Solution
Communication:  In large organizations, there usually isn't a single unified team working toward a single goal. Instead, team members tend to be siloed into multiple, disconnected teams that have their own structures and leadership. Communication norms and terminologies can vary between teams, and communication and knowledge sharing is minimal and ineffective between silos. Open source systems enable participation and contributions at a large scale. TThe lines of communication are direct and visible to everyone in the project. Communication hierarchies are usually flat, eliminating unnecessary noise and connecting contributions with stakeholders.
Discovery: A software solution can be created multiple times in different departments, essentially multiplying effort, simply because departments lack communication, transparency and collaboration. Oftentimes, there's no process for checking whether a solution has been created already. The benefit of open source projects is that they're transparent by nature. Having access to the project means that teams can search to determine whether a solution exists for a problem a team faces. If someone doesn't search ahead of starting work, other project contributors have full visibility and can identify a pre-existing solution. Open source projects increase the discovery of existing solutions and help reduce the duplication of effort.
Red tape: In most commercial environments, there are organizational structures that dictate what team members can access. A team member may be aware that a solution exists, but they need to request access to a project from an administrator, causing the developer and the administrator to shift their focus away from important tasks. With open source projects, team members have full access to work on or see projects. This visibility and access decreases the administrative work and delays of having to manage access requests.
Making modifications: In a traditional commercial setting, if teams have read-only access to a project, they don't have the permissions or capability to edit or add a feature they have to ask someone else to do it. If the designated individuals responsible for changes don't have time or don't see the point, contributors have no recourse. The team responsible for the app is tasked with ensuring their app meets deadlines and functions properly, so someone's job depends on maintaining that application. Even though another team might benefit from this new feature, the request to change the application could interfere with application stability, so granting access is a risk. If a developer can't get access to make modifications that are needed, this will lead to teams building their own unique codebase or application to solve the problem, which might happen several times, with multiple people running into the same exact issue. This leads to a lot of apps being built separately to solve the same problem. If teams want to make a change to an open source project, they don't need to gain approval. Instead, they contribute the change and let the system test its functionality and validity. In practice, teams fork from the codebase, make modifications, and create a merge request which the other developer can verify it, ask questions, and test it. The individuals responsible for accepting the merge request have a reduced workload compared to the other scenario, because they didn't have to do the extra work themselves, and the feature has been tested, so they know it works. There's the added benefit that this approach reduces overall load on the report generator, since it only has to support a single codebase instead of eight.

How teams can use InnerSource

For teams that work collaboratively across different time zones — which is most teams now — and organizations with multiple departments, InnerSource is a simple way to create a more efficient workflow. Teams can break down information silos and encourage more effective collaboration across the organization. InnerSource can also be used for faster developer onboarding, and it can encourage team members to contribute software back to the open source community.

Adopting InnerSource projects translates to a shift from traditional development approaches towards more dynamic, inclusive, and efficient development workflows.

Conclusion

InnerSource represents a pivotal shift in how organizations approach software development. It promises not just an improvement in the quality and security of software products but also a cultural transformation that positions organizations for success. Utilizing InnerSource practices empowers companies to tackle modern software development challenges with agility, while promoting collaborative innovation for business growth

As organizations look towards the future, the adoption of InnerSource stands out as a strategic imperative that will equip them to meet emerging challenges and capitalize on new opportunities.

Learn how GitLab streamlines software development

Ready to get started?

See what your team can do with the most comprehensive
AI-powered DevSecOps platform.