How-to guides¶
Procedures for exercising hyrum against a charms directory: installing the tool and its host prerequisites, running the full fleet and narrowing it to the charms you care about, patching a dependency to a development branch or alternative source, triaging the results table to decide what action to take, and keeping the charms directory from filling the disk.
Running hyrum¶
- Install hyrum
Install hyrum from PyPI with uv or run it in the repository’s workshop, plus the host build packages needed for a clean fleet signal.
- Run against the charm list
Use
hyrum get-charmsto populate the charms directory, then run across many charms.- Filter a run
Use
--repo,--framework, or--limitto narrow a run to one charm or a subset of the fleet.- Patch ops to a development branch
Use
--patchto test a pre-releaseopsagainst your charm fleet.- Patch a non-ops dependency
Use
--patchto point any other package at a PyPI pin, a git source, or a local checkout.
Reading and curating results¶
- Triage a run
Investigate a result with
--verbose,--log-dir, andhyrum show, and tell a real regression from host noise.- Compare two runs
Save a baseline and use
hyrum compareto see which charms your change broke.- Suppress known results
Use
hyrum.tomlto exclude repositories from a run.- Reclaim disk space
Use
hyrum cleanto remove the build artefacts a run leaves behind, keeping the checkouts.