[pkg-haskell-tools] 01/01: dht what-to-upgrade: Support HTTPS URLs in watchfiles

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Sat Nov 4 13:07:16 UTC 2017


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

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

commit 4fb15f7638fb94d5a43073ad9935f933956f6b96
Author: Ilias Tsitsimpis <iliastsi at debian.org>
Date:   Sat Nov 4 14:48:24 2017 +0200

    dht what-to-upgrade: Support HTTPS URLs in watchfiles
---
 debian/changelog        | 4 ++++
 scripts/what-to-upgrade | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b29edcb..750c437 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 pkg-haskell-tools (0.11.1) UNRELEASED; urgency=medium
 
+  [ Joachim Breitner ]
   * dht upload: Prefer a _source changes files over an _arch changes files. 
 
+  [ Ilias Tsitsimpis ]
+  * dht what-to-upgrade: Support HTTPS URLs in watchfiles.
+
  -- Joachim Breitner <nomeata at debian.org>  Fri, 13 Oct 2017 11:53:15 -0400
 
 pkg-haskell-tools (0.11.0) unstable; urgency=medium
diff --git a/scripts/what-to-upgrade b/scripts/what-to-upgrade
index f12d424..2217954 100755
--- a/scripts/what-to-upgrade
+++ b/scripts/what-to-upgrade
@@ -58,7 +58,7 @@ for my $dir (@dirs) {
 		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!) {
+		unless ($watch =~ m!https?://hackage.haskell.org/package/(.*)/distro-monitor!) {
 			#printf STDERR "Cannot parse watchfile %s\n", $watchfile;
 			# ignore packages with non-standard watch files
 			next

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