[projects/pld-ftp-admin] consistency-check.sh: check main-ready with unique package names

arekm arekm at pld-linux.org
Tue Oct 27 10:57:42 CET 2026


commit 6005c163e2812f92456aeacfc51b19963e634576
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Oct 27 10:57:25 2026 +0100

    consistency-check.sh: check main-ready with unique package names
    
    ready holds newer builds of packages in PLD.  With both versions loaded,
    the old ones still satisfied dependencies that the move to PLD breaks,
    and reported errors the move fixes.  Only the newest of each name is
    checked now, as main-ready-test already does.
    
    Change taken from production, where it was never committed.

 wwwbin/consistency-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wwwbin/consistency-check.sh b/wwwbin/consistency-check.sh
index 2d4667e..f918426 100755
--- a/wwwbin/consistency-check.sh
+++ b/wwwbin/consistency-check.sh
@@ -95,7 +95,7 @@ job() {
 	trap 'rm -rf "$cache" "$tmp"; exit 1' INT TERM
 	case $list in
 	main)		gen_list      $arch --cachedir="$cache" $main ;;
-	main-ready)	gen_list      $arch --cachedir="$cache" $main $ready ;;
+	main-ready)	gen_list_uniq $arch --cachedir="$cache" $main $ready ;;
 	main-ready-test) gen_list_uniq $arch --cachedir="$cache" $main $ready $test ;;
 	esac > "$tmp" && chmod 644 "$tmp" && mv "$tmp" "$HOME/www/$list$outfext"
 	rm -rf "$cache" "$tmp"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list