Repository navigation
Yggdrasil v0.5.0
Yggdrasil v0.5.0 consolidates the codebase into a single yggdrasil package and removes obsolete code. The current planning and execution model is preserved, but import paths and legacy integrations change.
Highlights
- Repository cleanup. Removed unused built-in realms, legacy entry scripts (
ygg-mule.pyandygg_trunk.py), obsolete reporting code, and unused runtime dependencies. - One package. The top-level
libpackage is folded intoyggdrasil, and the layering is visible in the paths:config,logging_utilsanderrorsat the bottom;flow,watchersandcouchdbabove them; thenstorageandops;daemonandclion top. - Lighter imports. Importing
yggdrasil.floworyggdrasil.watchersno longer loads the CouchDB client or changes the logging configuration. Process-wide logging setup happens inconfigure_logging(), which the CLI calls. - Packaging. Explicit package discovery includes the complete package tree, bundled assets, and typing marker, including when building wheels from source distributions.
- Legacy code removed. Legacy import aliases, the
ygg.handlerentry-point group, and code that the current architecture had already replaced are gone. - CI maintenance. Updated GitHub Actions dependencies and excluded a deleted placeholder-credential test fixture from secret scanning.
Upgrading
- Import paths. Every
lib.*import breaks; there is no compatibility shim. Realm code importsEventTypeandWatchSpecfromyggdrasil.watchers, and the rest of the realm-facing API fromyggdrasil.flowandyggdrasil.core.realm. - Realm registration. Entry points in the
ygg.handlergroup are no longer discovered. Register realms throughygg.realm. - Logger names. Logger names follow the module paths; for example,
lib.watchers.manageris nowyggdrasil.watchers.manager. Update any log filter that matches on logger name. - Test-realm plans in development databases. Plans written before this release whose steps live under
lib.realms.test_realmcannot be re-executed. Delete them and regenerate them. Plans of external realms are not affected. - Development from a checkout. For development from a checkout, install with
pip install -e .; the automatic repository-path insertion has been removed.
What's Changed
- Refactor/repository cleanup by @glrs in #105
- Merge main (v0.4.0) into dev by @glrs in #106
- Refactor/package consolidation by @glrs in #107
- Fix/package consolidation followup by @glrs in #108
- Repository cleanup and package consolidation by @glrs in #109
Full Changelog: v0.4.0...v0.5.0