Section 1: What Does It Mean to Work with Open Source Software across Jurisdictions?

Section 1: What Does It Mean to Work with Open Source Software across Jurisdictions? #

Benefits of Collaboration #

Collaboration on open source software is a win-win. The software you build, or the adaptations you make, will be useful to other jurisdictions as well. Open source software performs better and becomes more secure as the community around it grows. Each user benefits from continuous improvements to software (in the form of updates, new features or security improvements). It is therefore in each user’s best interest to contribute, and to add more contributing users.

For government organizations, another benefit of collaboration is that they do not need to constantly reinvent the wheel. When source code is released under an open source license, any jurisdiction can make small software adaptations to ensure that the software is best-fit to local use cases, regulations and standards. When a core set of functionalities are shared, each jurisdiction’s time, effort and resources can be focused on making small adaptations to fit the software to their local context (rather than building a full set of core functionalities from scratch). Knowledge and resource sharing help partners with less experience in open source software to build capacity.

Who Can You Collaborate With? #

Governments and public sector agencies that are interested in using open source software should join existing networks or build collaborative relationships with peer jurisdictions. These networks might surround a specific software, or they might be focused more broadly on using open source software in the public sector. Within such communities, users can share challenges, opportunities, capacities, resources, and processes (see Box 5.1).

Governments at the same level – whether municipal or provincial -- are natural collaborators when it comes to designing, obtaining and maintaining open source software. They are responsible for delivering a similar set of services and have a similar set of needs (internal, administrative and external, resident-facing). And when procuring new software, a pooled purchasing approach allows a group of similar government agencies to take advantage of economies of scale.

Box 5.1: CKAN open data management platform

An excellent example of open source collaboration across jurisdictions is the CKAN open data management platform. Developed by the non-profit Open Knowledge Foundation (OKFN)1 for the Government of the United Kingdom, National and regional governments around the world use CKAN as the foundation of their open data portals, including the Government of Canada the Government of British Columbia, and the Government of Ontario.

Since code improvements are shared, each of the more than 115 governments and institutions benefits from producing a better product at a reduced cost to individual consumers. In addition to helping governments develop and implement instances of the platform customized to their needs, CKAN’s sizable user and developer community continually generates and disseminates knowledge via GitHub, mailing lists, IRC channels.


  1. British Columbia. Ministry of Jobs, Economic Recovery and Innovation, “About the Catalogue Open Source Project,” accessed November 3, 2022, https://www2.gov.bc.ca/gov/content/data/bc-data-catalogue/about-catalogue-open-source-project↩︎

Barriers to Working with Open Source Software across Jurisdictions #

Each of the areas covered in the previous modules can present specific challenges when it comes to collaborating on open source software projects across jurisdictions or between public agencies.

  • Organizational and staff capacity challenges: There can be significant variation in digital capacity between governments and public institutions, especially when you get down to the municipal level.1 Not all governments will have open source teams or product manager roles; smaller municipalities may only have one dedicated person responsible for IT. When it comes to governing open source projects, political – not technical – skills are required. Software developers, users, and maintainers may not be the ones best suited to manage issues like accountability and negotiation of shared costs – and by the same token, product owners may not understand the dynamics and implications of technical aspects of software maintenance.

  • Procurement, contracting and budgeting challenges: Standard procurement processes, templates and norms prioritize commercially available products from established vendors – and in the case of technical service delivery – prioritize waterfall-style software development. Governments may be locked into long-term contracts with vendors, which prevents them from being in a position to consider collaborations around open source alternatives. Furthermore, some organizations have a “not invented here” mentality when it comes to software, and neglect to look at what other government organizations have done. A common mantra in the open source software community is that the wheel has already been invented. This applies to full software as well as sub-modules. Governments can, and should, discover what has worked elsewhere.

  • Security and maintenance challenges: Open source software projects undertaken by a group of government actors, especially for relatively niche use cases, may become neglected and obsolete unless a governance structure is established that sets out responsibilities for ongoing maintenance, and there is funding for maintenance service provision. Additionally, differences in digital policy between jurisdictions (e.g. user consent and data protection requirements under GDPR in the EU versus Canada’s policy) may create obstacles to developing open source software that meets the risk management needs of all parties in an international collaboration.

Merging Forked Code #

Merging forked code back into the main branch is a challenging moment in an open source software collaboration. Best practice, in open source software development, is to make small incremental changes, thereby minimizing the risk of breaking dependencies. When everyone working on the code is in sync, any changes affect each other with minimal disturbance. If someone creates a fork and makes many changes, then eventually wants to merge the codebases back together, there may be conflicts – both structural and functional.

Box 5.2: The Notify messaging service

Notify is an open source software tool that participating government agencies can use to easily and securely send out thousands of personalized emails, text messages, and postal letters to their contacts.1

The United Kingdom’s Government Digital Service first released their Notify platform as open source, which allowed other governments to adopt it for their own purposes. For example, the Government of Canada developed its own version called GC Notify by modifying it to support multiple languages.2


  1. Beeck Center for Social Impact and Innovation, “Notify,” Intergovernmental Software Collaborative, accessed October 18, 2022, https://softwarecollaborative.org/cooperatives/notify.html↩︎

  2. 2 Bryan Willey, “Introducing Notify,” Canadian Digital Service (blog), November 26, 2019, https://digital.canada.ca/2019/11/26/introducing-notify/↩︎

Consider an open source application such as Notify (see Box 5.2) as a hypothetical example: the original application may have been coded to disallow messages from being edited. A forker may subsequently build a trust feature based upon the fact that messages cannot be changed. However, in the meantime the main branch code has been changed to allow editable messages. If the forker decides to merge back, they will find that functionality in the original codebase has changed, and each branch has built user-facing features based on different premises. This creates a dilemma: Should the merged codebase allow message editing (which would undermine one branch’s trust features) or revert to non-editable messages (which would undermine any tools and workflow involving editable messages)?

To avoid situations like the one described above, the Government of Canada guidelines for open source software recommend that staff “wherever possible, use open source software without modification or contribute back to the project” and “use configuration and customize the software with modules, plugins or extensions and make those available to the community.”2

Releasing Code under an Open Source Licence #

The Government of Canada recommends that government agencies who have developed their own software should consider releasing the code under an open source license, and provides guidelines on doing so effectively. “It is recommended that where they have the right to do so, departments publish all source code as open source software, whether the software solution was (i) acquired as OSS; (ii) developed in-house by GC employees or (iii) acquired through the terms of procurement contracts where appropriate license terms were negotiated.”3

There are numerous legal considerations when selecting a license for your organization’s open source software project.4 Some governments (e.g., British Columbia) have published guidelines for choosing an appropriate license that are specific to their legislative context. For example, if your open source project is an adaptation or derivative of an existing open source project, the best practice is to use the same license as the original; if it is a new open source project, the license you select will depend on the desired outcome and the licensing of any third-party software used in your project.5


  1. Justin C. Colannino, “Free and Open Source Software in Municipal Procurement: The Challenges and Benefits of Cooperation,” Fordham Urban Law Journal 39 (February 2016): 903–29, https://ir.lawnet.fordham.edu/ulj/vol39/iss4/2↩︎

  2. Treasury Board of Canada Secretariat, “Guide for Using Open Source Software,” July 28, 2020, https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/open-source-software/guide-for-using-open-source-software.html↩︎

  3. Guide for Publishing Open Source Software. https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/open-source-software/guide-for-publishing-open-source-code.html ↩︎

  4. Ben Balter, “Everything a Government Attorney Needs to Know about Open Source Software Licensing,” Ben Balter (blog), October 8, 2014, https://ben.balter.com/2014/10/08/open-source-licensing-for-government-attorneys/; GitHub, “Choose an Open Source License,” Choose a License, accessed September 6, 2022, https://choosealicense.com/; GitHub, “The Legal Side of Open Source,” Open Source Guides, October 17, 2022, https://opensource.guide/legal/↩︎

  5. Treasury Board of Canada Secretariat, “Guide for Using Open Source Software,” July 28, 2020, https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/open-source-software/guide-for-using-open-source-software.html↩︎