Skip to content
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

Add StdGems check #130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add StdGems check #130

wants to merge 2 commits into from

Conversation

vr4b4c
Copy link
Member

@vr4b4c vr4b4c commented Sep 5, 2022

Task: #616

Aim

Register StdGemsCheck hook with overcommit.

Other

Looking at the overcommit source code, it seems Git tracking status of the hook file is considered when calcualting hook signature. Since hook files (eg. zeitwerk check) aren't tracked at the moment template is being applied to the new Rails app, it means the signature will be different(wrong) later when overcommit runs the pre-commit/push hooks. The solution, track hook files, prior to signing them.

TODO

  • publish std_gems on RubyGems and update Gemfile reference

Copy link

@MilanVilov MilanVilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants