-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On secureli init
, install latest released version of hooks
#159
Labels
story
New feature or request
Comments
gabenegron
changed the title
Update versions of default linters
On secureli init, install latest released version of hooks
Jul 5, 2023
gabenegron
changed the title
On secureli init, install latest released version of hooks
On init, install latest released version of hooks
Jul 5, 2023
gabenegron
changed the title
On init, install latest released version of hooks
On Jul 6, 2023
secureli init
, install latest released version of hooks
Let's refine this story further |
This was referenced Oct 12, 2023
calebtonn
pushed a commit
that referenced
this issue
Nov 2, 2023
#159 [Pre-commit does not support using a latest tag](https://pre-commit.com/#using-the-latest-version-for-a-repository), the only way to use latest is to update after install. I tested these changes by updating the version I installed with brew re-initializing a test repo with javascript and python code. It looks like the fix I made to the update command could use a regression test, that line of code cannot run without a folder path argument. Co-authored-by: Rob Rodriguez <[email protected]>
Closing. This was resolved from #322 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User Story
As a developer, when I initialize a git repo using
secureli
, the version of the hooks installed should be the latest released version, so I can start my development effort using the latest and greatest hooks.Acceptance Criteria
secureli init
for the first time on a repo or runningsecureli init --reset
secureli update --latest
secureli init
on a repo that has already has a .pre-commit-config.yaml configuration fileTechnical Notes
secureli init
installs hooks with specific versions associated with each hook (static config in our own repo)secureli update --latest
just calls pre-commit to update the hooks configuredThe text was updated successfully, but these errors were encountered: