Thank you for your interest in improving scenario_simulator_v2. This contributor guidelines will help you get started.
If you have any questions, please feel free to make GitHub issues for asking your question.
To avoid duplicate work, please review current issues and pull requests.
Please take the following steps:
- Fork this repository.
- Clone down the repository to your local machine.
- Create a new branch from the
master
. See Branch naming rules below. - Commit your changes to the branch and push the commit to your GitHub repository that was forked in Step 1.
- Open a Pull Request (PR). Our CI workflows will automatically test your changes. See Continuous integration below.
- The maintainers will review your PR. Once the PR is approved, the code will be merged into the
master
branch. See Code review below.
Each new feature development should be worked on in its own branch.
Please add the feature/
prefix to your branch name. For example:
feature/(name of the feature you are developing)
Please add the fix/
prefix to your branch name. For example:
fix/(name of bug what you are fixing)
Only maintainers create the release/
branch.
release/prepare_(version_tag)
The release branches are used only to update the release notes. An example is here.
Your changes proposed in your pull request will be tested automatically by the following checks:
If you contribute to the documentation, your changes should pass the checks below:
Any changes to the code or documentation are subject to code review. Maintainers will review your pull request.
As a good practice, reply to the reviewer's comment with a link to your changes (e.g., Fixed in a0b1c2d
).
To keep the commit hashes consistent, please DO NOT force-push the commit to your pull request during the code review.
If you want to force-push the commit during the review, please contact the maintainers for approval in advance.
If at least one maintainer approves your pull request and all checks are passed, your pull request will be merged into the master
branch.
Pull requests must be labeled bump major
, bump minor
or bump patch
.
Please follow the criteria below to determine which label to apply.
- If there is a destructive change to the scenario or traffic_simulator API, label it label it with
bump major
. - If the scenario or traffic_simulator API has some additional functionality but no destructive changes, label it with
bump minor
. - If there is no additional functionality and full backward compatibility is ensured, label it with
bump patch
.
If you are in any doubt, please consult the maintainers @hakuturu583,@yamacir-kit,@HansRobo.
If your pull request changes the behavior of the software, please update the documentation in the docs/
directory.
The documentation is built by mkdocs.
You may rename existing files or add new files to the docs/
directory.
-
If you add new files, you should add the file name to the
nav
section in themkdocs.yml
file. -
If you rename existing files, you should set up a redirect from the old file to the new file. Redirects are defined in the
mkdocs.yml
file usingmkdocs-redirects
plugin, so you will editplugins.redirects.redirect_maps
in themkdocs.yml
file.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:
- Submission of Contributions. Unless You explicitly state otherwise, > any Contribution intentionally submitted for inclusion in the Work > by You to the Licensor shall be under the terms and conditions of > this License, without any additional terms or conditions. > Notwithstanding the above, nothing herein shall supersede or modify > the terms of any separate license agreement you may have executed > with Licensor regarding such Contributions.