Skip to the content.

How to contribute to open source projects

Contributions on behalf of Syngenta

This document describes rules and recommendations for contributing to open-source projects on behalf of Syngenta company — done during your working hours or related to your work on Syngenta projects.

Contributions done on behalf of Syngenta represent the company. You should be reasonable and take responsibility for your actions and consequences. Do your best job when contributing to open-source projects; respect the community and rules.

How to communicate that you contribute on behalf of Syngenta

Making open-source contributions, you should communicate that you are doing it on behalf of Syngenta.

Each open-source projects have its way of listing contributors. Please, respect the way of listing contributors specific to each project.

Some general guidelines:

Private contributions

Your private contributions to open-source done on your own (in your own time and not related to Syngenta) are not subject to the rules described in this document.

You are responsible to ensure that you do not use any confidential information belonging to Syngenta, or that is known due to your work at Syngenta; and that you do not use/publish any code or other work created for Syngenta (which becomes part of Syngenta’s property).

Using forks in your code

Avoid using forked code and try to contribute your change upstream.

It’s typical for forks to fall far behind the upstream repository and such dependencies become a source of pain:

There may be good reasons to create a fork:

If you decide to create a fork, make sure you open an issue that:

Contributing to a project on GitHub

If your GitHub account’s primary email is not your @syngenta.com email, you can add it as an additional address. No need to create a separate account.

  1. Fork the repository you want to contribute to into your account.
  2. Follow the usual pull request flow.
  3. Respect the recommendations described in Contributions on behalf of Syngenta.

Contributor License Agreements

Some open-source projects require that contributors agree to a “Contributor License Agreement” (CLA) before contributing.

These CLAs are legally binding and may enforce some terms or conditions inappropriate for Syngenta.

Before contributing to any project with a CLA, you must obtain permission from the OSPO team (we will check legal issues).