From 0f8f50c0c79fd0234e34d1bccac23a4b7c08341f Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Wed, 14 Feb 2018 15:13:21 -0500 Subject: xlint: warn on git archives with .zip --- xlint | 1 + 1 file changed, 1 insertion(+) (limited to 'xlint') diff --git a/xlint b/xlint index ab87270..d7ec713 100755 --- a/xlint +++ b/xlint @@ -167,6 +167,7 @@ for template; do "custom variables should use _ prefix: \2" scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2" scan '^(.*)-docs_package().*' 'use -doc subpackage for documentation' + scan 'distfiles=.*github.com.*/archive/.*\.zip[\"]?$' 'Use the distfile .tar.gz instead of .zip' scan 'distfiles=.*downloads\.sourceforge\.net' 'use $SOURCEFORGE_SITE' scan 'distfiles=.*savannah.nongnu\.org' 'use $NONGNU_SITE' scan 'distfiles=.*archive\.ubuntu\.com' 'use $UBUNTU_SITE' -- cgit 1.4.1