App::GitHooks::Plugin - Base class for plugins.

AUBERTG/App-GitHooks-v1.9.0 - 19 Mar 2017 21:30:33 GMT - Search in distribution

App::GitHooks::Plugin::PerlCritic - Verify that all changes and addition to the Perl files pass PerlCritic checks.

PerlCritic is a static source code analysis tool. This plugin calls PerlCritic and verifies that the staged modifications do not trigger any violations. Note that if you stage half of a file for committing, this plugin will correctly only check for c...

AUBERTG/App-GitHooks-Plugin-PerlCritic-v1.1.0 - 20 Mar 2017 01:28:44 GMT - Search in distribution

App::GitHooks::Plugin::PerlCompile - Verify that Perl files compile without errors.

This plugin verifies that staged Perl files compile without errors before allowing the commit to be completed....

AUBERTG/App-GitHooks-Plugin-PerlCompile-v1.1.1 - 22 May 2016 02:13:51 GMT - Search in distribution

App::GitHooks::Plugin::RubyCompile - Verify that staged Ruby files compile.

Verify that staged Ruby files compile by running ruby -c against them. Warnings are suppressed with -W0....

JMAURER/App-GitHooks-Plugin-RubyCompile-v1.0.0 - 05 Jun 2014 02:17:54 GMT - Search in distribution

App::GitHooks::Plugin::BlockNOCOMMIT - Prevent committing code with #NOCOMMIT mentions.

Sometimes you want to experiment with code, but you want to make sure that test code doesn't get committed by accident. This plugin allows you to use "#NOCOMMIT" to indicate such code blocks, and will prevent you from committing those blocks. For exa...

AUBERTG/App-GitHooks-Plugin-BlockNOCOMMIT-v1.1.1 - 21 May 2016 20:21:40 GMT - Search in distribution

App::GitHooks::Plugin::PrependTicketID - Derive a ticket ID from the branch name and prepend it to the commit-message.

If you are using the "App::GitHooks::Plugin::RequireTicketID" to force entering a ticket ID with each commit, it can become tedious if you need to do a lot of commits with the same ticket ID on a feature branch. To help with this, this plugin derives...

AUBERTG/App-GitHooks-Plugin-PrependTicketID-v1.2.0 - 20 Mar 2017 01:38:29 GMT - Search in distribution

App::GitHooks::Plugin::PerlInterpreter - Enforce a specific Perl interpreter on the first line of Perl files.

This plugin allows you to enforce a specific Perl interpreter on the first line of Perl files. This is particularly useful if you have a system Perl and a more modern PerlBrew installation on your system, and you want to make sure that other develope...

AUBERTG/App-GitHooks-Plugin-PerlInterpreter-v1.2.0 - 20 Mar 2017 01:31:38 GMT - Search in distribution

App::GitHooks::Plugin::RequireTicketID - Require a ticket ID in the commit message.

If you are using a ticketing system, it is very useful to make sure that all your commit messages include a ticket ID to provide more context into why the code is being changed....

AUBERTG/App-GitHooks-Plugin-RequireTicketID-v1.1.0 - 20 Mar 2017 03:14:45 GMT - Search in distribution

App::GitHooks::Plugin::ValidatePODFormat - Validate POD format in Perl and POD files.

AUBERTG/App-GitHooks-Plugin-ValidatePODFormat-v1.1.0 - 20 Mar 2017 04:11:04 GMT - Search in distribution

App::GitHooks::Plugin::ForceRegularUpdate - Force running a specific tool at regular intervals.

# TODO: description of how to write a tool that generates the timestamp file....

AUBERTG/App-GitHooks-Plugin-ForceRegularUpdate-v1.0.5 - 22 May 2016 01:33:19 GMT - Search in distribution

App::GitHooks::Plugin::DetectCommitNoVerify - Find out when someone uses --no-verify and append the pre-commit checks to the commit message.

Sometimes you just have to use "--no-verify" to get past the checks and commit as fast as possible. To prevent this from being too tempting, this plugin checks when you use --no-verify and runs the pre-commit checks if you've skipped them. It will le...

AUBERTG/App-GitHooks-Plugin-DetectCommitNoVerify-v1.0.3 - 22 May 2016 01:22:57 GMT - Search in distribution

App::GitHooks::Plugin::RequireCommitMessage - Require a commit message.

If you are using "App::GitHooks::Plugin::RequireTicketID", commit messages will need to include a ticket ID but the rest of the commit message can be empty. To prevent this, this plugin looks at the commit message, excluding the ticket ID, and requir...

AUBERTG/App-GitHooks-Plugin-RequireCommitMessage-v1.2.0 - 20 Mar 2017 03:11:57 GMT - Search in distribution

App::GitHooks::Plugin::MatchBranchTicketID - Detect discrepancies between the ticket ID specified by the branch name and the one in the commit message.

"App::GitHooks::Plugin::PrependTicketID" allows pulling ticket IDs from the branch name. This way, if you're committing a lot, having a proper branch name can save you a lot of time. That said, you sometimes need to commit using a different ticket ID...

AUBERTG/App-GitHooks-Plugin-MatchBranchTicketID-v1.0.2 - 22 May 2016 01:36:08 GMT - Search in distribution

App::GitHooks::Plugin::PgBouncerAuthSyntax - Verify that the syntax of PgBouncer auth files is correct.

This plugin verifies that staged PgBouncer authentication files have a proper syntax before allowing the commit to be completed. See http://pgbouncer.projects.pgfoundry.org/doc/config.html, under the "Authentication File Format" section, for more inf...

AUBERTG/App-GitHooks-Plugin-PgBouncerAuthSyntax-v1.1.0 - 20 Mar 2017 01:35:41 GMT - Search in distribution

App::GitHooks::Plugin::ForceBranchNamePattern - Require branch names to match a given pattern before they can be pushed to the origin.

For example, if you define in your .githooksrc file the following: [ForceBranchNamePattern] branch_name_pattern = /^[a-zA-Z0-9]+$/ Then a branch named "TestBranch" can be pushed to the origin, but not one named "test_branch". A practical use of this ...

AUBERTG/App-GitHooks-Plugin-ForceBranchNamePattern-v1.1.3 - 25 Jul 2016 02:55:33 GMT - Search in distribution

App::GitHooks::Plugin::BlockProductionCommits - Prevent commits in a production environment.

Committing in production means you've been developing in production. That just sounds like a terrible idea....

AUBERTG/App-GitHooks-Plugin-BlockProductionCommits-v1.1.0 - 04 Apr 2015 01:00:06 GMT - Search in distribution

App::GitHooks::Plugin::NotifyReleasesToSlack - Notify Slack channels of new releases pushed from a repository.

If you maintain a changelog file, and tag your release commits, you can use this plugin to send the release notes to Slack channels. Here is a practical scenario: 1. Install "App::GitHooks::Plugin::NotifyReleasesToSlack". 2. Set up an incoming webhoo...

AUBERTG/App-GitHooks-Plugin-NotifyReleasesToSlack-v1.1.1 - 22 May 2016 02:11:03 GMT - Search in distribution

App::GitHooks::Plugin::ValidateChangelogFormat - Validate the format of changelog files.

This plugin verifies that the changes log conforms to the specifications outlined in "CPAN::Changes::Spec"....

AUBERTG/App-GitHooks-Plugin-ValidateChangelogFormat-v1.1.0 - 20 Mar 2017 04:08:16 GMT - Search in distribution

App::GitHooks::Plugin::PreventTrailingWhitespace - Prevent trailing whitespace from being committed.

Prevent pesky trailing whitespace from being committed....

BARWIN/App-GitHooks-Plugin-PreventTrailingWhitespace-v1.0.1 - 10 Jun 2014 00:19:56 GMT - Search in distribution

App::GitHooks::Plugin::VersionTagsRequireChangelog - Require git version tags to have a matching changelog entry.

This is a companion plugin for App::GitHooks::Plugin::NotifyReleasesToSlack. "NotifyReleasesToSlack" simply skips git version tags without a matching entry in the changelog file, and this plugin allows you to force git version tags to have a matching...

AUBERTG/App-GitHooks-Plugin-VersionTagsRequireChangelog-v1.1.0 - 20 Mar 2017 04:13:52 GMT - Search in distribution

20 results (0.129 seconds)