-
Notifications
You must be signed in to change notification settings - Fork 1
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 configurable and extensible git hooks #1
Open
jonpugh
wants to merge
49
commits into
7.x-3.x
Choose a base branch
from
2897894-git-hooks
base: 7.x-3.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add 'git_hooks' column to {hosting_git} table. - Add 'Git Hooks' field listing checkboxes of available hooks along with code for insert and update. (For site nodes only.) - Add 'hook_hosting_git_hooks()' to allow modules to return list of git hooks. - Add git_hooks as a provision context property. - Add git hooks options to Git Checkout and Pull tasks. - Add code to run each git hook on git checkout and git pull tasks. If git pull or checkout is being run on a platform, run the git hooks for every site on the platform. - Adds hook_hosting_git_hooks() and hook_provision_git_hooks() that can be implemented by any module.
…that for the hooks, not the site default.
…alias_files() instead of messing with drush context switching.
…atform and site verify tasks after tasks complete.
…en "Skip Hooks" is checked.
…e still set in the task.
…mote for our desired repo_url is set. If not, throw a warning.
- Add Symfony Process component. - Only run composer install if git hook is configured.
…Pull/Checkout: - Add settings for "default git hooks" which sets what is selected on node/add/platform or node/add/site. - Add settings for 'allow git hooks config on sites' and platforms. - Moved settings form around.
…site should show the git fieldset: _hosting_git_type_allowed() depends on two variables. -
… on provision verify if a composer.json file exists.
…_path when it's a site node.
…debase by copying the hosting git project in.
Working on getting hosting_git testable on travis. I had to fix the docker images so :latest actually points to latests. |
…git into 2897894-git-hooks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is bringing devshop functionality to aegir core.
See https://www.drupal.org/project/hosting_git/issues/2897894
Remaining tasks: