[cme-check-dpkg]
apt = cme | libconfig-model-perl (<< 2.063), libconfig-model-dpkg-perl
match = ./debian/control ./debian/copyright
command = cme check dpkg

[uscan]
apt = devscripts
match = ./debian/watch
command = uscan --report-status --no-verbose
flags = network

[chk-origtargz]
flags = todo network
apt = devscripts
match = ./debian/watch
comment =
 not yet implemented but checkorig would be like this:
 tmp=$(mktemp -d)
 uscan --download-current-version --destdir $tmp
 diffoscope/tardiff/cmp ../*.orig.* $tmp/*
 rm -rf $tmp

[duck]
apt = duck
match = ./debian/control ./debian/upstream ./debian/upstream-metadata.yaml ./debian/upstream/metadata ./debian/copyright
command = duck
flags = network

[lintian]
apt = lintian
match = ../*.changes ../*.deb ../*.dsc
command = lintian --info --display-info --display-experimental --pedantic --show-overrides --color auto {files}

# TODO: re-enable if the package is ever revived
# TODO: see #768988 and #778796
#[lintian4python]
#apt = lintian4python
#match = ../*.changes ../*.deb ../*.dsc
#command = lintian4py {files}

[upstream-metadata]
command = 
 test -d ./debian &&
 ! grep -s -q native debian/source/format &&
 ! test -e debian/upstream/metadata &&
 echo 'Please add some upstream metadata: https://wiki.debian.org/UpstreamMetadata'

# TODO: dep11-tools
# TODO: spellintian
# TODO: i18n
# TODO: vcswatch
# TODO: screenshot
# TODO: dedup
# TODO: debsecan
# TODO: mentors
# TODO: comaint
# TODO: depneedsmaint
# TODO: not lownmu
# TODO: bugs going up?
# TODO: removed
# TODO: autoremoval
# TODO: transitions
# TODO: override disparity
# TODO: bugs
# TODO: RC bugs
# TODO: bugs in derivs
# TODO: help in bts
# TODO: wnpp
# TODO: patches in bts
# TODO: patches in derivs
# TODO: merge nmu
# TODO: release goals
# TODO: watch avail/broken
# TODO: upstream info missing
# TODO: debtags
# TODO: debcheck
# TODO: piuparts
# TODO: adequate
# TODO: reproducible build
# TODO: triple debuild
# TODO: buildd failure
# TODO: ports build failure
# TODO: clang build failure
# TODO: grep-excuses -w
# TODO: autopkgtest/sadt
# TODO: pkg-perl-tools lintian
# TODO: license-reconcile
# TODO: scan-copyright
# TODO: apt Apt::Get::AllowUnauthenticated=true and --force-yes

# vim:ft=dosini
