Skip to content

Commit dba2f4e

Browse files
committed
feat: add Migrating from InnerSource to Open Source
chore: add inputs from ISPO WG to Require InnerSource before Open Source
1 parent df52668 commit dba2f4e

File tree

2 files changed

+140
-3
lines changed

2 files changed

+140
-3
lines changed

patterns/1-initial/innersource-before-open-source.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,22 @@ This pattern applies in organizations that:
2323
- Want to release internal software as open source.
2424
- Lack structured internal collaboration processes.
2525
- Have teams unfamiliar with maintaining open source projects.
26-
- Need to establish internal governance and contribution models before engaging the broader open source community.
26+
- Need to establish internal governance and contribution models before engaging the broader open source community.
27+
- Operate in regulated industries (healthcare, financial services) where compliance requirements are stringent.
28+
- Have concerns about intellectual property, security, or competitive advantage when releasing code publicly.
29+
- Want to validate project value and adoption internally before external exposure.
2730

2831
## Forces
2932

3033
- **Collaboration Readiness**: Teams may not be used to handling external contributions or asynchronous collaboration.
3134
- **Documentation Gaps**: A lack of contributor guidelines, API documentation, and onboarding materials can hinder adoption.
3235
- **Governance & Ownership**: Without clear ownership and decision-making processes, project direction can become unclear.
3336
- **Support Burden**: Open source projects require active maintainers to review pull requests, address issues, and engage the community.
34-
- **Security & Compliance**: Code may require review to meet licensing and security requirements before being released publicly.
37+
- **Security & Compliance**: Code may require review to meet licensing and security requirements before being released publicly.
38+
- **Regulatory Compliance**: Increasing government regulations may require additional considerations when moving from InnerSource to Open Source.
39+
- **Intellectual Property Risk**: Corporate information embedded in comments or code may create legal exposure when released publicly.
40+
- **Bidirectional Movement**: Projects may need to move from Open Source back to InnerSource if they become unmaintained or face sustainability challenges.
41+
- **Market Awareness**: Limited understanding of InnerSource practices in the broader market may affect external adoption.
3542

3643
## Solution
3744

@@ -43,7 +50,11 @@ Before making a project open source, require it to go through an InnerSource pha
4350
4. Maintainers get to practice the soft skills required to support a community of people outside of their own team.
4451
5. Internal adoption and success metrics are measured to determine if the project is ready for external release. Some possible metrics are detailed in the [Repository Activity Score](../2-structured/repository-activity-score.md).
4552
6. Feedback loops are created to refine processes before engaging a broader open source audience.
46-
7. Decision about whether or not the project should be released as open source (based on the success metrics defined earlier). The incubation phase as an InnerSource project can be seen a quality gate. So naturally not all projects will pass that gate.
53+
7. **Legal and compliance review**: Conduct thorough checks for copyright, patents, and corporate information that may be embedded in comments or code before external release.
54+
8. **Security assessment**: Perform security reviews to ensure open sourcing won't create vulnerabilities or expose sensitive information.
55+
9. **OSP/OSPO vetting**: Have an Open Source Program Office (OSPO) or equivalent team review the project for engineering quality, legal compliance, and strategic alignment.
56+
10. **Approval process**: Establish a formal approval workflow where projects are added to an approved list that legal departments can reference for ongoing compliance.
57+
11. Decision about whether or not the project should be released as open source (based on the success metrics defined earlier). The incubation phase as an InnerSource project can be seen a quality gate. So naturally not all projects will pass that gate.
4758

4859
## Resulting Context
4960

@@ -78,6 +89,7 @@ We are currently reviewing our InnerSource stage flow, where a project will be a
7889

7990
- Sebastian Spier
8091
- Fernando Correa
92+
- Jeff Bailey
8193

8294
## Alias
8395

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
## Title
2+
3+
Migrating from InnerSource to Open Source
4+
5+
## Patlet
6+
7+
When an InnerSource project succeeds internally and meets criteria for external release, establish a process that addresses legal, security, governance, and community readiness to transition the project to open source while maintaining its internal value.
8+
9+
## Problem
10+
11+
Organizations with successful InnerSource projects may want to transition to open source but lack structured processes. Without proper planning, projects risk legal issues, security vulnerabilities, governance conflicts, and community challenges that could harm success and reputation.
12+
13+
## Story
14+
15+
A tech company developed a popular internal tool using InnerSource, achieving strong adoption and good documentation. When they open sourced it, they found corporate information in comments, unclear licenses, and no community processes. The rushed release caused legal issues, security risks, and overwhelmed maintainers struggling with external contributions.
16+
17+
## Context
18+
19+
This pattern applies when:
20+
21+
- An InnerSource project has achieved internal success and adoption.
22+
- The organization has established InnerSource practices and governance.
23+
- There is strategic value in releasing the project publicly.
24+
- Legal and compliance frameworks are in place for open source releases.
25+
- The project team has experience with collaborative development practices.
26+
- External market demand or strategic positioning justifies open sourcing.
27+
28+
## Forces
29+
30+
- **Legal Complexity**: Existing code may contain proprietary information, unclear licensing, or patent concerns that must be resolved before public release
31+
- **Security Exposure**: Internal security practices may not be suitable for public code, requiring a comprehensive security review
32+
- **Governance Transition**: Internal governance structures may conflict with open source community expectations and meritocracy principles
33+
- **Community Readiness**: Internal teams may lack experience managing external contributors and community dynamics
34+
- **Resource Allocation**: Open source projects require ongoing maintenance and community support that may conflict with internal priorities
35+
- **Brand and Reputation**: Public release represents the organization to external communities and may impact brand perception
36+
- **Competitive Advantage**: Releasing code publicly may reduce competitive advantages while potentially increasing market influence
37+
- **Regulatory Compliance**: Industry-specific regulations may impose additional requirements for public code releases
38+
39+
## Solutions
40+
41+
Establish a comprehensive migration process that includes:
42+
43+
1. **Pre-Migration Assessment**: Evaluate the project's readiness using established criteria, including adoption metrics, documentation quality, and community management capabilities
44+
45+
2. **Legal and Compliance Review**:
46+
- Conduct a thorough code review to identify and remove proprietary information.
47+
- Establish clear licensing terms and intellectual property ownership.
48+
- Perform patent and copyright clearance.
49+
- Create legal documentation for external contributors.
50+
51+
3. **Security Hardening**:
52+
- Remove internal credentials, API keys, and sensitive configuration.
53+
- Implement security best practices suitable for public code.
54+
- Establish vulnerability disclosure processes.
55+
- Create security documentation and guidelines.
56+
57+
4. **Governance Structure Design**:
58+
- Define decision-making processes that balance internal needs with community input to ensure effective outcomes.
59+
- Establish maintainer roles and responsibilities.
60+
- Create contribution guidelines and code of conduct.
61+
- Design community management processes
62+
63+
5. **Community Preparation**:
64+
- Train maintainers on open source community management
65+
- Establish communication channels and documentation standards.
66+
- Create onboarding processes for external contributors.
67+
- Develop community engagement strategies.
68+
69+
6. **Infrastructure Setup**:
70+
- Migrate to public repositories with appropriate access controls.
71+
- Set up CI/CD pipelines suitable for public development.
72+
- Establish issue tracking and project management tools.
73+
- Create public documentation and websites.
74+
75+
7. **Gradual Release Strategy**:
76+
- Start with limited external access or beta releases.
77+
- Gradually expand community participation.
78+
- Monitor adoption and community health metrics.
79+
- Adjust processes based on community feedback.
80+
81+
8. **Ongoing Support Framework**:
82+
- Establish maintenance and support processes.
83+
- Create escalation procedures for critical issues.
84+
- Define success metrics and review cycles.
85+
- Plan for long-term sustainability
86+
87+
## Resulting Context
88+
89+
After successful migration:
90+
91+
- The project gains external contributors and broader adoption.
92+
- Internal teams develop open source community management skills.
93+
- The organization builds a reputation within the open-source ecosystem.
94+
- Legal and compliance frameworks are established for future open source releases.
95+
- The project may require ongoing resource allocation for community management.
96+
- Internal development processes may need to adapt to the needs of the external community.
97+
- New opportunities for collaboration and innovation emerge through external partnerships.
98+
99+
## Rationale
100+
101+
Migrating from InnerSource to open source is a natural evolution for internal projects, but requires careful planning to avoid pitfalls. A structured approach addresses legal, security, and governance issues proactively. By building on InnerSource practices, organizations can leverage collaborative skills and adapt to external community challenges.
102+
103+
This migration strikes a balance between organizational needs and open-source community expectations, resulting in sustainable projects that benefit both. The gradual approach enables learning and adaptation while minimizing risks to the project and the organization.
104+
105+
## Known Instances
106+
107+
- **Nike** - Nike has migrated multiple open source projects from InnerSource to Open Source.
108+
109+
## Status
110+
111+
- Initial
112+
113+
## Author
114+
115+
- Jeff Bailey
116+
117+
## Related Patterns
118+
119+
- [InnerSource before Open Source](../1-initial/innersource-before-open-source.md)
120+
121+
## Alias
122+
123+
- InnerSource to Open Source Transition
124+
- Open Sourcing InnerSource Projects
125+
- Public Release of InnerSource Projects

0 commit comments

Comments
 (0)