Submit a new issue only if you are sure it is a missing feature or a bug. Otherwise discuss the topic first. For new translations or fixes to existing translations please refer to this documentation.
Issues for newcomers are tagged with 'good first issue' and documentation issues are taged with 'documentation'.
-
Fork the repo and create a branch for your new feature or bug fix.
-
Run the tests. We only take pull requests with passing tests:
mvn clean test verify
-
Add at least one test for your change. Only refactoring and documentation changes require no new tests. Also make sure you submit a change specific to exactly one issue. If you have ideas for multiple changes please create separate pull requests.
-
Make the test(s) pass.
-
Push to your fork and submit a pull request. A button should appear on your fork its github page afterwards.
For contributions like pull requests, bug fixes and translations please read and electronically sign the GraphHopper License Agreement, which gives not away your rights but it will make sure for others that you agree to the Apache License, Version 2.
- Tell this your IDE or just use NetBeans which picks the format from pom.xml. E.g. no tabs - use 4 spaces instead!
- Follow the conventions you see used in the source already.
And in case we didn't emphasize it enough: we love tests!