You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: patterns/2-structured/source-code-inventory.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ A unified source code inventory at organization-level addresses these issues, wh
9
9
10
10
## Problem
11
11
12
-
Given situations when InnerSource stakeholders do not value source code at the same level as other Organization's assets; when source code strategies are ad-hoc and different among legal entities with little consolidation at Organization-level; then it becomes harder both to select and support the right InnerSource project candidates as well as maximize business value of such a key asset.
12
+
Given situations when InnerSource stakeholders do not value source code at the same level as other organization's assets; when source code strategies are ad-hoc and different among legal entities with little consolidation at organization-level; then it becomes harder both to select and support the right InnerSource project candidates as well as maximize business value of such a key asset.
13
13
14
-
Can you get consistent answers within the Organization to questions like:
14
+
Can you get consistent answers within the organization to questions like:
15
15
16
16
* How would you find all source code touched by anyone in your legal entity?
17
17
* How would you find out who else can also access each of the above?
@@ -21,25 +21,25 @@ Can you get consistent answers within the Organization to questions like:
21
21
22
22
## Context
23
23
24
-
* You work on Legal Entity within a complex Organization under continuous change (e.g. new acquisitions or changing business priorities).
25
-
* You cannot find all source code touched, shared and consumed within the Organization.
24
+
* You work on legal entity within a complex organization under continuous change (e.g. new acquisitions or changing business priorities).
25
+
* You cannot find all source code touched, shared and consumed within the organization.
26
26
* You do not have a clear policy on default sharing level when creating a new project (e.g. Open Source, InnerSource or Closed Source).
27
-
* You cannot scan significant parts of the Organization's source code looking for duplication, similarity or code smells.
27
+
* You cannot scan significant parts of the organization's source code looking for duplication, similarity or code smells.
28
28
* You do not know the existing ratios of Open Source, innerSource and Closed Source and their trend.
29
29
* You cannot measure the diversity of contributions and resulting value for a given project.
30
30
* You cannot identify and optimize tech stack diversity.
31
31
* You cannot identify technical debt and determine the priorities for retirement (e.g. dead APIs/source).
32
32
33
33
## Forces
34
34
35
-
* Fragmentation of source code hosting systems in the Organization.
36
-
* Ad-hoc source code strategies scattered across the different Legal Entities in the Organization.
35
+
* Fragmentation of source code hosting systems in the organization.
36
+
* Ad-hoc source code strategies scattered across the different legal entities in the organization.
### For the Organization, Legal Entity and Project maintainers
72
+
### For the Organization, Legal Entity and Project Maintainers
73
73
74
-
* We have explicit policies at Organization and Legal Entity level on source code strategy (e.g. where to create new repository or how to select the right sharing level).
75
-
* We can find all source code touched, shared and consumed within the Organization or Legal Entity and take actions as needed.
74
+
* We have explicit policies at organization and legal entity level on source code strategy (e.g. where to create new repository or how to select the right sharing level).
75
+
* We can find all source code touched, shared and consumed within the organization or legal entity and take actions as needed.
76
76
* We can measure the diversity of contributions and resulting business value for our project.
77
77
* We can identify technical debt and determine the priorities for retirement (e.g. dead APIs/source).
78
78
79
79
### For InnerSource governance
80
80
81
-
* We can scan significant parts of our Organization's source code looking for opportunities of reuse, duplication, similarity or code smells.
82
-
* We know the ratios of Open Source, InnerSource and Closed Source within the Organization so we can steer as needed.
81
+
* We can scan significant parts of our organization's source code looking for opportunities of reuse, duplication, similarity or code smells.
82
+
* We know the ratios of Open Source, InnerSource and Closed Source within the organization so we can steer as needed.
83
83
* We can identify and optimize tech stack diversity.
84
-
* We can create awareness and culture shift on certain Legal Entities as needed (e.g. ratio of Open Source and InnerSource below average).
84
+
* We can create awareness and culture shift on certain legal entities as needed (e.g. ratio of Open Source and InnerSource below average).
85
85
86
86
## Rationale
87
87
88
-
It creates a dynamic and extendable single source of truth for repositories to capture, visualize and act on source code repositories across the Organization. That helps to create awareness and focus efforts on the right direction.
88
+
It creates a dynamic and extendable single source of truth for repositories to capture, visualize and act on source code repositories across the organization. That helps to create awareness and focus efforts on the right direction.
89
89
90
-
The Source Code Strategy Assessment Framework helps teams to understand the value of intentional explicit policies on how to manage source code. It helps to create both continuous improvement cycles and references within the Organization of what others are doing.
90
+
The Source Code Strategy Assessment Framework helps teams to understand the value of intentional explicit policies on how to manage source code. It helps to create both continuous improvement cycles and references within the organization of what others are doing.
91
91
92
92
## Known Instances
93
93
94
94
* Philips (under test at scale)
95
95
96
96
## References
97
97
98
-
* Organization and Legal Entity terms as defined in the [InnerSource License Pattern - Glossary](../2-structured/innersource-license.md#glossary).
98
+
*"Organization" and "Legal Entity" terms as defined in the [InnerSource License Pattern - Glossary](../2-structured/innersource-license.md#glossary).
99
99
* Explore using this pattern in combination with the [InnerSource Portal](../2-structured/innersource-portal.md) pattern.
0 commit comments