[libconfig-model-dpkg-perl] 01/02: Force HTTPS transport protocol for the recommended URL

Salvatore Bonaccorso carnil at debian.org
Sat May 21 09:31:46 UTC 2016


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

carnil pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 9117ff5ed1c6e7653f3c2c6bcc425a62e31122e8
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat May 21 10:38:59 2016 +0200

    Force HTTPS transport protocol for the recommended URL
    
    Force HTTPS transport protocol or the recomended format specification
    URL in debian/copyright.
---
 lib/Config/Model/models/Dpkg/Copyright.pl                     | 2 +-
 t/model_tests.d/dpkg-copyright-examples/double-copyright      | 2 +-
 t/model_tests.d/dpkg-copyright-examples/file-instead-of-files | 2 +-
 t/model_tests.d/dpkg-copyright-examples/oar                   | 2 +-
 t/model_tests.d/dpkg-copyright-examples/owncloud-client       | 2 +-
 t/model_tests.d/dpkg-copyright-examples/warn-BSD              | 2 +-
 t/model_tests.d/dpkg-copyright-examples/warn-MIT              | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright.pl b/lib/Config/Model/models/Dpkg/Copyright.pl
index e5e67aa..b2a75cc 100644
--- a/lib/Config/Model/models/Dpkg/Copyright.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright.pl
@@ -40,7 +40,7 @@ To upgrade your file from an old spec, run:
         'type' => 'leaf',
         'value_type' => 'uniline',
         'warn_unless_match' => {
-          '^https?://www.debian.org/doc/packaging-manuals/copyright-format/1\\.0/?$' => {
+          '^https://www.debian.org/doc/packaging-manuals/copyright-format/1\\.0/?$' => {
             'fix' => '$_ = undef;',
             'msg' => 'Format does not match the recommended URL for DEP-5'
           }
diff --git a/t/model_tests.d/dpkg-copyright-examples/double-copyright b/t/model_tests.d/dpkg-copyright-examples/double-copyright
index 1941f43..fedec55 100644
--- a/t/model_tests.d/dpkg-copyright-examples/double-copyright
+++ b/t/model_tests.d/dpkg-copyright-examples/double-copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: http://some.where.com
 
 Files: *
diff --git a/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files b/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files
index 3c3b2b3..47a9b2d 100644
--- a/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files
+++ b/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: http://some.where.com
 
 Files: *
diff --git a/t/model_tests.d/dpkg-copyright-examples/oar b/t/model_tests.d/dpkg-copyright-examples/oar
index a904c1d..2ff3d40 100644
--- a/t/model_tests.d/dpkg-copyright-examples/oar
+++ b/t/model_tests.d/dpkg-copyright-examples/oar
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: oar
 Upstream-Contact: oar-contact at lists.gforge.inria.fr
 Source: http://oar-ftp.imag.fr/oar/sources/
diff --git a/t/model_tests.d/dpkg-copyright-examples/owncloud-client b/t/model_tests.d/dpkg-copyright-examples/owncloud-client
index bb53afd..3e14a4d 100644
--- a/t/model_tests.d/dpkg-copyright-examples/owncloud-client
+++ b/t/model_tests.d/dpkg-copyright-examples/owncloud-client
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: mirall
 Upstream-Contact: Klaas Freitag <freitag at owncloud.com>
 Source: http://owncloud.org/sync-clients/
diff --git a/t/model_tests.d/dpkg-copyright-examples/warn-BSD b/t/model_tests.d/dpkg-copyright-examples/warn-BSD
index 52665c0..2a5a65d 100644
--- a/t/model_tests.d/dpkg-copyright-examples/warn-BSD
+++ b/t/model_tests.d/dpkg-copyright-examples/warn-BSD
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
 Copyright: none
diff --git a/t/model_tests.d/dpkg-copyright-examples/warn-MIT b/t/model_tests.d/dpkg-copyright-examples/warn-MIT
index 4a0d1df..7fb2122 100644
--- a/t/model_tests.d/dpkg-copyright-examples/warn-MIT
+++ b/t/model_tests.d/dpkg-copyright-examples/warn-MIT
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
 Copyright: none

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



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