serpent-os / tools

The home of moss (system state manager) and boulder (moss format build tool)
https://serpentos.com
137 stars 12 forks source link

Add trigger caches #287

Open ikeycode opened 4 months ago

ikeycode commented 4 months ago

For transaction triggers we need to generate a stable hash of matched inputs and generate a cache directory for it.

We also need to capture the outputs (via yaml addition) to be stored, such that we'll keep copies of trigger executions and install them into new roots.