Commit 0452bcd5 authored by Guillem Jover's avatar Guillem Jover

Update URLs

Switch to https and fix some dead links. Mention what is needed with apt
to access the https repositories.
parent f6f622a8
machine readable output API
stuff is available at http://$host/<path>
stuff is available at https://$host/<path>
output is json
......
......@@ -55,7 +55,7 @@ parser.add_option("-U", "--undo", dest="undo_id", metavar="REMOVAL_LOG_ID",
(options, args) = parser.parse_args()
if options.baseurl is None:
options.baseurl = 'http://snapshot.debian.org/'
options.baseurl = 'https://snapshot.debian.org/'
if options.conffile is None and 'SNAPSHOT_CONF' in os.environ:
options.conffile = os.environ['SNAPSHOT_CONF']
......
......@@ -14,6 +14,6 @@ default; to activate it in your project, run::
setup.py addcommand -p buildutils.pudge_command
.. _buildutils: http://pypi.python.org/pypi/buildutils
.. _buildutils: https://pypi.python.org/pypi/buildutils
.. _pudge: http://pudge.lesscode.org/
.. _pygments: http://pygments.org/
......@@ -15,7 +15,7 @@ This file can also be run as a script to install or upgrade setuptools.
"""
import sys
DEFAULT_VERSION = "0.6c9"
DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3]
DEFAULT_URL = "https://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3]
md5_data = {
'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca',
......
......@@ -24,7 +24,7 @@
The more specific and detailed routes should be defined first so they
may take precedent over the more generic routes. For more information
refer to the routes manual at http://routes.groovie.org/docs/
refer to the routes manual at https://routes.readthedocs.io/
"""
from pylons import config
from routes import Mapper
......
......@@ -32,7 +32,7 @@ import re
def debian_bugs_markup(s):
r = s
r = str(escape(r))
r = re.sub('#([0-9]+)', '<a href="http://bugs.debian.org/\\1">#\\1</a>', r)
r = re.sub('#([0-9]+)', '<a href="https://bugs.debian.org/\\1">#\\1</a>', r)
return literal(r)
# vim:set et:
......
......@@ -16,14 +16,14 @@ used by all.
<p>
The Debian Project would like to thank the
<a href="http://www.sanger.ac.uk/">Wellcome Trust Sanger Institute</a> and
<a href="http://www.leaseweb.com">LeaseWeb Netherlands B.V.</a> for providing
<a href="https://www.sanger.ac.uk/">Wellcome Trust Sanger Institute</a> and
<a href="https://www.leaseweb.com">LeaseWeb Netherlands B.V.</a> for providing
hardware and hosting.
We would also like to thank the
<a href="http://www.ece.ubc.ca/">Electrical and Computer Engineering</a>
<a href="https://www.ece.ubc.ca/">Electrical and Computer Engineering</a>
department at the University of British Columbia, Canada and
<a href="http://www.nordicbet.com/">Nordic Gaming</a> for providing
<a href="https://www.nordicbet.com/">Nordic Gaming</a> for providing
hardware/hosting and hardware, respectively, in the past.
</p>
......@@ -54,12 +54,17 @@ If you want to add a specific date's archive to your apt <code>sources.list</cod
add an entry like these:
</p>
<pre>
deb <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb-src <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb-src <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb <a href="/archive/debian/20091004T111800Z/">https://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb-src <a href="/archive/debian/20091004T111800Z/">https://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb <a href="/archive/debian-security/20091004T121501Z/">https://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb-src <a href="/archive/debian-security/20091004T121501Z/">https://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
</pre>
<p>
To access snapshots using https, you need to install the ca-certificates
package; with apt version earlier than 1.5~alpha1 you also need to install
the apt-transport-https package.
</p>
<p>
To learn which snapshots exist, i.e. which date strings are valid, simply
browse the list as mentioned above. Valid date formats are
<code><i>yyyymmdd</i>T<i>hhmmss</i>Z</code> or simply <code><i>yyyymmdd</i></code>. If there
......@@ -77,10 +82,10 @@ to prevent apt from disregarding snapshot entries ("Release file expired"). Use
If you use at least apt version 1.1.exp9 (stretch and later), you can use this instead:
</p>
<pre>
deb [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb-src [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb-src [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">https://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb-src [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">https://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main
deb [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">https://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
deb-src [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">https://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main
</pre>
<p style="margin-top:2em;">
......
......@@ -57,7 +57,7 @@ reportedly removed above).
</li></ul>
<p>
We are also currently importing historical snapshots of the debian-ports
ftp tree as requested in <a href="http://bugs.debian.org/571118">Bug
ftp tree as requested in <a href="https://bugs.debian.org/571118">Bug
#571118</a>.
</p>
<p>
......
......@@ -3,9 +3,9 @@
<p>
Snapshot keeps growing. We are now at approximate 60TB of files. This
made it necessary to break up the RAID-1 mirror across two external
storage arrays which <a href="http://www.sanger.ac.uk/">Sanger</a>
storage arrays which <a href="https://www.sanger.ac.uk/">Sanger</a>
is kindly providing, and it also meant we needed more machines (now six) at our
mirrorsite, which <a href="http://www.leaseweb.com/">LeaseWeb</a> is generously
mirrorsite, which <a href="https://www.leaseweb.com/">LeaseWeb</a> is generously
donating. Thanks!
<h2>2017-09-21</h2>
......@@ -20,13 +20,13 @@ indefinitely.
<h2>2014-06-01</h2>
<p>
We added a cluster of machines generously provided by <a
href="http://www.leaseweb.com/">LeaseWeb</a> to provide the snapshot.debian.org
href="https://www.leaseweb.com/">LeaseWeb</a> to provide the snapshot.debian.org
service.
</p>
<p>
Snapshot used to run on two machines hosted at and provided by the <a
href="http://www.sanger.ac.uk/">Wellcome Trust Sanger Institute</a> and by the
<a href="http://www.ece.ubc.ca/">Electrical and Computer Engineering</a>
href="https://www.sanger.ac.uk/">Wellcome Trust Sanger Institute</a> and by the
<a href="https://www.ece.ubc.ca/">Electrical and Computer Engineering</a>
department at the University of British Columbia, Canada. A few months ago,
the machine at UBC, named <code>stabile.debian.org</code>, started to die.
Since it was approaching its storage capacity limits anyway, we began looking
......@@ -53,7 +53,7 @@ server. Since the master was down no new data was imported into the snapshot
system and the remaining mirror kept presenting its data as of the 20th.
</p>
<p>
Fortunately the people at the <a href="http://www.sanger.ac.uk/">Wellcome Trust
Fortunately the people at the <a href="https://www.sanger.ac.uk/">Wellcome Trust
Sanger Institute</a>, which hosts snapshot-master, have been able to give us
a replacement machine quite quickly. Thanks!
</p>
......@@ -68,7 +68,7 @@ in the affected time period.
<h2>2010-09-07</h2>
<p>
Renamed the backports.org archive to debian-backports as it has now
<a href="http://lists.debian.org/20100905211658.GH7615@lisa.snow-crash.org">moved
<a href="https://lists.debian.org/20100905211658.GH7615@lisa.snow-crash.org">moved
to debian.org infrastructure</a>. A rewrite rule has been put in place
so old URLs should continue to work (at least for HTTP clients that know
how to follow HTTP redirects).
......@@ -94,7 +94,7 @@ any more.
<h2>2010-04-12</h2>
<p>
Publicly <a href="http://www.debian.org/News/2010/20100412">announce the snapshot.debian.org service</a>. Yay.
Publicly <a href="https://www.debian.org/News/2010/20100412">announce the snapshot.debian.org service</a>. Yay.
</p>
<hr style="height:1px;" />
......
......@@ -12,7 +12,7 @@
</head>
<body>
<div id="top">
<a id="logo" href="http://${app_globals.domain}"><img src="/static/images/top.png" alt="${app_globals.domain}" width="644" height="71"/></a>
<a id="logo" href="https://${app_globals.domain}"><img src="/static/images/top.png" alt="${app_globals.domain}" width="644" height="71"/></a>
</div>
% if hasattr(c, 'breadcrumbs') and len(c.breadcrumbs) > 0:
<div id="pageheader">
......@@ -47,7 +47,7 @@ ${self.body()}
Source code can be cloned with <code>git clone <a href="https://salsa.debian.org/snapshot-team/snapshot.git">https://salsa.debian.org/snapshot-team/snapshot.git</a></code>
or browsed directly on <a href="https://salsa.debian.org/snapshot-team/snapshot"><code>salsa.debian.org</code></a>.
<br/>
Please <a href="http://www.debian.org/Bugs/Reporting">report bugs</a> against the <a href="http://bugs.debian.org/snapshot.debian.org">snapshot.debian.org package</a>.
Please <a href="https://www.debian.org/Bugs/Reporting">report bugs</a> against the <a href="https://bugs.debian.org/snapshot.debian.org">snapshot.debian.org package</a>.
<br/>
<%
import datetime
......@@ -59,9 +59,9 @@ ${self.body()}
<br/>
Hosting for snapshot.debian.org generously provided by our partners.
<div>
<a title="Wellcome Trust Sanger Institute" href="http://www.sanger.ac.uk"><img width="150" height="50" alt="Sanger" src="/static/images/sanger.png"/></a>
<a title="Wellcome Trust Sanger Institute" href="https://www.sanger.ac.uk"><img width="150" height="50" alt="Sanger" src="/static/images/sanger.png"/></a>
&nbsp;&nbsp;&nbsp;
<a title="LeaseWeb offers hosted infrastructure solutions, including Cloud, CDN, Dedicated Servers, Managed Hosting, Colocation, and Hybrid Solutions" href="http://www.leaseweb.com"><img width="150" height="50" alt="LeaseWeb" src="/static/images/leaseweb.png"/></a>
<a title="LeaseWeb offers hosted infrastructure solutions, including Cloud, CDN, Dedicated Servers, Managed Hosting, Colocation, and Hybrid Solutions" href="https://www.leaseweb.com"><img width="150" height="50" alt="LeaseWeb" src="/static/images/leaseweb.png"/></a>
</div>
</div>
</body>
......
......@@ -38,7 +38,7 @@ Search in the index of source packages:<br />
<h1>Miscellaneous</h1>
<ul>
<li><a href="oldnews">older news</a></li>
<li><a href="http://lists.debian.org/debian-snapshot/">mailinglist</a></li>
<li><a href="https://lists.debian.org/debian-snapshot/">mailinglist</a></li>
<li><a href="https://salsa.debian.org/snapshot-team/snapshot/raw/master/API">machine-usable interface</a></li>
<li><a href="removal/">removal logs</a></li>
</ul>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment