Skip to content

Githooks requires use of node where you run git commands #217

@grayside

Description

@grayside

In some workflows git is run in one environment, but operational dependencies may be silo'd into a separate virtual or containerized environment. The new (in 0.9) githooks functionality makes grunt-drupal-tasks a dependency of git.

A workaround for this problem might go as follows:

  • Add a Gruntconfig option to suppress the git-setup warning. Currently you must have a pre-commit hook or suppress validate errors to negate this warning.
  • Adjust the githook task configuration to allow setting the command option, which would allow us to swap out the assumption that grunt is the base command with something else, e.g., docker exec <container> grunt.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions