zeek / zeekscript

A toolchain to parse, analyze, and format Zeek scripts
Other
10 stars 3 forks source link

Export pre-commit hook #56

Closed bbannier closed 1 year ago

bbannier commented 1 year ago

This allows directly using this repo as a pre-commit hook.

bbannier commented 1 year ago

Might be useful to add an example to the README how to configure this for the non-initiated?

The issue is that we'd really like to document a tag for rev here and AFAIK there is no automatic tooling to keep up it up-to-date; should you know how to have update-changes only run on tags so we can replace the entry rev only for them I'd be happy to add it. If we cannot do this automatically, I'd rather not document it all to avoid stale documentation and an even more complicated release process. Also, the uninitiated might not know pre-commit autoupdate either.