Shepherd-WebAPI
Testbed-WebAPI: https://shepherd.cfaed.tu-dresden.de:8000
Main Documentation: https://nes-lab.github.io/shepherd
Source Code: https://github.com/nes-lab/shepherd-webapi
Main Project: https://github.com/nes-lab/shepherd
This repo contains:
shepherd-client
-sources in/client
shepherd-server
-sources in/server
Development & Release
Testbench & Static Analysis
Warning: ☠☠☠ Don’t run unittests (pytest
) on a production system as it will delete the database! ☠☠☠
pre-commit run -a
pytest
# or
pytest --stepwise
Code Coverage
coverage run -m pytest
coverage html
# or simpler
coverage report
Release-Procedure
increase version number by executing
bump2version
(see cmds below)update changelog in
CHANGELOG.md
run unittests locally
additionally every push gets automatically tested by GitHub workflows
install and run
pre-commit
for QA-Checks, see steps abovemove code from dev-branch to main by PR
add tag to commit - reflecting current version number - i.e.
v25.5.1
GitHub automatically creates a release
update release-text with latest Changelog (from
CHANGELOG.md
)rebase dev-branch
bump2version --allow-dirty --new-version 2025.06.4 patch
# ⤷ format: year.month.patch_release