[projects/pld-ftp-admin] Filter out boolean deps, poldek does not support them and reports false negatives

baggins baggins at pld-linux.org
Sun Feb 28 21:14:04 CET 2021


commit fa15d944c98c4d60b368aab55d3201b0f41a1bcd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 28 21:13:12 2021 +0100

    Filter out boolean deps, poldek does not support them and reports false negatives

 wwwbin/consistency-check.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/wwwbin/consistency-check.sh b/wwwbin/consistency-check.sh
index 0a4fb54..ad90590 100755
--- a/wwwbin/consistency-check.sh
+++ b/wwwbin/consistency-check.sh
@@ -3,11 +3,14 @@
 export LC_ALL=C
 
 filter_deps() {
+	boolean_deps="req \(.*\) not found"
+	common_deps="cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso"
+	x32_deps="libreoffice|nodejs|firefox|seamonkey|thunderbird"
 	if [ $1 = "x32" ]; then
-	  grep -Ev "(cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso|libreoffice|nodejs|firefox|seamonkey|thunderbird)"
+		grep -Ev "($boolean_deps|$common_deps|$x32_deps)"
 	else
-	  grep -Ev "(cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso)"
-    fi
+		grep -Ev "($boolean_deps|$common_deps)"
+	fi
 }
 
 # group errors by same error kind
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/fa15d944c98c4d60b368aab55d3201b0f41a1bcd



More information about the pld-cvs-commit mailing list