[Pkg-privacy-commits] [txtorcon] 06/07: Remove privacy-infringing buttons

Nicolas Braud-Santoni nicolas at braud-santoni.eu
Sun Dec 10 02:01:44 UTC 2017


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

nicoo-guest pushed a commit to branch master
in repository txtorcon.

commit 3a89b0c74d9707eab6534254eda244a076b533ad
Author: Nicolas Braud-Santoni <nicolas at braud-santoni.eu>
Date:   Sun Dec 10 02:58:53 2017 +0100

    Remove privacy-infringing buttons
---
 .../remove-privacy-infringing-buttons.patch        | 104 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 2 files changed, 105 insertions(+)

diff --git a/debian/patches/remove-privacy-infringing-buttons.patch b/debian/patches/remove-privacy-infringing-buttons.patch
new file mode 100644
index 0000000..fbcd4ff
--- /dev/null
+++ b/debian/patches/remove-privacy-infringing-buttons.patch
@@ -0,0 +1,104 @@
+Subject: Remove privacy-infringing buttons
+
+Those images are loaded from remote sites when the user
+consults local documentation, which shouldn't happen.
+
+---
+ README.rst     | 29 -----------------------------
+ docs/conf.py   |  4 ++--
+ docs/index.rst | 20 --------------------
+ 3 files changed, 2 insertions(+), 51 deletions(-)
+
+diff --git a/README.rst b/README.rst
+index d3b39d2..2f2b2d7 100644
+Origin: vendor
+Forwarded: no
+From: Nicolas Braud-Santoni <nicolas at braud-santoni.eu>
+Reviewed-by: Nicolas Braud-Santoni <nicolas at braud-santoni.eu>
+Last-Update: 2017-12-10
+Applied-Upstream: no
+
+--- a/README.rst
++++ b/README.rst
+@@ -11,35 +11,6 @@
+ 
+ 
+ 
+-.. image:: https://travis-ci.org/meejah/txtorcon.png?branch=master
+-    :target: https://www.travis-ci.org/meejah/txtorcon
+-    :alt: travis
+-
+-.. image:: https://coveralls.io/repos/meejah/txtorcon/badge.png
+-    :target: https://coveralls.io/r/meejah/txtorcon
+-    :alt: coveralls
+-
+-.. image:: http://codecov.io/github/meejah/txtorcon/coverage.svg?branch=master
+-    :target: http://codecov.io/github/meejah/txtorcon?branch=master
+-    :alt: codecov
+-
+-.. image:: https://readthedocs.org/projects/txtorcon/badge/?version=stable
+-    :target: https://txtorcon.readthedocs.io/en/stable
+-    :alt: ReadTheDocs
+-
+-.. image:: https://readthedocs.org/projects/txtorcon/badge/?version=latest
+-    :target: https://txtorcon.readthedocs.io/en/latest
+-    :alt: ReadTheDocs
+-
+-.. image:: http://api.flattr.com/button/flattr-badge-large.png
+-    :target: http://flattr.com/thing/1689502/meejahtxtorcon-on-GitHub
+-    :alt: flattr
+-
+-.. image:: https://landscape.io/github/meejah/txtorcon/master/landscape.svg?style=flat
+-    :target: https://landscape.io/github/meejah/txtorcon/master
+-    :alt: Code Health
+-
+-
+ txtorcon
+ ========
+ 
+diff --git a/docs/conf.py b/docs/conf.py
+index b1b3ab5..956569a 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -152,8 +152,8 @@ html_theme_options = {
+     'github_button': 'false',
+     'github_user': 'meejah',
+     'github_repo': 'txtorcon',
+-    'travis_button': 'true',
+-    'coveralls_button': 'true',
++    'travis_button': 'false',
++    'coveralls_button': 'false',
+     'logo_name': 'true',
+     'description': 'Control Tor from Twisted',
+     'logo_text_align': 'center',
+diff --git a/docs/index.rst b/docs/index.rst
+index d0465bd..cfc1121 100644
+--- a/docs/index.rst
++++ b/docs/index.rst
+@@ -7,26 +7,6 @@ txtorcon
+ - **docs**: https://txtorcon.readthedocs.org or http://timaq4ygg2iegci7.onion
+ - **code**: https://github.com/meejah/txtorcon
+ - ``torsocks git clone git://timaq4ygg2iegci7.onion/txtorcon.git``
+-- .. image:: https://travis-ci.org/meejah/txtorcon.png?branch=master
+-      :target: https://www.travis-ci.org/meejah/txtorcon
+-
+-  .. image:: https://coveralls.io/repos/meejah/txtorcon/badge.svg
+-      :target: https://coveralls.io/r/meejah/txtorcon
+-
+-  .. image:: http://codecov.io/github/meejah/txtorcon/coverage.svg?branch=master
+-      :target: http://codecov.io/github/meejah/txtorcon?branch=master
+-
+-  .. image:: https://readthedocs.org/projects/txtorcon/badge/?version=stable
+-      :target: https://txtorcon.readthedocs.io/en/stable
+-      :alt: ReadTheDocs
+-
+-  .. image:: https://readthedocs.org/projects/txtorcon/badge/?version=latest
+-      :target: https://txtorcon.readthedocs.io/en/latest
+-      :alt: ReadTheDocs
+-
+-  .. image:: https://landscape.io/github/meejah/txtorcon/master/landscape.svg?style=flat
+-      :target: https://landscape.io/github/meejah/txtorcon/master
+-      :alt: Code Health
+ 
+ .. container:: first_time
+ 
diff --git a/debian/patches/series b/debian/patches/series
index eb8a892..82376ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 disable_test_for_invalid_geoip.patch
+remove-privacy-infringing-buttons.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/txtorcon.git



More information about the Pkg-privacy-commits mailing list