Skip to main content

Contributor Guide

While not strictly legal documentation, having concise and clear information how to get involved in a project is very important for building the community around a project. Therefore, to simplify adoption and encourage contributions it is recommended that projects maintain a Contributor Guide. The file is conventionally named CONTRIBUTING (or README) and may include a suffix (e.g.,CONTRIBUTING.md).

Like legal documentation, a CONTRIBUTING file should be placed in the root of each repository. Keep the guide as concise as possible: it should contain a few words and a link to other documents for details and more information. Use plain text that can be easily consumed without being formally rendered.

Minimally, the CONTRIBUTING file should include:

  • The name and brief description of the project;
  • A link to the project’s website and documentation;
  • A pointer to the Eclipse Foundation’s Terms of Use (https://www.eclipse.org/legal/termsofuse.php);
  • A link to the primary Communication channel (how do potential contributors contact the project team?);
  • A pointer to the canonical source code repositories;
  • Mechanics of how to actually contribute (e.g., merge/pull requests);
  • Link to sign the ECA (https://www.eclipse.org/legal/ECA.php)

Additionally, the guide might include:

  • Link to downloads; and
  • Link to a more comprehensive project contribution guide (e.g.,a website).

Setting up the Development Environment

The CONTRIBUTING file should make it easy for people who got interested in the project to start working with it. It should include:

  • Instructions for obtaining the sources;
  • Clear instructions for setting up any additional tools needed for the development;
  • A description of the dependencies of the project, or even better how to easily get all the necessary content the project depends on; and
  • A list of necessary steps to build the artifacts of the project (e.g.,bundles, features, stand-alone products).

Contributing Code

The CONTRIBUTING file should make it very clear what are the steps a contributor needs to follow, so that their contribution reaches the project and may be accepted.

It should:

  • Include very specific instructions on how contributions are accepted;
  • Describe how to submit contributions (GitHub pull requests or GitLab merge requests), along with the necessary steps to have the project accept those requests;
  • Describe the legal part of the process for accepting contributions, e.g.,point to the the Eclipse Contributor Agreement (ECA) and Developer Certificate of Origin (DCO); and
  • Describe any project specific rules, which the contributors should know, for example:
    • preferences on code quality;
    • code formatting; and
    • processes for code review.

Projects may slightly different rules for contributing to different repositories. Make this clear to the contributors.

Help Wanted

The CONTRIBUTING file can optionally provide guidance for developers who want to help, but don’t have their own agenda. To help these developers, the guide may list ideas for improvements which the team already knows, or areas where help is needed.

Note: Keeping a help-wanted list up-to-date can be challenging. Consider including a query (e.g.,for helpwanted issues) rather than (or in addition to) specific work area recommendations.

CONTRIBUTING file template

# Contributing to <project name>

Thanks for your interest in this project.

## Project description

<description>

* https://projects.eclipse.org/projects/<project id>

## Terms of Use

This repository is subject to the Terms of Use of the Eclipse Foundation

* https://www.eclipse.org/legal/termsofuse.php

## Developer resources

Information regarding source code management, builds, coding standards, and
more.

* https://projects.eclipse.org/projects/<project id>/developer

## Project License

<licence>

Contributions are received under the terms of the project licence.

## Help Wanted

Describe how contributors can help the project.

e.g., provide a pointer to "helpwanted" issues

## Eclipse Foundation Development Process

This Eclipse Foundation open project is governed by the Eclipse Foundation
Development Process and operates under the terms of the Eclipse IP Policy.

* https://eclipse.org/projects/dev_process
* https://www.eclipse.org/org/documents/Eclipse_IP_Policy.pdf

## Eclipse Contributor Agreement

In order to be able to contribute to Eclipse Foundation projects you must
electronically sign the Eclipse Contributor Agreement (ECA).

* https://www.eclipse.org/legal/ECA.php

The ECA provides the Eclipse Foundation with a permanent record that you agree
that each of your contributions will comply with the commitments documented in
the Developer Certificate of Origin (DCO). Having an ECA on file associated with
the email address matching the "Author" field of your contribution's Git commits
fulfils the DCO's requirement that you sign-off on your contributions.

For more information, please see the Eclipse Committer Handbook:
https://www.eclipse.org/projects/handbook/#resources-commit

## Contact

Contact the project developers via the project's "dev" list.

* https://accounts.eclipse.org/mailing-list/<project dev list>