How to contribute
Contributing
First off, thanks for taking the time to contribute!
- File an issue to notify the maintainers about what you're working on.
- Fork the repo, develop and test your code changes, add docs.
- Make sure that your commit messages clearly describe the changes.
- Send a pull request.
File an Issue
Use the issue tracker to start the discussion. It is possible that someone else is already working on your idea, your approach is not quite right, or that the functionality exists already. The ticket you file in the issue tracker will be used to hash that all out.
Style Guides
- Write in UTF-8 in Python 3
- User modular architecture to group similar functions, classes, etc.
- Always use 4 spaces for indentation (don't use tabs)
- Try to limit line length to 80 characters
- Class names should always be capitalized
- Function names should always be lowercase
- Look at the existing style and adhere accordingly
Fork the Repository
Be sure to add the relevant tests before making the pull request. Docs will be
updated automatically when we merge to master
, but you should also build
the docs yourself and make sure they're readable.
Make the Pull Request
Once you have made all your changes, tests, and updated the documentation,
make a pull request to move everything back into the main branch of the
repository
. Be sure to reference the original issue in the pull request.
Expect some back-and-forth with regards to style and compliance of these
rules.
Building binaries (for developers)
If you want to build the executables yourself you can use the following commands. We use pyinstaller to package the executables.
Make sure you have pyinstaller installed using pip install pyinstaller
.
On your operating system, build the exe once you have the python source code up and running:
pyinstaller --distpath dist/darwin/ GSAreport.spec
We provide binaries for Linux and Mac-OS in the releases section.