File: .githooksrc

package info (click to toggle)
libdata-validate-type-perl 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 256 kB
  • sloc: perl: 1,534; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
force_plugins = PerlCompile, PerlCritic, ValidatePODFormat, BlockNOCOMMIT, PrependTicketID, RequireCommitMessage, ValidateChangelogFormat, VersionTagsRequireChangelog
project_prefixes = GH
extract_ticket_id_from_branch = /^($project_prefixes\d+)/
normalize_branch_ticket_id = s/^(.*?)(\d+)$/\U$1-$2/
extract_ticket_id_from_commit = /^\(($project_prefixes-\d+)\) /

[PrependTicketID]
commit_prefix_format = /($ticket_id) /

[PerlCompile]
lib_paths = ./lib/

[VersionTagsRequireChangelog]
changelog_path = Changes