[get-flash-videos] 05/05: add Count-https-video-URLs-in-the-results.patch from Niko Tyni

Damyan Ivanov dmn at moszumanska.debian.org
Mon Nov 27 10:49:31 UTC 2017


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

dmn pushed a commit to branch master
in repository get-flash-videos.

commit f61bd57cc245873417e422d6811fd2aecb1fc8a3
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Nov 27 10:42:10 2017 +0000

    add Count-https-video-URLs-in-the-results.patch from Niko Tyni
    
    Fixes t/google_video_search.t (Closes: #801747)
---
 .../Count-https-video-URLs-in-the-results.patch    | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/Count-https-video-URLs-in-the-results.patch b/debian/patches/Count-https-video-URLs-in-the-results.patch
new file mode 100644
index 0000000..ef511a8
--- /dev/null
+++ b/debian/patches/Count-https-video-URLs-in-the-results.patch
@@ -0,0 +1,30 @@
+From ad36427136f759d3f7be85a074a4f8bafe5a42a9 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Wed, 14 Oct 2015 10:06:31 +0300
+Subject: [PATCH] Count https video URLs in the results
+Forwarded: https://github.com/monsieurvideo/get-flash-videos/pull/220
+Bug: https://github.com/monsieurvideo/get-flash-videos/pull/220
+Bug-Debian: https://bugs.debian.org/801747
+
+Some video URLs on the Google video site now start
+with https, making the test fail.
+---
+ t/google_video_search.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/google_video_search.t b/t/google_video_search.t
+index 0609bb8..1c37398 100644
+--- a/t/google_video_search.t
++++ b/t/google_video_search.t
+@@ -23,7 +23,7 @@ my $sane_result_count = 0;
+ foreach my $result (@results) {
+   if ((ref($result) eq 'HASH') and
+       $result->{name} and
+-      $result->{url} =~ m'^http://') {
++      $result->{url} =~ m'^https?://') {
+     $sane_result_count++;
+   }
+ }
+-- 
+2.5.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 6658a7a..e321d95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 use_libcrypt-blowfish-perl.diff
 no-network-tests.patch
 deprecated-left-brace-in-regex.patch
+Count-https-video-URLs-in-the-results.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/get-flash-videos.git



More information about the Pkg-perl-cvs-commits mailing list