Skip to content

Commit

Permalink
Use SSL for as many links as possible
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Zacchiroli <zack@upsilon.cc>
  • Loading branch information
pabs3 authored and zacchiro committed Dec 24, 2014
1 parent 68af2e9 commit 7c90fa4
Show file tree
Hide file tree
Showing 63 changed files with 92 additions and 92 deletions.
4 changes: 2 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ Thank you!
sources.debian.net
------------------

The instance of Debsources available at http://sources.debian.net (indexing the
main Debian archive) is currently hosted at [IRILL](http://www.irill.org/) who
The instance of Debsources available at https://sources.debian.net (indexing the
main Debian archive) is currently hosted at [IRILL](https://www.irill.org/) who
has kindly offered server, bandwidth, and physical space for it. Thanks!
6 changes: 3 additions & 3 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -658,4 +658,4 @@ specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.
4 changes: 2 additions & 2 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Local Debsources deployment

where debsources is the DB name. The last parameter must be a valid
SQLAlchemy database URL; see
http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls for
https://sqlalchemy.readthedocs.org/en/latest/core/engines.html#database-urls for
details on how to connect to remote databases.

- $ cp doc/examples/sample-config.local.ini etc/config.local.ini
Expand Down Expand Up @@ -85,7 +85,7 @@ All new Debsources code should be [PEP8][1] compliant and pass [pyflakes][2]
validation. Before submitting patches, please make sure that the lines of code
they touch conform to such requirements.

[1]: http://legacy.python.org/dev/peps/pep-0008/
[1]: https://www.python.org/dev/peps/pep-0008/
[2]: https://pypi.python.org/pypi/pyflakes

If you develop on Debian(-based distros), a good way to check that this is the
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Development
well (short URL: <http://deb.li/debsrceasy>)

[1]: http://git-scm.com/
[2]: http://anonscm.debian.org/gitweb/?p=qa/debsources.git
[4]: http://lists.debian.org/debian-qa/
[2]: https://anonscm.debian.org/gitweb/?p=qa/debsources.git
[4]: https://lists.debian.org/debian-qa/
[5]: http://www.oftc.net/
[6]: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=qa.debian.org;tag=debsources
[7]: https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=qa.debian.org;include=subject:debsources;users=debian-qa@lists.debian.org;tag=gift
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-backup-db
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

conffile=`python -c 'from debsources import mainlib; print(mainlib.guess_conffile())'`
if [ $? -ne 0 ]
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-dbadmin
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import argparse
import time
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-debian-source-archive
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Depends: rsync

Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-debian-source-mirror
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Depends: debmirror

Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-foreach
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Iterate a given command in each unpacked source package dir
#
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-fsck
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Check for DB/FS inconsistencies

Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-main
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Driver for update runs, both synchronous (e.g. cmdline) and asynchronous
# (e.g. cron and pushes)
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-sloccount
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use strict;
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

my %locs; # global mapping: lang -> lines of code

Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-suite-archive
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import argparse
import logging
Expand Down
2 changes: 1 addition & 1 deletion bin/debsources-update
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import argparse
import logging
Expand Down
2 changes: 1 addition & 1 deletion bin/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

verbose="1"

Expand Down
2 changes: 1 addition & 1 deletion contrib/git-pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# Depends: python-flake8

Expand Down
2 changes: 1 addition & 1 deletion debsources/app/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import logging
from logging import Formatter, FileHandler, StreamHandler
Expand Down
2 changes: 1 addition & 1 deletion debsources/app/extract_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

from debsources import statistics

Expand Down
2 changes: 1 addition & 1 deletion debsources/app/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.


from wtforms import TextField
Expand Down
4 changes: 2 additions & 2 deletions debsources/app/infobox.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.


PTS_PREFIX = "http://tracker.debian.org/pkg/"
PTS_PREFIX = "https://tracker.debian.org/pkg/"
# move this to configuration file?
# it would add a dependence layer with app.config

Expand Down
2 changes: 1 addition & 1 deletion debsources/app/sourcecode.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

from debsources.filetype import get_highlightjs_language

Expand Down
6 changes: 3 additions & 3 deletions debsources/app/static/css/debian.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
http://www.debian.org Stylesheet
https://www.debian.org Stylesheet
Copyright 2011 Kalle Söderman
Expand All @@ -15,7 +15,7 @@
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301 USA.
The license text can also be found at http://www.gnu.org/copyleft/gpl.html and
The license text can also be found at https://www.gnu.org/copyleft/gpl.html and
/usr/share/common-licenses/GPL-2 on Debian.
*/

Expand Down Expand Up @@ -425,7 +425,7 @@ pre {
}
tt, code {
font-family: monospace;
/* see http://lists.debian.org/debian-www/2011/08/msg00181.html */
/* see https://lists.debian.org/debian-www/2011/08/msg00181.html */
/* white-space: pre; */
color: black;
}
Expand Down
2 changes: 1 addition & 1 deletion debsources/app/static/javascript/debsources.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/*
Expand Down
10 changes: 5 additions & 5 deletions debsources/app/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>Development</h3>
</li>

<li>please report <strong>bugs</strong> to
the <a href="//bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=qa.debian.org;tag=debsources">Debian
the <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=qa.debian.org;tag=debsources">Debian
Bug Tracking System</a> (short
URL: <a href="http://deb.li/debsrcbugs"><tt>http://deb.li/debsrcbugs</tt></a>),
against the
Expand All @@ -36,13 +36,13 @@ <h3>Development</h3>
</li>

<li>for discussions about Debsources please <strong>contact</strong> the
<a href="//lists.debian.org/debian-qa/">debian-qa mailing list</a> or
<a href="https://lists.debian.org/debian-qa/">debian-qa mailing list</a> or
the <code>#debian-qa</code> IRC channel
on <a href="http://www.oftc.net/">OFTC</a>
</li>

<li>opportunities for new contributors (AKA <strong>easy hacks</strong>)
are <a href="//bugs.debian.org/cgi-bin/pkgreport.cgi?package=qa.debian.org;include=subject:debsources;users=debian-qa@lists.debian.org;tag=gift">available</a>
are <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=qa.debian.org;include=subject:debsources;users=debian-qa@lists.debian.org;tag=gift">available</a>
as well (short URL:
<a href="http://deb.li/debsrceasy"><tt>http://deb.li/debsrceasy</tt></a>)
</li>
Expand All @@ -54,9 +54,9 @@ <h3>Acknowledgements</h3>

<ul>
<li>all Debsources
<a href="//anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD"><b>contributors</b></a>
<a href="https://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD"><b>contributors</b></a>
for their work</li>
<li><a href="//www.irill.org"><img style="vertical-align: middle;"
<li><a href="https://www.irill.org"><img style="vertical-align: middle;"
src="{{ url_for('static', filename='img/irill.png') }}" alt="IRILL" /></a>
for sponsoring the initial development of Debsources, and offering both
server and hosting facilities that power
Expand Down
4 changes: 2 additions & 2 deletions debsources/app/templates/advanced_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ <h3>Code search</h3>
<span class="description">search all available source code for occurrences of
specific features (regex matches, identifiers, etc.)</span>

<h4>via <a href="//codesearch.debian.net/">Debian code search</a></h4>
<h4>via <a href="https://codesearch.debian.net/">Debian code search</a></h4>
<form name="codesearch" method="get"
action="//codesearch.debian.net/search">
action="https://codesearch.debian.net/search">
<table>
<tr>
<td><label for="input_codesearch">regular expression</label></td>
Expand Down
4 changes: 2 additions & 2 deletions debsources/app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<header id="header">
<div id="upperheader">
<div id="logo">
<a href="//debian.org" title="Debian Home"><img src="{{ url_for('static', filename='img/debian-50.png') }}" alt="Debian"></a>
<a href="https://www.debian.org" title="Debian Home"><img src="{{ url_for('static', filename='img/debian-50.png') }}" alt="Debian"></a>
</div> <!-- end logo -->
<p class="section"><a href="/">Debsources</a></p>
<div id="searchbox">
{{ macros.searchform(searchform, display="inline",
value=query, placeholder="package name",
id="query-1") }}
<form name="codesearch" method="get"
action="//codesearch.debian.net/search">
action="https://codesearch.debian.net/search">
<input name="q"
{%- if package %} value="package:{{ package }} "
{%- else %} placeholder="code regex"
Expand Down
8 changes: 4 additions & 4 deletions debsources/app/templates/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ <h3>Publications</h3>
of <a href="http://softeng.polito.it/ESEIW2014/ESEM/">ESEM 2014</a>: 8th
International Symposium on Empirical Software Engineering and
Measurement. September 18-19, 2014 - Torino, Italy.<br />
<small>ISBN <a href="http://dl.acm.org/citation.cfm?doid=2652524.2652528">978-1-4503-2774-9</a>,
<small>ISBN <a href="https://dl.acm.org/citation.cfm?doid=2652524.2652528">978-1-4503-2774-9</a>,
ACM 2014.
DOI <a href="//dx.doi.org/10.1145/2652524.2652528">10.1145/2652524.2652528</a></small>
DOI <a href="https://dx.doi.org/10.1145/2652524.2652528">10.1145/2652524.2652528</a></small>
<br />
<a href="//upsilon.cc/~zack/research/publications/debsources-esem-2014.pdf">.pdf</a>,
<a href="//upsilon.cc/~zack/research/publications/debsources-esem-2014.bib">.bib</a>
<a href="https://upsilon.cc/~zack/research/publications/debsources-esem-2014.pdf">.pdf</a>,
<a href="https://upsilon.cc/~zack/research/publications/debsources-esem-2014.bib">.bib</a>
<br /> If you use Debsources or its dataset for research purposes, we would
appreciate you cite the above paper.
</li>
Expand Down
6 changes: 3 additions & 3 deletions debsources/app/templates/doc_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
{% block content %}

<p>Debsources provides Web access to the source code of
the <a href="//www.debian.org">Debian</a> operating system.</p>
the <a href="https://www.debian.org">Debian</a> operating system.</p>

<p>You can <b>browse</b> through the list of available source packages, or
search for a particular one based on its name. Multiple versions of each
source package are available &mdash; currently both versions coming from all
official suites available via
the <a href="//www.debian.org/mirror/">Debian mirror network</a>, and
the <a href="https://www.debian.org/mirror/">Debian mirror network</a>, and
historical releases from
<a href="http://archive.debian.org">archive.debian.org</a> are available.<p>

<p>You can also <b>search</b> within the actual source code using regular
expressions via <a href="//codesearch.debian.net/">Debian Code
expressions via <a href="https://codesearch.debian.net/">Debian Code
Search</a>; search results will link you back here. Note that Debian Code
Search only index the unstable suite and is updated less often than
Debsources, so there might be update lags between the two services.</p>
Expand Down
4 changes: 2 additions & 2 deletions debsources/app/templates/footer.inc.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
Zacchiroli, and
<a href="{{ config.GITWEB_URL }};a=blob;f=AUTHORS;hb=HEAD">contributors</a>.
License:
<a href="//www.gnu.org/licenses/agpl.html">GNU AGPLv3</a>.
<a href="https://www.gnu.org/licenses/agpl.html">GNU AGPLv3</a>.
<br />
Hosted source files are available under their own
<a href="//www.debian.org/doc/debian-policy/ch-source.html#s-dpkgcopyright">copyright
<a href="https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgcopyright">copyright
and licenses</a>.
<br />
Source code: <a href="{{ config.GITWEB_URL }}">Git</a>.
Expand Down
8 changes: 4 additions & 4 deletions debsources/app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
<h1 class="h1mainpage">{{ self.title() }}</h1>
<h3><em>All Debian source are belong to us</em> &emsp;
<small>&mdash; Anonymous</small>
<sup><a href="//en.wikipedia.org/wiki/All_your_base_are_belong_to_us"><span style="font-family: monospace; color: black;">[^]</span></a></sup>
<sup><a href="https://en.wikipedia.org/wiki/All_your_base_are_belong_to_us"><span style="font-family: monospace; color: black;">[^]</span></a></sup>
</h3>
<p>Browse through the source code of the
<a href="//www.debian.org">Debian</a> operating system.
<a href="https://www.debian.org">Debian</a> operating system.
<a href="{{ url_for('doc_overview') }}">Read more…</a></p>
<table>
<tr>
Expand All @@ -37,9 +37,9 @@ <h3><em>All Debian source are belong to us</em> &emsp;
display="inline", size="25", autofocus=True, id="query-2") }}
</li>
<li>the <em>source code</em>
<small>(via <a href="//codesearch.debian.net">codesearch</a>)</small>:<br />
<small>(via <a href="https://codesearch.debian.net">codesearch</a>)</small>:<br />
<form name="codesearch" method="get"
action="//codesearch.debian.net/search">
action="https://codesearch.debian.net/search">
<input type="text" name="q" size="25" />
<input type="submit" value="Search code" />
</form>
Expand Down
Loading

0 comments on commit 7c90fa4

Please sign in to comment.