This document describes the workflow for contributing code to TEAMMATES. It is assumed that you have already set up your development environment and are familiar with the Development Guide.
Browse the issue tracker and pick an issue to work on. A few things to note:
The following labels can help you find suitable issues to work on.
| Label | Purpose |
|---|---|
good first issue | Good starting point for first-time contributors. |
help wanted | Moderate difficulty, localized scope. |
committers only | Difficult or broad in scope, not open to first-time contributors. |
core team only | Reserved for core team, not open to external contributions. |
p.* | Priority labels, set by maintainers. |
a-* | Aspect labels, indicating the area of the codebase affected. |
Start from an up-to-date master branch and create a new branch for your fix:
git checkout master
git pull
git checkout -b {your-branch-name}
For example: 3942-remove-unnecessary-println.
master branch should never be ahead of the main repository's master branch.Make your changes and commit them:
git add -A
git commit
A few things to keep in mind:
Add tests for the truncate method. This guide is a good reference.git checkout master
git pull upstream master
git checkout {your-branch-name}
git merge master
Before submitting, make sure:
./gradlew lint --continue
npm run lint
gradlew.bat lint --continue
npm run lint
Open a pull request with the following:
master[#issue-number] Issue title, e.g. [#3942] Remove unnecessary System.out.printlns from Java filesFixes #3942 — this automatically closes the issue when the PR is mergedIf the PR only partially addresses the issue, use Part of #3942 in the description instead.
Once your PR is open: