[Pkg-haskell-commits] [package-plan] 01/02: update-suggestions: Also suggest upgrads changing the third component of the version

Joachim Breitner nomeata at moszumanska.debian.org
Wed Aug 6 20:47:42 UTC 2014


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

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

commit 4061ed4b71c2a117299b90d2ae73757266e89e94
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Aug 6 22:31:50 2014 +0200

    update-suggestions: Also suggest upgrads changing the third component of the version
---
 update-suggestions.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update-suggestions.hs b/update-suggestions.hs
index 56dfed1..a89489c 100644
--- a/update-suggestions.hs
+++ b/update-suggestions.hs
@@ -58,7 +58,7 @@ showVersionNumber :: Version -> String
 showVersionNumber = concat . intersperse "." . map show
 
 candidate :: Version -> Version -> Bool
-candidate p v = take 3 p == take 3 v && v > p
+candidate p v = take 2 p == take 2 v && v > p
 
 hdiffLink :: Package -> Version -> Version -> String
 hdiffLink p v1 v2 =

-- 
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