File: commit-rules.yml

package info (click to toggle)
gnome-shell 49.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,804 kB
  • sloc: javascript: 75,083; ansic: 66,192; xml: 1,798; sh: 919; python: 666; makefile: 51
file content (18 lines) | stat: -rw-r--r-- 809 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
patterns:
  deny:
    - regex: '^(st-|St)'
      message: Commit message subject should not be prefixed with 'st-' or 'St', use 'st/' instead
      where: subject
    - regex: '^[^:]+: [a-z]'
      message: "Commit message subject should be properly Capitalized. E.g. 'window: Marginalize extradicity'"
      where: subject
    - regex: '^\S*\.(js|c|h):'
      message: Commit message subject prefix should not include .c, .h etc.
      where: subject
    - regex: '([^.]\.|[:,;])\s*$'
      message: Commit message subject should not end with punctuation
      where: subject
    - regex: '^[Cc]lose[sd]?:?\s*#[0-9]+'
      message: Closes instructions must be a full link
    - regex: '^[Ff]ix(e[sd]?)?:?\s*(#[0-9]+|https://)'
      message: \"Fixes\" should be used with commits, use \"Closes\" for issues