| 1 |
[licensecheck] |
| 2 |
flags = copyright |
| 3 |
apt = licensecheck | devscripts (<< 2.16.6~) |
| 4 |
command = licensecheck --check=. --recursive --copyright . |
| 5 |
# TODO: is --check=. reasonable? |
| 6 |
|
| 7 |
[suspicious-source] |
| 8 |
apt = devscripts, devscripts (>= 2.13.1~), python3-magic |
| 9 |
command = suspicious-source |
| 10 |
|
| 11 |
[licensecheck-generated-files] |
| 12 |
apt = licensecheck | devscripts (<< 2.16.6~) |
| 13 |
command = licensecheck --check=. --recursive --copyright . | grep -aF 'GENERATED FILE' |
| 14 |
|
| 15 |
[licensecheck-incorrect-fsf-address] |
| 16 |
apt = licensecheck | devscripts (<< 2.16.6~) |
| 17 |
command = licensecheck --check=. --recursive --copyright . | grep -aF 'with incorrect FSF address' |
| 18 |
|
| 19 |
[fdupes] |
| 20 |
flags = fixme fixme-ignore |
| 21 |
apt = fdupes |
| 22 |
command = fdupes -q -r . | grep -vE '/(\.(git|svn|bzr|hg|sgdrawer|pc)|_(darcs|FOSSIL_)|CVS)(/|$)' | cat -s |
| 23 |
|
| 24 |
[bitmap-gimp] |
| 25 |
flags = images |
| 26 |
comment = Check with upstream where the GIMP XCF source files are. |
| 27 |
files = *.png *.gif *.jpg *.jpeg |
| 28 |
types = image/* |
| 29 |
command = grep -nHiF gimp {files} |
| 30 |
|
| 31 |
[bitmap-inkscape] |
| 32 |
flags = images |
| 33 |
comment = Check with upstream where the Inkscape SVG source files are. |
| 34 |
files = *.png *.gif *.jpg *.jpeg |
| 35 |
types = image/* |
| 36 |
command = grep -nHiF inkscape {files} |
| 37 |
|
| 38 |
[bitmap-synfig] |
| 39 |
flags = images |
| 40 |
comment = Check with upstream where the Synfig SIF source files are. |
| 41 |
files = *.png *.gif *.jpg *.jpeg |
| 42 |
types = image/* |
| 43 |
command = grep -nHi 'SINFG|SYNFIG' {files} |
| 44 |
|
| 45 |
[bitmap-povray] |
| 46 |
flags = images |
| 47 |
comment = Check with upstream where the POV-Ray POV source files are. |
| 48 |
files = *.png *.gif *.jpg *.jpeg |
| 49 |
types = image/* |
| 50 |
command = grep -nHiF 'POV-Ray' {files} |
| 51 |
|
| 52 |
[bitmap-gnuplot] |
| 53 |
flags = images |
| 54 |
comment = Check with upstream where the gnuplot scripts are. |
| 55 |
files = *.png *.gif *.jpg *.jpeg |
| 56 |
types = image/* |
| 57 |
command = grep -nHiF 'gnuplot' {files} |
| 58 |
|
| 59 |
[bitmap-base64] |
| 60 |
flags = images |
| 61 |
files = *.xml *.html *.xhtml *.svg |
| 62 |
comment = Check with upstream why they are storing binary data in plain text form. |
| 63 |
command = grep -nHoP 'data:image/[a-z0-9]*;base64,.{{20}}' {files} |
| 64 |
|
| 65 |
[cpuinfo] |
| 66 |
comment = Parsing /proc/cpuinfo is not portable at all, use /sys instead. |
| 67 |
command = grep -nHrF /proc/cpuinfo . |
| 68 |
|
| 69 |
[readme-install] |
| 70 |
comment = Users of binary packages do not need install instructions. |
| 71 |
files = *README* |
| 72 |
not-files = README.md README.rst README.install |
| 73 |
command = grep -nHiF install {files} |
| 74 |
|
| 75 |
[autoupdate] |
| 76 |
flags = modify |
| 77 |
apt = autoconf |
| 78 |
files = configure.ac configure.in |
| 79 |
command = autoupdate |
| 80 |
comment = Overwrites configure.ac (#776559) |
| 81 |
|
| 82 |
[autoscan] |
| 83 |
flags = modify |
| 84 |
apt = autoconf |
| 85 |
files = configure.ac configure.in |
| 86 |
command = autoscan |
| 87 |
comment = Overwrites autom4te.cache/ autoscan.log configure.scan (#818572) |
| 88 |
|
| 89 |
[empty] |
| 90 |
types = inode/x-empty |
| 91 |
command = find . \( -name .git -o -name .svn -o -name .bzr -o -name CVS -o -name .hg -o -name _darcs -o -name _FOSSIL_ -o -name .sgdrawer -o -name .pc \) -prune -o -empty -print |
| 92 |
|
| 93 |
[todo] |
| 94 |
command = grep -nHriE 'fixme|todo|hack|xxx+|broken' . |
| 95 |
|
| 96 |
[isutf8] |
| 97 |
apt = moreutils |
| 98 |
not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc |
| 99 |
flags = fixme fixme-ignore |
| 100 |
comment = A recursive option needs to be implemented (#780197) |
| 101 |
not-files = |
| 102 |
*.blend |
| 103 |
*.icns *.bmp *.ico *.png *.gif *.jpg *.jpeg *.tga *.xcf *.tif *.tiff |
| 104 |
*.mo *.gmo |
| 105 |
*.gz *.bz2 *.xz *.lz *.zip *.tar *.deb |
| 106 |
*.pdf *.odt *.docx *.doc |
| 107 |
*.chm |
| 108 |
*.torrent |
| 109 |
*.pyc *.pyo *.o *.so *.so.* *.debug |
| 110 |
*.wav *.ogg *.oga *.ogv *.mid *.mp3 *.flac |
| 111 |
*.ttf *.otf *.fon |
| 112 |
*.pgp *.gpg |
| 113 |
*.dat |
| 114 |
types = text/* |
| 115 |
command = isutf8 {files} |
| 116 |
|
| 117 |
[disabled-tests] |
| 118 |
command = grep -nHriEC1 '((check|test) *\|\| *true|-dh_auto_test)' . |
| 119 |
|
| 120 |
[timeless] |
| 121 |
comment = Prevents reproducible builds: https://reproducible-builds.org/ |
| 122 |
command = grep -nHrE '__DATE__|__TIME__|__TIMESTAMP__' . |
| 123 |
|
| 124 |
[project-flint] |
| 125 |
flags = todo |
| 126 |
comment = #809042 https://github.com/pengwynn/flint |
| 127 |
|
| 128 |
[http] |
| 129 |
comment = check if these can be switched to https:// |
| 130 |
command = grep -nHrF http: . |
| 131 |
|
| 132 |
[embed-readme] |
| 133 |
flags = embed |
| 134 |
files = *README* |
| 135 |
comment = Please check if these README files belong to embedded code/data copies. |
| 136 |
command = find . -mindepth 2 -iname '*README*' |
| 137 |
|
| 138 |
[embed-dirs] |
| 139 |
flags = embed |
| 140 |
comment = Please check if these directories contain embedded code/data copies. |
| 141 |
command = find . -type d -name 'vendor*' -o -iname '*rd*party' -o -iname 3rdp -o -name contrib -o -name imports -o -name node_modules -o -iname external -o -iname deps -o -name inc |
| 142 |
|
| 143 |
[mailto] |
| 144 |
comment = As per RFC 6068, there should be no slashes after "mailto:". |
| 145 |
command = grep -nHrF mailto:/ . |
| 146 |
|
| 147 |
# TODO: EC2_SECRET_KEY |
| 148 |
# TODO: curl -k --insecure |
| 149 |
# TODO: wget --no-check-certificate |
| 150 |
# TODO: svn --trust-server-cert |
| 151 |
# TODO: bogomips |
| 152 |
# TODO: ripper |
| 153 |
# TODO: similarity-tester sim_text |
| 154 |
# TODO: https://github.com/coala/coala |
| 155 |
# TODO: https://github.com/nexB/scancode-toolkit/ |
| 156 |
# TODO: https://github.com/jeremylong/DependencyCheck/ |
| 157 |
# TODO: http://www.coding-guidelines.com/numbers/ |
| 158 |
# TODO: ebnflint |
| 159 |
# TODO: http://fbinfer.com/ #789059 |
| 160 |
# TODO: https://github.com/facebook/pfff/wiki/Scheck |
| 161 |
# TODO: http://jwilk.net/software/urlycue |
| 162 |
# TODO: https://github.com/dlenski/wtf |
| 163 |
# TODO: https://marc-stevens.nl/research/software/download.php?file=libdetectcoll-0.2.zip |
| 164 |
# TODO: https://github.com/cr-marcstevens/sha1collisiondetection |
| 165 |
# TODO: https://github.com/dxa4481/truffleHog |
| 166 |
|
| 167 |
# vim:ft=dosini |