Repository navigation
Replies: 2 comments
|
This would be a significant amount of work. We may be able to get there eventually, but it will take some time. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
prek updateupdates configured repository revisions but leaves version-pinned hookadditional_dependenciesunchanged. This requires users to update those dependency pins manually or with separate tooling.Extend
prek updateto detect and update eligible version pins in hook-leveladditional_dependencies.Proposed behavior
language..pre-commit-hooks.yaml; only update values explicitly declared in the project configuration.Example
Before:
Usage
$ prek updateAfter:
The repository
revremains unchanged when it is already current, while eligibleadditional_dependenciesare updated independently.Acceptance criteria
.pre-commit-config.yamlandprek.toml.--repoand--exclude-repoalso scope dependency updates under the selected repository entries.--cooldown-daysapplies when selecting eligible dependency releases.--dry-rundisplays dependency updates without modifying the configuration.--exit-codeand--checkdetect available dependency updates.--freeze,--bleeding-edge, and tag filters continue to apply only to repository revisions.All reactions