cmk-werk-zeug
Project description
CWZ - CMK-Werk-Zeug
This is both a collection of tools and shared libraries created for (but not limited to) Checkmk development and a 'collector' for other tools located in different repositories.
What you get
cmk-components
A CLI for querying and validating component and code ownership details of the check_mk (mostly) repository.
Use cases:
- Browse all components interactively (TUI, default when no subcommand is given)
- List all known components:
list - Show members/owners of a component:
members <COMPONENT> - Show which paths belong to a component:
paths <COMPONENT> - Look up who owns a given file or directory:
owners <PATH> - Find which component a path belongs to:
component <PATH> - List all
OWNERSconfig files in the repo:config-files
Output modes (--mode): rich (default in a terminal), json, script (YAML, default when
stdout is not a TTY — suitable for piping).
Caching (--cache-mode auto|always|never): a locally cached collection of component and
ownership information stored at ~/.cache/cwz/cmk-components.json will be used in auto (default)
mode if remote git commit still matches or when in always mode. In never mode, the cache will be
ignored and updated with the latest data from Gerrit.
Credentials: read from ~/.netrc by default; override via --gerrit-username-var /
--gerrit-api-token-var to name environment variables that hold the credentials instead.
Other options: --gerrit-url, --project-name, --branch to point at a different Gerrit
instance or branch.
Install
You either clone the cwz repository (ssh://review.lan.tribe29.com:29418/cmk-werk-zeug) and make it's tools available
via uv or you install the pip package:
pipx install cmk-werk-zeug
For ci_build_metrics you need PostgreSQL installed
sudo apt install postgresql postgresql-contrib postgresql-server-dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmk_werk_zeug-0.2.3.tar.gz.
File metadata
- Download URL: cmk_werk_zeug-0.2.3.tar.gz
- Upload date:
- Size: 173.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2be035f4246d8db23b1c7692b753111754748ff058f1ec4f402f38b985c080ce
|
|
| MD5 |
19a04666146be0f841b86d26f03f69c3
|
|
| BLAKE2b-256 |
642dfebaa11712946df15b8ec4decdbb7cc76e1d7271b092a7521338795f3f4c
|
File details
Details for the file cmk_werk_zeug-0.2.3-py3-none-any.whl.
File metadata
- Download URL: cmk_werk_zeug-0.2.3-py3-none-any.whl
- Upload date:
- Size: 66.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd15ee7b7ba6c5a442fe64bf093ba20febff78fed6cf14b66f841859cd3dd3e9
|
|
| MD5 |
90679ad5b7a29b7e042de0b42f1ad820
|
|
| BLAKE2b-256 |
c5c71241bc5a64006cd3b378e8787190b4adc93bb5bdbebac9652852edc95f69
|