Installing from source for development¶
uv is recommended. Install uv.
Clone the repo:
$ git clone https://github.com/callowayproject/pybpmn-parser
Setup the environment.
$ cd pybpmn-parser
$ uv sync --upgrade --all-groups
Run PyBPMN Parser’s tests from the source tree on your machine:
$ uv run pytest
Development Flow¶
This project uses the GitHubFlow workflow.
Rationale:
- The primary branch is always releasable.
- Lightweight.
- Single long-lived branch. Less maintenance overhead, faster iterations.
- Simple for one person projects, as well as collaboration.
Put simply:
- Anything in the primary branch is deployable
- To work on something new, create a descriptively named branch off the primary branch (ie: new-oauth2-scopes)
- Commit to that branch locally and regularly push your work to the same named branch on GitHub
- When you need feedback or help, or you think the branch is ready for merging, open a pull request
- After someone else has reviewed and signed off on the feature, you can merge it into the primary branch
- Once it is merged and pushed to the primary branch, you can and should deploy immediately
Merging
Merges are done via Pull Requests.
Tags
Tags are used to denote releases.