File: debian-control.rules

package info (click to toggle)
acheck-rules 0.3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 80 kB
  • ctags: 5
  • sloc: makefile: 48
file content (53 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
list
	name	root
	type	loop
	test	0
	list	other-fields
	list	description
end_list


rule
	name	nop
	type	nop
end_rule


list
	name	other-fields
	type	until
	test	^Description:
	spell	no
	rule	nop
end_list


list
	name	description
	type	while
	test	"^(Description:)? "

comment
	skip	^Description:

#include common

rule
	regex	\t
	type	fix
	hint	<tab> forbiden, see Debian Policy 5.6.12
	fix	" "

rule
	regex	^ \..
	type	error
	hint	Space, full stop, other character forbiden, see Debian Policy 5.6.12

rule
	regex	^  +\.$
	type	fix
	hint	Maybe empty line
	fix	" ."

	rule	nop
end_list