[pkg-haskell-tools] 01/01: dht upgrade: Handle +ds

Joachim Breitner nomeata at moszumanska.debian.org
Mon May 30 15:24:46 UTC 2016


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

nomeata pushed a commit to branch master
in repository pkg-haskell-tools.

commit 88b452a1566b6258e4be64d4724fb0a9caa341a4
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon May 30 17:24:10 2016 +0200

    dht upgrade: Handle +ds
---
 scripts/what-to-upgrade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/what-to-upgrade b/scripts/what-to-upgrade
index f9fc65c..f12d424 100755
--- a/scripts/what-to-upgrade
+++ b/scripts/what-to-upgrade
@@ -55,7 +55,7 @@ for my $dir (@dirs) {
 	my $firstline = <CHANGELOG>;
 	if ($firstline =~ m/([\w-]+) \(([\w:~.+-]+)\) (\w+);/) {
 		my ($source, $version, $suite) = ($1, $2, $3);
-		my ($cabal_version) = ($version =~ m/^(?:.*:)?(.*?)(?:\+dfsg\d*)?-.*?$/);
+		my ($cabal_version) = ($version =~ m/^(?:.*:)?(.*?)(?:\+(?:dfsg|ds)\d*)?-.*?$/);
 
 		my $watch = read_file($watchfile) or die @!;
 		unless ($watch =~ m!http://hackage.haskell.org/package/(.*)/distro-monitor!) {

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



More information about the Pkg-haskell-commits mailing list