Browse Source

Use HTTPS everywhere (mechanical edit using util from https-everywhere)

Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter

```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```

A few changes were reset/fixed manually before the commit.
Robin Schneider 4 years ago
parent
commit
fb38ba579f

+ 1 - 1
.editorconfig

@@ -1,4 +1,4 @@
-# EditorConfig is awesome: http://EditorConfig.org
+# EditorConfig is awesome: https://editorconfig.org/
 
 root = true
 

+ 1 - 1
README.rst

@@ -151,7 +151,7 @@ Links
 * `Offline Documentation <https://readthedocs.org/projects/borgbackup/downloads>`_
 * `GitHub <https://github.com/borgbackup/borg>`_ and
   `Issue Tracker <https://github.com/borgbackup/borg/issues>`_.
-* `Web-Chat (IRC) <http://webchat.freenode.net/?randomnick=1&channels=%23borgbackup&uio=MTY9dHJ1ZSY5PXRydWUa8>`_ and
+* `Web-Chat (IRC) <https://webchat.freenode.net/?randomnick=1&channels=%23borgbackup&uio=MTY9dHJ1ZSY5PXRydWUa8>`_ and
   `Mailing List <https://mail.python.org/mailman/listinfo/borgbackup>`_
 * `License <https://borgbackup.readthedocs.org/en/stable/authors.html#license>`_
 * `Security contact <https://borgbackup.readthedocs.io/en/latest/support.html#security-contact>`_

+ 1 - 1
docs/3rd_party/blake2/README.md

@@ -4,7 +4,7 @@ This is the reference source code package of BLAKE2.
 
 All code is triple-licensed under the [CC0](http://creativecommons.org/publicdomain/zero/1.0),
 the [OpenSSL Licence](https://www.openssl.org/source/license.html),
-or the [Apache Public License 2.0](http://www.apache.org/licenses/LICENSE-2.0),
+or the [Apache Public License 2.0](https://www.apache.org/licenses/LICENSE-2.0),
 at your choosing.
 
 More: [https://blake2.net](https://blake2.net). [GitHub repository](https://github.com/BLAKE2/BLAKE2).

+ 1 - 1
docs/deployment/central-backup-server.rst

@@ -214,6 +214,6 @@ and no other interpreter or application has to be deployed.
 See also
 --------
 
-* `SSH Daemon manpage <http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
+* `SSH Daemon manpage <https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
 * `Ansible <https://docs.ansible.com>`_
 * `Salt <https://docs.saltstack.com/>`_

+ 1 - 1
docs/deployment/hosting-repositories.rst

@@ -80,5 +80,5 @@ But, ``--append-only`` arguments in ``authorized_keys`` will override the
 repository config, therefore append-only mode can be enabled on a key by key
 basis.
 
-Refer to the `sshd(8) <http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
+Refer to the `sshd(8) <https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
 man page for more details on SSH options.

+ 6 - 6
docs/installation.rst

@@ -63,18 +63,18 @@ Ubuntu       `Ubuntu packages`_, `Ubuntu PPA`_             ``apt install borgbac
 .. _[community]: https://www.archlinux.org/packages/?name=borg
 .. _Debian packages: https://packages.debian.org/search?keywords=borgbackup&searchon=names&exact=1&suite=all&section=all
 .. _Fedora official repository: https://apps.fedoraproject.org/packages/borgbackup
-.. _FreeBSD ports: http://www.freshports.org/archivers/py-borgbackup/
+.. _FreeBSD ports: https://www.freshports.org/archivers/py-borgbackup/
 .. _ebuild: https://packages.gentoo.org/packages/app-backup/borgbackup
 .. _GNU Guix: https://www.gnu.org/software/guix/package-list.html#borg
 .. _pkgsrc: http://pkgsrc.se/sysutils/py-borgbackup
 .. _cauldron: http://madb.mageia.org/package/show/application/0/release/cauldron/name/borgbackup
 .. _.nix file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/backup/borg/default.nix
-.. _OpenBSD ports: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/sysutils/borgbackup/
-.. _OpenIndiana hipster repository: http://pkg.openindiana.org/hipster/en/search.shtml?token=borg&action=Search
-.. _openSUSE official repository: http://software.opensuse.org/package/borgbackup
+.. _OpenBSD ports: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/sysutils/borgbackup/
+.. _OpenIndiana hipster repository: https://pkg.openindiana.org/hipster/en/search.shtml?token=borg&action=Search
+.. _openSUSE official repository: https://software.opensuse.org/package/borgbackup
 .. _Homebrew: https://formulae.brew.sh/formula/borgbackup
-.. _Raspbian testing: http://archive.raspbian.org/raspbian/pool/main/b/borgbackup/
-.. _Ubuntu packages: http://packages.ubuntu.com/xenial/borgbackup
+.. _Raspbian testing: https://archive.raspbian.org/raspbian/pool/main/b/borgbackup/
+.. _Ubuntu packages: https://packages.ubuntu.com/xenial/borgbackup
 .. _Ubuntu PPA: https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup
 
 Please ask package maintainers to build a package or, if you can package /

+ 1 - 1
docs/usage/general/positional-arguments.rst.inc

@@ -12,4 +12,4 @@ in the example), but not in between them:
     borg create -s repo::archive path --progress  # works, but ugly
     borg create repo::archive -s --progress path  # BAD
 
-This is due to a problem in the argparse module: http://bugs.python.org/issue15112
+This is due to a problem in the argparse module: https://bugs.python.org/issue15112

BIN
scripts/fuzz-cache-sync/testcase_dir/test_simple


+ 1 - 1
src/borg/archiver.py

@@ -203,7 +203,7 @@ def parse_storage_quota(storage_quota):
 
 
 def get_func(args):
-    # This works around http://bugs.python.org/issue9351
+    # This works around https://bugs.python.org/issue9351
     # func is used at the leaf parsers of the argparse parser tree,
     # fallback_func at next level towards the root,
     # fallback2_func at the 2nd next level (which is root in our case).

+ 1 - 1
src/borg/cache_sync/sysdep.h

@@ -7,7 +7,7 @@
  *    you may not use this file except in compliance with the License.
  *    You may obtain a copy of the License at
  *
- *        http://www.apache.org/licenses/LICENSE-2.0
+ *        https://www.apache.org/licenses/LICENSE-2.0
  *
  *    Unless required by applicable law or agreed to in writing, software
  *    distributed under the License is distributed on an "AS IS" BASIS,

+ 1 - 1
src/borg/cache_sync/unpack.h

@@ -9,7 +9,7 @@
  *    you may not use this file except in compliance with the License.
  *    You may obtain a copy of the License at
  *
- *        http://www.apache.org/licenses/LICENSE-2.0
+ *        https://www.apache.org/licenses/LICENSE-2.0
  *
  *    Unless required by applicable law or agreed to in writing, software
  *    distributed under the License is distributed on an "AS IS" BASIS,

+ 1 - 1
src/borg/cache_sync/unpack_define.h

@@ -7,7 +7,7 @@
  *    you may not use this file except in compliance with the License.
  *    You may obtain a copy of the License at
  *
- *        http://www.apache.org/licenses/LICENSE-2.0
+ *        https://www.apache.org/licenses/LICENSE-2.0
  *
  *    Unless required by applicable law or agreed to in writing, software
  *    distributed under the License is distributed on an "AS IS" BASIS,

+ 1 - 1
src/borg/cache_sync/unpack_template.h

@@ -8,7 +8,7 @@
  *    you may not use this file except in compliance with the License.
  *    You may obtain a copy of the License at
  *
- *        http://www.apache.org/licenses/LICENSE-2.0
+ *        https://www.apache.org/licenses/LICENSE-2.0
  *
  *    Unless required by applicable law or agreed to in writing, software
  *    distributed under the License is distributed on an "AS IS" BASIS,

+ 1 - 1
src/borg/paperkey.html

@@ -32,7 +32,7 @@
 //
 // The word 'QR Code' is registered trademark of
 // DENSO WAVE INCORPORATED
-//  http://www.denso-wave.com/qrcode/faqpatent-e.html
+//  https://www.denso-wave.com/qrcode/faqpatent-e.html
 //
 //---------------------------------------------------------------------