Closed
Description
Potentially, the upgrade is not even necessary. I.e. maybe we should check:
- running new hooks with old package (irrelevant because with new hooks, new package will be installed in {renv}).
- running old hooks with new package. This basically requires an up-to-date package to pass all old hook scripts. This should work as long as there are no API changes to the hook script helpers. This needs clear hints (or maybe even a vignette) on upgrading.
When precommit > 0.1.3
, the hook script could validate the hook version and if not > 0.1.3, throw an error. That way, we ensure that people who update {precommit} also update the hook versions, potentially at random (to save time).
Metadata
Metadata
Assignees
Labels
No labels