Recording git state on install

I have a Rose/Cylc8 workflow stored in a Git repository. I would like to be able to record the state of the repository (hash and a selection of diffs) on installation in a file (probably JSON or YAML, but format is not important). As far as I can tell from the Cylc8 docs, there’s no way to hook anything into the install command to do something like this. Basically, I’m just wondering whether my reading of the docs is correct and what I want to do is not possible with Rose/Cylc, or if there’s some way I can achieve this.

I’m running with v8.6.2.

A built in install plugin does this. Look in <run-dir>/log/version

docs reference

1 Like

Oh awesome, that’s almost exactly the information I was looking for, thanks.

FYI: Bespoke install plugins are also possible docs, though you may want to touch base here before attempting to develop one incase there are plans for such functionality in the core repo.