To get the greatest chance of helpful responses, please observe the following notes.
Questions, Issues, Pull Requests and Commit Messages can be written in English or Portuguese.
Please be aware of the following things when filing bug reports:
-
Avoid raising duplicate issues. Please use the GitHub issue search feature to check whether your bug report or feature request has been mentioned in the past. Duplicate bug reports and feature requests are a huge maintenance burden on the limited resources of the project. If it is clear from your report that you would have struggled to find the original, that's ok, but if searching for a selection of words in your issue title would have found the duplicate then the issue will likely be closed extremely abruptly.
-
When filing bug reports about exceptions or tracebacks, please include the complete traceback. Partial tracebacks, or just the exception text, are not helpful. Issues that do not contain complete tracebacks may be closed without warning.
-
Make sure you provide a suitable amount of information to work with. This means you should provide:
- Guidance on how to reproduce the issue. Ideally, this should be a small code sample that can be run immediately by the maintainers. Failing that, let us know what you're doing, how often it happens, what environment you're using, etc. Be thorough: it prevents us needing to ask further questions.
- Tell us what you expected to happen. When we run your example code, what are we expecting to happen? What does "success" look like for you?
- Tell us what actually happens. It's not helpful for you to say "it doesn't work" or "it fails". Tell us how it fails: do you get an exception? A hang? How was the actual result different from your expected result?
- Tell us what version you're using, and how you installed it. Different versions behave differently and have different bugs.
If you do not provide all of these things, it will take us much longer to fix your problem. If we ask you to clarify these and you never respond, we will close your issue without fixing it.
Third-party patches are essential for keeping this game great. We want to keep it as easy as possible but there are a few guidelines that we need contributors to follow.
- Submit a ticket for your issue, assuming one does not already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
- Fork the repository on GitHub
-
Create a topic branch from where you want to base your work.
- This is usually the master branch.
- Only target release branches if you are certain your fix must be on that branch.
- To quickly create a topic branch based on master;
git checkout -b fix/master/my_contribution master
. Please avoid working directly on themaster
branch.
-
Make commits of logical units.
-
Check for unnecessary whitespace with
git diff --check
before committing. -
Make sure you have added the necessary tests for your changes.
-
Run all the tests to assure nothing else was accidentally broken.
For changes of a trivial nature to comments and documentation, it is not always necessary to create a new issue. In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number.
- Push your changes to a topic branch in your fork of the repository.
- Submit a pull request to this repository.
By running tests in advance and by engaging with peer review for prospective changes, your contributions have a high probability of becoming long lived parts of the the project. After being merged, the code will run through a series of testing pipelines. These pipelines can reveal incompatibilities that are difficult to detect in advance.
If the code change results in a test failure, we will make our best effort to correct the error. If a fix cannot be determined and committed within 24 hours of its discovery, the commit(s) responsible may be reverted, at the discretion of the committer and others maintainers. This action would be taken to help maintain passing states in our testing pipelines.
You have no guarantee that the original contributor will be notified of the revert in the Issue ticket associated with the change. This test(s) should be used to check future submissions of the code to ensure the issue has been resolved.
- Changes resulting in test pipeline failures could be reverted if they cannot be resolved.