https://github.com/logan-connolly/toheute
Utility for copying in local changes to checkmk sites.
https://github.com/logan-connolly/toheute
checkmk git python
Last synced: 27 days ago
JSON representation
Utility for copying in local changes to checkmk sites.
- Host: GitHub
- URL: https://github.com/logan-connolly/toheute
- Owner: logan-connolly
- License: gpl-3.0
- Created: 2025-03-31T10:59:13.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-05-27T15:46:02.000Z (5 months ago)
- Last Synced: 2025-09-14T18:45:07.802Z (about 1 month ago)
- Topics: checkmk, git, python
- Language: Python
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toheute
> sync local changes with a Checkmk site.
## setup
`toheute.py` is a self-contained python script that requires
[uv](https://github.com/astral-sh/uv) to run.The script can be run as an executable, so you only need to make sure that it
can be found on your path:```console
ln -sf $PWD/toheute.py $HOME/.local/bin/toheute.py
```Once it's there, navigate to the checkmk repository and run:
```console
toheute.py
```### options
Run `toheute.py --help` to see what options are available:
```console
Usage: toheute.py [OPTIONS]Patch your local HEAD commit into a running Checkmk site.
Options:
--n-commits INTEGER Number of commits to sync.
--no-reload Don't reload services.
--full-reload Force a full reload of services.
--help Show this message and exit.
```## development
To create a dedicated virtual environment with required dependencies, run:
```console
uv venv --python 3.12
uv pip install click gitpython rich
source .venv/bin/activate
```## disclaimer
This is not an all inclusive tool for checkmk development, but instead a simple
one that meets most use cases.## acknowledgments
The original [implementation](https://github.com/gavinmcguigan/ToHeute) was
created by [@gavinmcguigan](https://github.com/gavinmcguigan) - all props
should be directed his way.