-
Notifications
You must be signed in to change notification settings - Fork 1
Developer notes
You don't need to pay attention to this unless you plan to develop Twined.
-
Please raise an issue on the board (or add your $0.02 to an existing issue) so the maintainers know what's happening and can advise / steer you.
-
Create a fork of twined, undertake your changes on a new branch (call it whatever you want).
-
Ask the
twined
maintainers where to make your pull request. We'll create a version branch, according to the roadmap, into which you can make your PR. We'll help review the changes and improve the PR. -
Once checks have passed, test coverage of the new code is >=95%, documentation is updated and the Review is passed, we'll merge into the version branch.
-
Once all the roadmapped features for that version are done, we'll release.
The process for creating a new release is as follows:
- Check out a branch for the next version, called
vX.Y.Z
- Create a Pull Request into the
master
branch. - Undertake your changes, committing and pushing to branch
vX.Y.Z
- Ensure that documentation is updated to match changes, and increment the changelog. Pull requests which do not update documentation will be refused.
- Ensure that test coverage is sufficient. Pull requests that decrease test coverage will be refused.
- Ensure code meets style guidelines (flake8 tests will fail otherwise)
- Address Review Comments on the PR
- Ensure the version in
setup.py
is correct and matches the branch version. - Merge to master. Successful test, doc build, flake8 and a new version number will automatically create the release on pypi.
- Go to code > releases and create a new release on GitHub at the same SHA.
You don't need to do this unless you plan to develop Twined.
Install doxgen
. On a mac, that's brew install doxygen
; other systems may differ.
Install sphinx and other requirements for building the docs:
pip install -r docs/requirements.txt
Run the build process:
sphinx-build -b html docs/source docs/build