Skip to the content.

Open Source Software (OSS) Guide

NOTE: This document is neither legal nor comprehensive advice. It should not be taken as such.

Introduction

Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose.

https://en.wikipedia.org/wiki/Open-source_software

It’s impossible to find or create any modern software that does not rely on open-source code in its foundation.

We heavily use open-source code to develop software for both internal users and external clients and depend on it in our operations.

This guide will try to cover three main questions:

  1. How to properly use open-source code in closed-source projects?
  2. How to properly contribute to open-source?
  3. How to open source our code?

OSPO (Open Source Program Office) team

The OSPO team is an informal team of open-source enthusiasts and advocates in Syngenta.

We are working with R&D and digital teams to educate and assist them with:

We are glad to help you with any questions you may have about open-source, licensing, best practices, etc. Talk to us via ospo@syngenta.com email or MS Teams chat.

Why should we pay attention to properly using open-source software?

TL;DR — violation of OSS licenses may lead to lawsuits, fines, and reputation losses for the company.

Open-source software doesn’t always mean we can freely use it in our projects — open-source ≠ free.

There are tens of different OSS licenses. Different licenses have different permissions, conditions and limitations for use.

Some of them, such as MIT License, are permissive — you are allowed to do almost anything. But you must keep the License text and copyright notice.

Others, such as GNU AGPLv3 are strictly copyleft. Using GNU AGPLv3 licensed library in your project — automatically requires you to open-source your project’s code under the same GNU AGPLv3 license. Missing this requirement will result in a license violation — possible lawsuits, fines, and reputations losses for the company.

Some OSS software may have commercial-only licenses. This means that even if the code of such a library is open-sourced, we can’t use it in our projects without buying a commercial license.

Using some Open Source License Scanning Tool (OSS License Scanner) is highly recommended to check if your project uses open-source code properly. It could be a 3-rd party service or a self-hosted tool — choose based on your project’s needs and technology stack.

Why should we contribute to open-source?

There are many ways we could contribute to open-source:

Benefits of open-sourcing our projects and code

Considerations for open-sourcing our projects and code

How to use open-source code in closed-source projects

How to use open-source code in closed-source projects

How to open source our code

How to open source our code

How to contribute to open source

How to contribute to open source

Notes

  1. Inspired by GitLab’s Handbook OSS Guide.
  2. Parts of this document are taken from Syngenta’s “Open Source Release Checklist (R+D) 2013”.