2019-09-27 23:36:52 +02:00
|
|
|
# Contributing
|
2024-01-29 23:18:21 +01:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
This document outlines different types of contributions and how YOU can help us to improve the
|
|
|
|
project. Read it, as it provides guidelines that are there to help you and the maintainers.
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
## Reporting and discussions: Issues section on gitlab
|
2024-01-29 23:18:21 +01:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
In order to avoid having to manage ongoing discussions and bug reports on different communication
|
2024-01-29 23:18:21 +01:00
|
|
|
channels, e.g. forums, messangers or other closed groups, we ask everyone to treat the issue section
|
|
|
|
on gitlab as the place to open their relevant discussions and bug reports regarding the project.
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
The maintainers of the project do not have the time nor motivation to micromanage on the various
|
2024-01-29 23:18:21 +01:00
|
|
|
channels and enter all data here to have it collected. This is a simple task that *ANYONE* can do
|
2020-11-08 12:57:51 +01:00
|
|
|
allowing the maintainers and developers to spend their time on the codebase.
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
## Bug reports
|
2024-01-29 23:18:21 +01:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
Follow these steps when reporting bugs to ensure you provide all information we *always* need and
|
|
|
|
make your report valuable and actionable.
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
1. On the bemanitools repository, go `Issues` on the left-hand sidebar.
|
|
|
|
1. Use the search function to check if there is an already open issue regarding what you want to
|
2024-01-29 23:18:21 +01:00
|
|
|
report
|
|
|
|
1. If that applies, read the open issue to check what's already covered regarding the bug
|
|
|
|
1. Provide additional information or things that are missing. Upload your log files, screenshots,
|
|
|
|
videos etc. Be careful to remove sensitive information like PCBIDs
|
|
|
|
1. Give a thumbs up to the issue to show you are interested/affected as well
|
2020-11-08 12:57:51 +01:00
|
|
|
1. If no existing issue avilable, create a new one
|
|
|
|
1. Come up with a descriptive title
|
|
|
|
1. **USE OUR BUG REPORTING TEMPLATE**: Pick it by selecting `Bug` on the `Description` section
|
|
|
|
1. Follow the sections and their instructions provided by the template and fill them in. All fields
|
2024-01-29 23:18:21 +01:00
|
|
|
are mandatory to provide a comprehensive report if not stated otherwise
|
2020-11-08 12:57:51 +01:00
|
|
|
1. When finished, submit the issue
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
## Pull requests: bugfixes, new features or other code contributions
|
2024-01-29 23:18:21 +01:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
Pull requests are welcome! May it be a merge request to an already known issue or a new feature that
|
|
|
|
you consider as a valuable contribution, please open a MR.
|
2019-09-28 00:21:49 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
**!!! Maintaining documentation by adding new or improving existing documentation is as important as
|
|
|
|
code !!!**
|
2019-09-27 23:36:52 +02:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
If you want to start working on a new feature that was proposed in an issue, yet, it is recommended
|
|
|
|
to reach out to the active developers about this, first, to discuss if this contribution is valuable
|
|
|
|
to the project. Otherwise, you might waste your time on implementing something that won't make it
|
|
|
|
into master.
|
|
|
|
|
|
|
|
Please read our [development guidelines](doc/development.md) as they contain valuable information
|
|
|
|
that your contribution meets our standards. This is not meant to annoy people but ensures
|
|
|
|
consistency that the project stays maintainable for everyone.
|
|
|
|
|
|
|
|
Steps for contributing to the repository using a merge request:
|
2024-01-29 23:18:21 +01:00
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
1. If you are new to git, take a bit of time to learn the basics which are very simple, e.g. Google
|
2024-01-29 23:18:21 +01:00
|
|
|
for "git tutorial for non-programmers"
|
2020-11-08 12:57:51 +01:00
|
|
|
1. Fork the upstream repository (Fork button on the top right on the main page of the repository)
|
|
|
|
1. You can start editing files like documentation easily inside gitlab which might be the prefered
|
2024-01-29 23:18:21 +01:00
|
|
|
option for many non-coders
|
2020-11-08 12:57:51 +01:00
|
|
|
1. Clone your fork to your local machine and start working on stuff
|
|
|
|
1. Ensure you push your changes to your fork on gitlab
|
|
|
|
1. When done, go to the `Merge Requests` section on the left sidebar of the upstream repository
|
|
|
|
1. Hit the `New merge request` button
|
|
|
|
1. Select the `master` branch as the source branch
|
|
|
|
1. Select whatever branch you worked, likely `master` if you didn't change that, as the target
|
2024-01-29 23:18:21 +01:00
|
|
|
branch
|
2020-11-08 12:57:51 +01:00
|
|
|
1. Hit `Compare branches and continue`
|
|
|
|
1. Provide a descriptive title of what your change is about
|
|
|
|
1. **USE OUR MR TEMPLATES**
|
2024-01-29 23:18:21 +01:00
|
|
|
1. If you submit a bugfix, use the `Bugfix` tempalte and fill in the sections
|
|
|
|
1. If you submit a new feature, use the `Feature` template and fill in the sections
|
2020-11-08 12:57:51 +01:00
|
|
|
1. If you submit some minor fixes or documentation improvements, there is no template for that.
|
2024-01-29 23:18:21 +01:00
|
|
|
Please provide a expressive description what you did and *why* you did that
|
2020-11-08 12:57:51 +01:00
|
|
|
1. If any of your changes are tied to one or multiple issues, link them in the description
|
|
|
|
1. When done, hit `Submit merge request`
|
|
|
|
|
|
|
|
The maintainers will take a look at your submission and provide their feedback. The intention of
|
2024-01-29 23:18:21 +01:00
|
|
|
this process is to ensure the contribution meets the quality standards. Please also see this is a
|
|
|
|
learning opportunity, especially with your first contribution, if a lot of comments and change
|
2020-11-08 12:57:51 +01:00
|
|
|
requests are being made. The maintainers are open to discuss their suggestions/feedback if
|
|
|
|
reasonable feedback is given back to them.
|
|
|
|
|
|
|
|
Once all discussion is resolved and the involved maintainers approved your submission, it will be
|
|
|
|
merged into master and also included in the next release.
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
## Roadmap
|
|
|
|
|
2020-11-08 12:57:51 +01:00
|
|
|
No concrete roadmap or timeline exists. We want to continue adding support for new games as well as
|
2024-01-29 23:18:21 +01:00
|
|
|
old games (some of the old games supported by BT4 are not supported, yet).
|