App-GitHooks-Plugin-ForceRegularUpdate
view release on metacpan or search on metacpan
lib/App/GitHooks/Plugin/ForceRegularUpdate.pm view on Meta::CPAN
[BlockProductionCommits]
max_update_age = 2 * 24 * 3600 # 2 days
description = ./my_updater.sh
env_variable = my_environment
env_safe_regex = /^development$/
update_file = /var/local/.last_update.txt
=head2 max_update_age
This indicates the maximum amount of time that may have elapsed since the last
update, before commits are blocked.
max_update_age = 2 * 24 * 3600 # 2 days
Note that this configuration option supports comments at the end, for
readability.
=head2 description
The name of the tool to run to perform an update that will reset the time
( run in 0.536 second using v1.01-cache-2.11-cpan-49f99fa48dc )