This project is mainly developed at the robotics research group at the University of Bremen and the German Research Center for Artificial Intelligence Robotics Innovation Center (DFKI RIC. However, everyone is welcome to contribute.
There are several ways to contribute to BOLeRo, you could e.g.
The preferred way to contribute to BOLeRo is to fork the main repository on GitHub, then submit a “pull request” (PR):
Create an account on GitHub if you do not already have one.
Fork the project repository: click on the ‘Fork’ button near the top of the page. This creates a copy of the code under your account on the GitHub server.
Clone this copy to your local disk:
$ git clone git@github.com:YourLogin/bolero.git
Create a branch to hold your changes:
$ git checkout -b my-feature
and start making changes. Never work in the master
branch!
Work on this copy, on your computer, using Git to do the version control. When you’re done editing, do:
$ git add modified_files
$ git commit
to record your changes in Git, then push them to GitHub with:
$ git push -u origin my-feature
Finally, go to the web page of the your fork of the bolero repo, and click ‘Pull request’ to send your changes to the maintainers for review. request.
Note
In the above setup, your origin
remote repository points to
YourLogin/bolero.git. If you wish to fetch/merge from the main
repository instead of your forked one, you will need to add another remote
to use instead of origin
. If we choose the name upstream
for it, the
command will be:
$ git remote add upstream https://github.com/rock-learning/bolero.git
(If any of the above seems like magic to you, then look up the Git documentation on the web.)
Adding a new feature to BOLeRo requires a few other changes:
Usually it is not possible to push directly to the master branch of BOLeRo for anyone. Only tiny changes, urgent bugfixes, and maintenance commits can be pushed directly to the master branch by the maintainer without a review. “Tiny” means backwards compatibility is mandatory and all tests must succeed. No new feature must be added.
Developers have to submit pull requests. Those will be reviewed by at least one other developer and merged by a maintainer. New features must be documented and tested. Breaking changes must be discussed and announced in advance with deprecation warnings.
Semantic versioning must be used, that is, the major version number will be incremented when the API changes in a backwards incompatible way, the minor version will be incremented when new functionality is added in a backwards compatible manner, and the patch version is incremented for bugfixes, documentation, etc.