[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

https'ify most URLs in tracker.debian.org



Hi,

as Chromium is showing me warnings for form data being sent over http, I
went through all debian.org URLs in the source code of
tracker.debian.org and made them https:// URLs where it was possible.

Cheers,
Martin
-- 
 Martin Zobel-Helas <zobel@debian.org>    Debian System Administrator
 Debian & GNU/Linux Developer                       Debian Listmaster
 http://about.me/zobel                               Debian Webmaster
 GPG Fingerprint:  6B18 5642 8E41 EC89 3D5D  BDBB 53B1 AC6D B11B 627B 
>From 2905a91201f25c9b3236e51172e4adbd970fcdda Mon Sep 17 00:00:00 2001
From: Martin Zobel-Helas <zobel@debian.org>
Date: Tue, 28 Oct 2014 09:26:44 +0000
Subject: [PATCH] https'ify URLs

Most debian.org URLs are nowadays reachable via https. As Chromium is
showing errors about unsecure connections for form data, all the URLs
that can be reached via https now, have been changed.

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
---
 debian/control                                     |  6 ++---
 .../core/migrations/0002_initial_data.py           |  2 +-
 distro_tracker/core/templates/core/footer.html     |  2 +-
 distro_tracker/project/settings/local.py.sample    |  2 +-
 .../standards-version-action-item.html             |  8 +++---
 distro_tracker/vendor/debian/rules.py              | 14 +++++-----
 .../debian/templates/debian/back-to-old-pts.html   |  2 +-
 .../templates/debian/help-bugs-action-item.html    |  4 +--
 .../templates/debian/lintian-action-item.html      |  4 +--
 .../templates/debian/piuparts-action-item.html     |  2 +-
 .../debian/release-goals-action-item.html          |  2 +-
 .../debian/security-issue-action-item.html         |  4 +--
 .../debian/testing-migration-action-item.html      |  2 +-
 .../debian/templates/debian/transitions-panel.html |  8 +++---
 .../debian/templates/debian/wnpp-action-item.html  |  2 +-
 distro_tracker/vendor/debian/tests.py              | 18 ++++++-------
 distro_tracker/vendor/debian/tracker_panels.py     |  2 +-
 distro_tracker/vendor/debian/tracker_tasks.py      | 30 +++++++++++-----------
 docs/contributing.rst                              |  2 +-
 setup.py                                           |  4 +--
 20 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/debian/control b/debian/control
index 17e475f..5f41407 100644
--- a/debian/control
+++ b/debian/control
@@ -20,9 +20,9 @@ Build-Depends: debhelper (>= 9),
     python-soappy,
     python-yaml,
 Standards-Version: 3.9.5
-Homepage: http://wiki.debian.org/qa.debian.org/distro-tracker
+Homepage: https://wiki.debian.org/qa.debian.org/distro-tracker
 Vcs-Git: git://anonscm.debian.org/qa/distro-tracker.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git;a=summary
 X-Python-Version: >= 2.7
 
 Package: distro-tracker
@@ -43,7 +43,7 @@ Description: follow the status of packages of a Debian-based distribution
  package provided as well as an email interface to be notified of changes
  concerning packages that the user monitors.
  .
- The main deployment of this software is on http://tracker.debian.org
+ The main deployment of this software is on https://tracker.debian.org
  but each Debian derivative can have its own instance.
  .
  This package provides all the services to run a Distro Tracker
diff --git a/distro_tracker/core/migrations/0002_initial_data.py b/distro_tracker/core/migrations/0002_initial_data.py
index a21a212..b3a0d78 100644
--- a/distro_tracker/core/migrations/0002_initial_data.py
+++ b/distro_tracker/core/migrations/0002_initial_data.py
@@ -48,7 +48,7 @@ def forwards_func(apps, schema_editor):
         MailingList(name='debian', domain='lists.debian.org',
                     archive_url_template='https://lists.debian.org/{user}/'),
         MailingList(name='alioth-debian', domain='lists.alioth.debian.org',
-                    archive_url_template='http://lists.alioth.debian.org/pipermail/{user}/'),
+                    archive_url_template='https://lists.alioth.debian.org/pipermail/{user}/'),
         MailingList(name='ubuntu', domain='lists.ubuntu.com',
                     archive_url_template='https://lists.ubuntu.com/archives/{user}/'),
         MailingList(name='riseup', domain='lists.riseup.net',
diff --git a/distro_tracker/core/templates/core/footer.html b/distro_tracker/core/templates/core/footer.html
index bd770c8..a234dcb 100644
--- a/distro_tracker/core/templates/core/footer.html
+++ b/distro_tracker/core/templates/core/footer.html
@@ -2,5 +2,5 @@
                     <div id="footer-copyright">
                         <a href="http://deb.li/DTAuthors";>Copyright</a> 2013-2014 The Distro Tracker Developers</div>
                     <div id="footer-repository">
-                        <a href="http://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git";>Git Repository</a>
+                        <a href="https://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git";>Git Repository</a>
                     </div>
diff --git a/distro_tracker/project/settings/local.py.sample b/distro_tracker/project/settings/local.py.sample
index e964ca4..d2a5f45 100644
--- a/distro_tracker/project/settings/local.py.sample
+++ b/distro_tracker/project/settings/local.py.sample
@@ -24,7 +24,7 @@ from .selected import *  # noqa
 
 # DISTRO_TRACKER_FQDN = "tracker.debian.org"
 # DISTRO_TRACKER_VENDOR_NAME = "Debian"
-# DISTRO_TRACKER_VENDOR_URL = "http://www.debian.org";
+# DISTRO_TRACKER_VENDOR_URL = "https://www.debian.org";
 # DISTRO_TRACKER_VENDOR_RULES = "distro_tracker.vendor.debian.rules"
 # DISTRO_TRACKER_CONTACT_EMAIL = 'owner@' + DISTRO_TRACKER_FQDN
 
diff --git a/distro_tracker/stdver_warnings/templates/stdver_warnings/standards-version-action-item.html b/distro_tracker/stdver_warnings/templates/stdver_warnings/standards-version-action-item.html
index 8ad358b..aeffa81 100644
--- a/distro_tracker/stdver_warnings/templates/stdver_warnings/standards-version-action-item.html
+++ b/distro_tracker/stdver_warnings/templates/stdver_warnings/standards-version-action-item.html
@@ -3,9 +3,9 @@
 {% if item.extra_data.severely_outdated %}
 <span>The package is severely out of date with respect to the Debian Policy.</span>
 {% endif %}
-<span>The package should be updated to follow the last version of <a href="http://www.debian.org/doc/debian-policy/";>Debian Policy</a>
-(Standards-Version <a href="http://www.debian.org/doc/debian-policy/upgrading-checklist.html#s-{{ lastsv }}.0">{{ lastsv }}</a> instead of
-<a href="http://www.debian.org/doc/debian-policy/upgrading-checklist.html#s-{{ standards_version }}.0">{{ standards_version }}</a>).
+<span>The package should be updated to follow the last version of <a href="https://www.debian.org/doc/debian-policy/";>Debian Policy</a>
+(Standards-Version <a href="https://www.debian.org/doc/debian-policy/upgrading-checklist.html#s-{{ lastsv }}.0">{{ lastsv }}</a> instead of
+<a href="https://www.debian.org/doc/debian-policy/upgrading-checklist.html#s-{{ standards_version }}.0">{{ standards_version }}</a>).
 </span>
 {% endwith %}
-{% endwith %}
\ No newline at end of file
+{% endwith %}
diff --git a/distro_tracker/vendor/debian/rules.py b/distro_tracker/vendor/debian/rules.py
index 0004ebb..22026cb 100644
--- a/distro_tracker/vendor/debian/rules.py
+++ b/distro_tracker/vendor/debian/rules.py
@@ -145,10 +145,10 @@ def _get_message_body(msg):
 def get_pseudo_package_list():
     """
     Existing pseudo packages for Debian are obtained from
-    `BTS <http://bugs.debian.org/pseudo-packages.maintainers>`_
+    `BTS <https://bugs.debian.org/pseudo-packages.maintainers>`_
     """
     PSEUDO_PACKAGE_LIST_URL = (
-        'http://bugs.debian.org/pseudo-packages.maintainers'
+        'https://bugs.debian.org/pseudo-packages.maintainers'
     )
     cache = HttpCache(settings.DISTRO_TRACKER_CACHE_DIRECTORY)
     if not cache.is_expired(PSEUDO_PACKAGE_LIST_URL):
@@ -175,7 +175,7 @@ def get_package_information_site_url(package_name, source_package=False,
     Return a link pointing to more information about a package in a
     given repository.
     """
-    BASE_URL = 'http://packages.debian.org/'
+    BASE_URL = 'https://packages.debian.org/'
     PU_URL = 'https://release.debian.org/proposed-updates/'
     SOURCE_PACKAGE_URL_TEMPLATES = {
         'repository': BASE_URL + 'source/{repo}/{package}',
@@ -255,7 +255,7 @@ def get_maintainer_extra(developer_email, package_name=None):
         extra.append({
             'display': 'LowNMU',
             'description': 'maintainer agrees with Low Threshold NMU',
-            'link': 'http://wiki.debian.org/LowThresholdNmu',
+            'link': 'https://wiki.debian.org/LowThresholdNmu',
         })
     if package_name and developer.is_debian_maintainer:
         if package_name in developer.allowed_packages:
@@ -434,7 +434,7 @@ def get_bug_tracker_url(package_name, package_type, category_name):
     if category_name not in URL_PARAMETERS:
         return
 
-    domain = 'http://bugs.debian.org/'
+    domain = 'https://bugs.debian.org/'
     query_parameters = URL_PARAMETERS[category_name]
 
     if package_type == 'source':
@@ -701,14 +701,14 @@ def get_extra_versions(package):
     except PackageExtractedInfo.DoesNotExist:
         return
 
-    version_url_template = 'http://ftp-master.debian.org/new/{pkg}_{ver}.html'
+    version_url_template = 'https://ftp-master.debian.org/new/{pkg}_{ver}.html'
     return [
         {
             'version': ver['version'],
             'repository_shorthand': 'NEW/' + dist,
             'version_link': version_url_template.format(
                 pkg=package.name, ver=ver['version']),
-            'repository_link': 'http://ftp-master.debian.org/new.html',
+            'repository_link': 'https://ftp-master.debian.org/new.html',
         }
         for dist, ver in info.value.items()
     ]
diff --git a/distro_tracker/vendor/debian/templates/debian/back-to-old-pts.html b/distro_tracker/vendor/debian/templates/debian/back-to-old-pts.html
index e8aff3f..19664e0 100644
--- a/distro_tracker/vendor/debian/templates/debian/back-to-old-pts.html
+++ b/distro_tracker/vendor/debian/templates/debian/back-to-old-pts.html
@@ -6,7 +6,7 @@
 such as subscription management on the web, team subscriptions, etc.)
 but should you find some features that are lacking or some other problems,
 then please file bug reports against the
-<a href="http://bugs.debian.org/tracker.debian.org";>tracker.debian.org</a>
+<a href="https://bugs.debian.org/tracker.debian.org";>tracker.debian.org</a>
 pseudo-package. Also don't hesitate to help us by
 <a href="https://tracker.debian.org/docs/contributing.html";>contributing
 patches</a> for those issues.</p>
diff --git a/distro_tracker/vendor/debian/templates/debian/help-bugs-action-item.html b/distro_tracker/vendor/debian/templates/debian/help-bugs-action-item.html
index 828feeb..fead751 100644
--- a/distro_tracker/vendor/debian/templates/debian/help-bugs-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/help-bugs-action-item.html
@@ -8,8 +8,8 @@
 {{ bug_count }} bug{% if bug_count > 1 %}s{% endif %}
 {% endif %}
 </span>
-<span> tagged <a href="http://www.debian.org/Bugs/Developer#tags";>help</a>, please consider helping the maintainer in dealing with
+<span> tagged <a href="https://www.debian.org/Bugs/Developer#tags";>help</a>, please consider helping the maintainer in dealing with
     {% if bug_count > 1 %}them{% else %}it{% endif %}.
 </span>
 {% endwith %}
-{% endspaceless %}
\ No newline at end of file
+{% endspaceless %}
diff --git a/distro_tracker/vendor/debian/templates/debian/lintian-action-item.html b/distro_tracker/vendor/debian/templates/debian/lintian-action-item.html
index 5cc94c8..8ea69ca 100644
--- a/distro_tracker/vendor/debian/templates/debian/lintian-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/lintian-action-item.html
@@ -1,6 +1,6 @@
 {% with warnings=item.extra_data.warnings %}
 {% with errors=item.extra_data.errors %}
-<a href="http://lintian.debian.org";>Lintian</a> reports
+<a href="https://lintian.debian.org";>Lintian</a> reports
 <a href="{{ item.extra_data.lintian_url }}">
 {% if errors %}
 <span>{{ errors }} error{% if errors > 1 %}s{% endif %}</span>
@@ -11,4 +11,4 @@
 {% endif %}
 </a>
 about this package. You should make the package <i>lintian clean</i> getting rid of them.
-{% endwith %}{% endwith %}
\ No newline at end of file
+{% endwith %}{% endwith %}
diff --git a/distro_tracker/vendor/debian/templates/debian/piuparts-action-item.html b/distro_tracker/vendor/debian/templates/debian/piuparts-action-item.html
index 6f1ff3c..7202149 100644
--- a/distro_tracker/vendor/debian/templates/debian/piuparts-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/piuparts-action-item.html
@@ -3,7 +3,7 @@
 <ul>
 {% with package=item.package.name %}
 {% for suite in item.extra_data.suites %}
-<li><a href="http://www.debian.org/releases/{{ suite }}/">{{ suite }}</a> - <a href="http://piuparts.debian.org/{{ suite }}/source/{% if package|slice:":3" == 'lib' %}{{ package|slice:"4" }}{% else %}{{ package|slice:"1" }}{% endif %}/{{ package }}.html">piuparts</a>
+<li><a href="https://www.debian.org/releases/{{ suite }}/">{{ suite }}</a> - <a href="https://piuparts.debian.org/{{ suite }}/source/{% if package|slice:":3" == 'lib' %}{{ package|slice:"4" }}{% else %}{{ package|slice:"1" }}{% endif %}/{{ package }}.html">piuparts</a>
 </li>
 {% endfor %}
 {% endwith %}
diff --git a/distro_tracker/vendor/debian/templates/debian/release-goals-action-item.html b/distro_tracker/vendor/debian/templates/debian/release-goals-action-item.html
index 7fe0675..c0f6ad8 100644
--- a/distro_tracker/vendor/debian/templates/debian/release-goals-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/release-goals-action-item.html
@@ -2,7 +2,7 @@
 <span>There are {{ item.extra_data|length }} bugs that must be fixed to meet some Debian release goals:</span>
 <ul>
 {% for bug in item.extra_data %}
-<li>Bug <a href="http://bugs.debian.org/{{ bug.id }}">#{{ bug.id }}</a> must be fixed to complete Debian's release goal known as "<a href="{{ bug.url }}">{{ bug.name }}</a>".</li>
+<li>Bug <a href="https://bugs.debian.org/{{ bug.id }}">#{{ bug.id }}</a> must be fixed to complete Debian's release goal known as "<a href="{{ bug.url }}">{{ bug.name }}</a>".</li>
 {% endfor %}
 </ul>
 </div>
diff --git a/distro_tracker/vendor/debian/templates/debian/security-issue-action-item.html b/distro_tracker/vendor/debian/templates/debian/security-issue-action-item.html
index e9ca3c3..b6ebcf4 100644
--- a/distro_tracker/vendor/debian/templates/debian/security-issue-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/security-issue-action-item.html
@@ -1,2 +1,2 @@
-<span>There {% if item.extra_data.security_issues_count > 1 %}are{% else %}is{% endif %} <a href="http://security-tracker.debian.org/tracker/source-package/{{ item.package.name }}">{{ item.extra_data.security_issues_count }} open security issue{% if item.extra_data.security_issues_count > 1 %}s{% endif %}</a>.</span>
-<span>Please fix {% if item.extra_data.security_issues_count > 1 %}them{% else %}it{% endif %}.</span>
\ No newline at end of file
+<span>There {% if item.extra_data.security_issues_count > 1 %}are{% else %}is{% endif %} <a href="https://security-tracker.debian.org/tracker/source-package/{{ item.package.name }}">{{ item.extra_data.security_issues_count }} open security issue{% if item.extra_data.security_issues_count > 1 %}s{% endif %}</a>.</span>
+<span>Please fix {% if item.extra_data.security_issues_count > 1 %}them{% else %}it{% endif %}.</span>
diff --git a/distro_tracker/vendor/debian/templates/debian/testing-migration-action-item.html b/distro_tracker/vendor/debian/templates/debian/testing-migration-action-item.html
index 4a0035f..279bec0 100644
--- a/distro_tracker/vendor/debian/templates/debian/testing-migration-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/testing-migration-action-item.html
@@ -1,4 +1,4 @@
-<span>The package has not entered <a href="http://ftp-master.debian.org/testing/update_excuses.html#{{ item.package.name }}">testing</a> even though the {{ item.extra_data.limit }}-day delay is over.</span>
+<span>The package has not entered <a href="https://ftp-master.debian.org/testing/update_excuses.html#{{ item.package.name }}">testing</a> even though the {{ item.extra_data.limit }}-day delay is over.</span>
 {% if item.extra_data.check_why_url %}
 <span><a href="{{ item.extra_data.check_why_url }}">Check why</a>.</span>
 {% endif %}
diff --git a/distro_tracker/vendor/debian/templates/debian/transitions-panel.html b/distro_tracker/vendor/debian/templates/debian/transitions-panel.html
index ce81442..e14453d 100644
--- a/distro_tracker/vendor/debian/templates/debian/transitions-panel.html
+++ b/distro_tracker/vendor/debian/templates/debian/transitions-panel.html
@@ -5,9 +5,9 @@
     {% for transition in panel.context.transitions %}
     <li class="list-group-item">
         {% if transition.status == 'planned' %}
-        <span>This package will soon be part of the <a href="http://release.debian.org/transitions/html/{{ transition.transition_name }}.html">{{ transition.transition_name }}</a> transition. You might want to ensure that your package is ready for it.</span>
+        <span>This package will soon be part of the <a href="https://release.debian.org/transitions/html/{{ transition.transition_name }}.html">{{ transition.transition_name }}</a> transition. You might want to ensure that your package is ready for it.</span>
         {% elif transition.status == 'ongoing' %}
-        <span>This package is part of the ongoing testing transition known as <a href="http://release.debian.org/transitions/html/{{ transition.transition_name }}.html">{{ transition.transition_name }}</a>.</span>
+        <span>This package is part of the ongoing testing transition known as <a href="https://release.debian.org/transitions/html/{{ transition.transition_name }}.html">{{ transition.transition_name }}</a>.</span>
         {% if not transition.reject %}
         <span>
           Please avoid uploads unrelated to this transition, they would
@@ -23,9 +23,9 @@
 
         <span>
           You can probably find supplementary information in the
-          <a href="http://lists.debian.org/debian-release/";>debian-release
+          <a href="https://lists.debian.org/debian-release/";>debian-release
           archives</a> or in the corresponding
-          <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=release.debian.org@packages.debian.org;tag=transition";>release.debian.org
+          <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=release.debian.org@packages.debian.org;tag=transition";>release.debian.org
           bug</a>.
         </span>
 
diff --git a/distro_tracker/vendor/debian/templates/debian/wnpp-action-item.html b/distro_tracker/vendor/debian/templates/debian/wnpp-action-item.html
index 12e9a53..06032ad 100644
--- a/distro_tracker/vendor/debian/templates/debian/wnpp-action-item.html
+++ b/distro_tracker/vendor/debian/templates/debian/wnpp-action-item.html
@@ -88,7 +88,7 @@
     <span>The WNPP database contains an entry for this package, but it is
     unclear what kind of entry it is. This is probably an error.</span>
 {% endif %}
-<span> Please see bug number <a href="http://bugs.debian.org/{{ wnpp_item.bug_id }}">#{{ wnpp_item.bug_id }}</a> for more information.</span>
+<span> Please see bug number <a href="https://bugs.debian.org/{{ wnpp_item.bug_id }}">#{{ wnpp_item.bug_id }}</a> for more information.</span>
 </div>
 {% endwith %}
 {% endwith %}
diff --git a/distro_tracker/vendor/debian/tests.py b/distro_tracker/vendor/debian/tests.py
index 9dca36f..b692f0c 100644
--- a/distro_tracker/vendor/debian/tests.py
+++ b/distro_tracker/vendor/debian/tests.py
@@ -278,7 +278,7 @@ class GetPseudoPackageListTest(TestCase):
 
         # Correct URL used?
         mock_requests.get.assert_called_with(
-            'http://bugs.debian.org/pseudo-packages.maintainers',
+            'https://bugs.debian.org/pseudo-packages.maintainers',
             headers={},
             allow_redirects=True,
             verify=False)
@@ -306,12 +306,12 @@ class GetPackageInformationSiteUrlTest(SimpleTestCase):
         """
         # Source package with no repository given
         self.assertEqual(
-            'http://packages.debian.org/src:dpkg',
+            'https://packages.debian.org/src:dpkg',
             get_package_information_site_url('dpkg', source_package=True)
         )
         # Source package in a repository
         self.assertEqual(
-            'http://packages.debian.org/source/stable/dpkg',
+            'https://packages.debian.org/source/stable/dpkg',
             get_package_information_site_url('dpkg', source_package=True,
                                              repository=self.repository)
         )
@@ -333,12 +333,12 @@ class GetPackageInformationSiteUrlTest(SimpleTestCase):
         """
         # Binary package with no repository given
         self.assertEqual(
-            'http://packages.debian.org/dpkg',
+            'https://packages.debian.org/dpkg',
             get_package_information_site_url('dpkg')
         )
         # Binary package in a repository
         self.assertEqual(
-            'http://packages.debian.org/stable/dpkg',
+            'https://packages.debian.org/stable/dpkg',
             get_package_information_site_url(
                 'dpkg',
                 repository=self.repository))
@@ -555,7 +555,7 @@ class DebianContributorExtraTest(TestCase):
             [{
                 'display': 'LowNMU',
                 'description': 'maintainer agrees with Low Threshold NMU',
-                'link': 'http://wiki.debian.org/LowThresholdNmu',
+                'link': 'https://wiki.debian.org/LowThresholdNmu',
             }],
             get_maintainer_extra('dummy@debian.org')
         )
@@ -568,7 +568,7 @@ class DebianContributorExtraTest(TestCase):
             [{
                 'display': 'LowNMU',
                 'description': 'maintainer agrees with Low Threshold NMU',
-                'link': 'http://wiki.debian.org/LowThresholdNmu',
+                'link': 'https://wiki.debian.org/LowThresholdNmu',
             }],
             get_maintainer_extra('dummy@debian.org')
         )
@@ -577,7 +577,7 @@ class DebianContributorExtraTest(TestCase):
             {
                 'display': 'LowNMU',
                 'description': 'maintainer agrees with Low Threshold NMU',
-                'link': 'http://wiki.debian.org/LowThresholdNmu',
+                'link': 'https://wiki.debian.org/LowThresholdNmu',
             },
             {'display': 'dm'}
         ],
@@ -1050,7 +1050,7 @@ class UpdateLintianStatsTaskTest(TestCase):
         # We only care about the URL used, not the headers or other arguments
         self.assertEqual(
             mock_requests.get.call_args[0][0],
-            'http://lintian.debian.org/qa-list.txt')
+            'https://lintian.debian.org/qa-list.txt')
 
     @mock.patch('distro_tracker.core.utils.http.requests')
     def test_action_item_created_errors(self, mock_requests):
diff --git a/distro_tracker/vendor/debian/tracker_panels.py b/distro_tracker/vendor/debian/tracker_panels.py
index b3956e3..930d4b1 100644
--- a/distro_tracker/vendor/debian/tracker_panels.py
+++ b/distro_tracker/vendor/debian/tracker_panels.py
@@ -118,7 +118,7 @@ class SourceCodeSearchLinks(LinksPanel.ItemProvider):
     SOURCES_URL_TEMPLATE = 'http://sources.debian.net/src/{package}/latest'
     SEARCH_FORM_TEMPLATE = (
         '<form class="code-search-form"'
-        ' action="http://packages.qa.debian.org/cgi-bin/codesearch.cgi";'
+        ' action="https://packages.qa.debian.org/cgi-bin/codesearch.cgi";'
         ' method="get" target="_blank">'
         '<input type="hidden" name="package" value="{package}">'
         '<input type="text" name="q" placeholder="search source code">'
diff --git a/distro_tracker/vendor/debian/tracker_tasks.py b/distro_tracker/vendor/debian/tracker_tasks.py
index 893dff7..03d26b9 100644
--- a/distro_tracker/vendor/debian/tracker_tasks.py
+++ b/distro_tracker/vendor/debian/tracker_tasks.py
@@ -72,7 +72,7 @@ class RetrieveDebianMaintainersTask(BaseTask):
 
     def execute(self):
         cache = HttpCache(settings.DISTRO_TRACKER_CACHE_DIRECTORY)
-        url = "http://ftp-master.debian.org/dm.txt";
+        url = "https://ftp-master.debian.org/dm.txt";
         if not self.force_update and not cache.is_expired(url):
             # No need to do anything when the previously cached value is fresh
             return
@@ -131,7 +131,7 @@ class RetrieveLowThresholdNmuTask(BaseTask):
         Helper function which obtains the list of emails of maintainers that
         agree with the lowthreshold NMU.
         """
-        url = 'http://wiki.debian.org/LowThresholdNmu?action=raw'
+        url = 'https://wiki.debian.org/LowThresholdNmu?action=raw'
         cache = HttpCache(settings.DISTRO_TRACKER_CACHE_DIRECTORY)
         if not self.force_update and not cache.is_expired(url):
             return
@@ -228,7 +228,7 @@ class UpdatePackageBugStats(BaseTask):
         :returns: A dict mapping package names to the count of bugs with the
             given tag.
         """
-        url = 'http://bugs.debian.org/cgi-bin/soap.cgi'
+        url = 'https://bugs.debian.org/cgi-bin/soap.cgi'
         namespace = 'Debbugs/SOAP'
         server = SOAPpy.SOAPProxy(url, namespace)
         if user:
@@ -401,7 +401,7 @@ class UpdatePackageBugStats(BaseTask):
         self._create_help_bug_action_item(package, bug_stats)
 
     def _get_udd_bug_stats(self):
-        url = 'http://udd.debian.org/cgi-bin/ddpo-bugs.cgi'
+        url = 'https://udd.debian.org/cgi-bin/ddpo-bugs.cgi'
         response_content = get_resource_content(url)
         if not response_content:
             return
@@ -493,7 +493,7 @@ class UpdatePackageBugStats(BaseTask):
         """
         Performs the update of bug statistics for binary packages.
         """
-        url = 'http://udd.debian.org/cgi-bin/bugs-binpkgs-distro_tracker.cgi'
+        url = 'https://udd.debian.org/cgi-bin/bugs-binpkgs-distro_tracker.cgi'
         response_content = get_resource_content(url)
         if not response_content:
             return
@@ -561,7 +561,7 @@ class UpdateLintianStatsTask(BaseTask):
             self.force_update = parameters['force_update']
 
     def get_lintian_stats(self):
-        url = 'http://lintian.debian.org/qa-list.txt'
+        url = 'https://lintian.debian.org/qa-list.txt'
         cache = HttpCache(settings.DISTRO_TRACKER_CACHE_DIRECTORY)
         response, updated = cache.update(url, force=self.force_update)
         response.raise_for_status()
@@ -687,9 +687,9 @@ class UpdateLintianStatsTask(BaseTask):
 
 
 class UpdateTransitionsTask(BaseTask):
-    REJECT_LIST_URL = 'http://ftp-master.debian.org/transitions.yaml'
+    REJECT_LIST_URL = 'https://ftp-master.debian.org/transitions.yaml'
     PACKAGE_TRANSITION_LIST_URL = (
-        'http://release.debian.org/transitions/export/packages.yaml')
+        'https://release.debian.org/transitions/export/packages.yaml')
 
     def __init__(self, force_update=False, *args, **kwargs):
         super(UpdateTransitionsTask, self).__init__(*args, **kwargs)
@@ -918,7 +918,7 @@ class UpdateExcusesTask(BaseTask):
             if section not in ('contrib', 'non-free'):
                 query_string = urlencode({'package': package.name})
                 extra_data['check_why_url'] = (
-                    'http://release.debian.org/migration/testing.pl'
+                    'https://release.debian.org/migration/testing.pl'
                     '?{query_string}'.format(query_string=query_string))
 
         action_item.extra_data = extra_data
@@ -938,7 +938,7 @@ class UpdateExcusesTask(BaseTask):
         terable of lines.
         Returns ``None`` if the content in the cache is up to date.
         """
-        url = 'http://ftp-master.debian.org/testing/update_excuses.html'
+        url = 'https://ftp-master.debian.org/testing/update_excuses.html'
         response, updated = self.cache.update(url, force=self.force_update)
         if not updated:
             return
@@ -1398,7 +1398,7 @@ class UpdatePiuPartsTask(BaseTask):
         :returns: The content of the piuparts report for the given package
             or ``None`` if there is no data for the particular suite.
         """
-        url = 'http://piuparts.debian.org/{suite}/sources.txt'
+        url = 'https://piuparts.debian.org/{suite}/sources.txt'
         return get_resource_content(url.format(suite=suite))
 
     def get_piuparts_stats(self):
@@ -1595,7 +1595,7 @@ class UpdateUbuntuStatsTask(BaseTask):
             self.force_update = parameters['force_update']
 
     def _get_versions_content(self):
-        url = 'http://udd.debian.org/cgi-bin/ubuntupackages.cgi'
+        url = 'https://udd.debian.org/cgi-bin/ubuntupackages.cgi'
         return get_resource_content(url)
 
     def get_ubuntu_versions(self):
@@ -1615,7 +1615,7 @@ class UpdateUbuntuStatsTask(BaseTask):
         return package_versions
 
     def _get_bug_stats_content(self):
-        url = 'http://udd.debian.org/cgi-bin/ubuntubugs.cgi'
+        url = 'https://udd.debian.org/cgi-bin/ubuntubugs.cgi'
         return get_resource_content(url)
 
     def get_ubuntu_bug_stats(self):
@@ -1865,7 +1865,7 @@ class UpdateWnppStatsTask(BaseTask):
         except:
             release = None
         action_item.short_description = self.ITEM_DESCRIPTION.format(
-            url='http://bugs.debian.org/{}'.format(stats['bug_id']),
+            url='https://bugs.debian.org/{}'.format(stats['bug_id']),
             wnpp_type=stats['wnpp_type'])
         action_item.extra_data = {
             'wnpp_info': stats,
@@ -1964,7 +1964,7 @@ class UpdateNewQueuePackages(BaseTask):
             packages found in NEW.
             ``None`` if the cached resource is up to date.
         """
-        url = 'http://ftp-master.debian.org/new.822'
+        url = 'https://ftp-master.debian.org/new.822'
         cache = HttpCache(settings.DISTRO_TRACKER_CACHE_DIRECTORY)
         if not cache.is_expired(url):
             return
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 458a9b8..245a9af 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -39,7 +39,7 @@ Usual workflow
        $ git clone git://anonscm.debian.org/qa/distro-tracker.git
 
      Note that you can also browse the sources at
-     http://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git
+     https://anonscm.debian.org/gitweb/?p=qa/distro-tracker.git
 
   2. Follow the steps in the chapter :ref:`setting-up`.
 
diff --git a/setup.py b/setup.py
index 3d4d7cb..9277b53 100755
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(name='DistroTracker',
       description='Synoptic view of all packages of a Debian-based distribution',
       author='Distro Tracker Developers',
       author_email='debian-qa@lists.debian.org',
-      url='http://wiki.debian.org/qa.debian.org/distro-tracker',
+      url='https://wiki.debian.org/qa.debian.org/distro-tracker',
       packages=[
         '.'.join(directory.split(os.sep))
         for directory, _, files in os.walk('distro_tracker')
@@ -55,7 +55,7 @@ setup(name='DjangoEmailAccounts',
       description='User registration app for Django',
       author='Distro Tracker Developers',
       author_email='debian-qa@lists.debian.org',
-      url='http://wiki.debian.org/qa.debian.org/distro-tracker',
+      url='https://wiki.debian.org/qa.debian.org/distro-tracker',
       packages=[
         '.'.join(directory.split(os.sep))
         for directory, _, files in os.walk('django_email_accounts')
-- 
2.1.1


Reply to: