[package-plan] 01/01: test-packages: Fix error message for new-in-LTS

Daniel Silverstone dsilvers at moszumanska.debian.org
Mon Aug 10 13:54:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

dsilvers pushed a commit to branch master
in repository package-plan.

commit ac4eb3e9e372a3b5b0b9afbacfec64e715fad8d5
Author: Daniel Silverstone <dsilvers at digital-scurf.org>
Date:   Mon Aug 10 13:52:20 2015 +0000

    test-packages: Fix error message for new-in-LTS
    
    Previously, if a package was new in LTS, mentioned in the plan,
    but absent from the archive, then we'd get a perl error message
    when we printed out the MISSING notice.
---
 test-packages.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-packages.pl b/test-packages.pl
index a95ac1f..3c92a3c 100755
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -210,8 +210,8 @@ for my $pkg (sort keys %packages) {
 				$error_count++;
 			}
 			if ( version_compare($versions{$pkg}, $lts{$pkg}) == -1 ) {
-				printf "BEHIND: %s is %s but already %s in the tracked LTS release.\n" ,
-					$pkg, $available{$pkg}, $lts{$pkg};
+				printf "BEHIND: %s is %s here, %s in the archive, but already %s in the tracked LTS release.\n" ,
+					$pkg, $versions{$pkg}, ($available{$pkg} or "MISSING"), $lts{$pkg};
 				$error_count++;
 				$stats{"lts-upgradeable"}++;
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list