Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 5 KB

transitioning-contractor-code-to-innersource-model.md

File metadata and controls

83 lines (52 loc) · 5 KB

Title

Transitioning Contractor Code to InnerSource Model

Patlet

Contract developers are often not motivated to engage in InnerSource activities, which may be beyond the scope of their contract. This pattern describes how you can focus on transitioning the contractor project after the fact to an InnerSource project by setting expectations for specific InnerSource-related deliverables as part of the overall project delivery.

Problem

Contractor developers are often not motivated (through forces described below) to engage in InnerSource activities. Once delivered, and even if the code is made visible, their projects are often less likely to be part of successful InnerSource engagements.

Context

This problem exists where an organization either:

  • out-sources the development of a well defined project or
  • engages external firms for staff augmentation and has mixed teams of permanent employees with a large percentage of contract staff. This issue may occur less often in a mixed team where InnerSource principles and ways of working are already established within the organization, but the forces described below are still often at play.

Forces

Contractor Motivation and Constraints:

  • Contracts with third-party developers tend to be focused on delivering an end result in the fastest possible fashion. As a result, all InnerSource activities (e.g. responding to third-party PRs) are considered to be distractions or something that will “slow down” delivery.
  • Concern that accepting code from other parts of the business might introduce security risks, scope creep or other issues that would subsequently have to be resolved by the contract team.
  • Concern that accepting PRs from other parts of the company may “muddy the waters” when it comes to assessing what parts of the project were completed/delivered by the contracted developers.
  • Contractors may have concerns about loss of control over the projects technical details if other teams are contributing significantly.
  • Even when motivations align (a project can be completed faster or with higher quality by engaging in InnerSource) contractors might still be unclear if they can because it is not explicitly listed as allowed in the contract terms.

All of the above can mean that even if an individual contract developer wants to engage in InnerSource, there are system-level constraints pushing them not to.

It should be noted that the above scenario is indirectly impacted by:

  • The norms around defining Statements of Work for third party contractors
  • Pressures to reduce contractor costs during procurement
  • Ability to tie contributions to payment at a granular level.

It could also be noted that the contractor motivations in this instance is almost like a more extreme instance of the often reported organizational/budgetary constraints that might exist for some internal business units.

Solutions

At the outset of the project, clearly define:

  • That the code will be made visible by default to all developers within the organization.
  • That the architecture of the code should be modular and ready for component reuse.
  • How the project will be transitioned to an InnerSource project. This could be similar to a transition of ownership plan for an open source project which should include:
    • Identification of new a maintainer team
    • An announcement to stakeholders regarding the transition
    • Written documentation describing functionality, architecture, and common processes like releasing, patching, deploying, testing, etc.
    • A prescribed number of hours on the contract set aside for the contractor to meet with the identified long term maintainer (normally from the company who hired the contractor) for an overview of responsibilities and Q & A.
    • (untested) A 30 day warranty pattern could be applied and so the contractor would provide 30 days of direct transition support to the new maintainers

It is noted that this practice can work very well where there is a high trust relationship between the contracting team and the contractors. Perhaps they have worked closely together before, or have a pre-existing relationship. Further patterns that explore how to build trust between teams might enhance this pattern.

Resulting Context

This particular pattern does not attempt to change the initial behavior of the contract development team (in terms of their potential lack of engagement with the InnerSource process). However, the end result is that the project does become part of the InnerSourced projects for the company after the fact.

Known Instances

  • GitHub has seen this approach work with their US government agency customers.

Status

Initial

Author(s)

  • Clare Dillon
  • Zack Koppert

Acknowledgements

Particular thanks to Zack Koppert for sharing his experiences in this area and to Gil Yehuda for raising the issue in the InnerSource Slack channel.

This pattern was extracted from a conversation on the topic held with the following folks:

  • Brittany Istenes
  • Clare Dillon
  • Cristina Coffey
  • Derek Murawsky
  • Gil Yehuda
  • Zack Koppert