You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@annotator.apache.org by GitBox <gi...@apache.org> on 2020/04/03 02:26:02 UTC

[GitHub] [incubator-annotator] tilgovi opened a new issue #72: Do not install husky git hooks when building a release tarball

tilgovi opened a new issue #72: Do not install husky git hooks when building a release tarball
URL: https://github.com/apache/incubator-annotator/issues/72
 
 
   I just discovered that husky will install its git hooks at the nearest git repository. I keep my dotfiles in git and was surprised to find husky hooks in my `~/.git/hooks` directory, from when I was testing an Annotator release.
   
   Here's my comment on a husky issue:
   
   > I'd like to use husky in a project that will be distributed as a tarball. I don't want husky to install hooks when users build the project.
   >
   > Would it be possible to default to the old behavior of assuming that the git directory is at the same level as package.json, install no hooks if it's not found, and add a configuration switch for setting an explicit root? That would make the default safer while allowing those with different layouts the ability to still use husky.
   
   https://github.com/typicode/husky/issues/36#issuecomment-608192841
   
   I think we need to resolve this before release because I really don't want to install hooks into unknowable locations on users' machines.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services