File: 0002-Remove-privacy-breach-in-documentation.patch

package info (click to toggle)
fsspec 2025.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,200 kB
  • sloc: python: 24,285; makefile: 31; sh: 17
file content (119 lines) | stat: -rw-r--r-- 3,436 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
From: Emmanuel Arias <eamanu@yaerobi.com>
Date: Sat, 14 Oct 2023 18:37:10 -0300
Subject: Remove privacy breach in documentation
Forwarded: not-needed

This patch remove links to external links that can be a potential privacy
breach by fetching data from an external website at runtime.
---
 docs/source/api.rst       | 5 -----
 docs/source/async.rst     | 5 -----
 docs/source/changelog.rst | 4 ----
 docs/source/copying.rst   | 5 -----
 docs/source/developer.rst | 4 ----
 docs/source/features.rst  | 5 -----
 docs/source/index.rst     | 5 -----
 docs/source/intro.rst     | 4 ----
 docs/source/usage.rst     | 4 ----
 9 files changed, 41 deletions(-)

--- a/docs/source/api.rst
+++ b/docs/source/api.rst
@@ -318,8 +318,3 @@
    fsspec.utils.read_block
 
 .. autofunction:: fsspec.utils.read_block
-
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/async.rst
+++ b/docs/source/async.rst
@@ -148,10 +148,6 @@
 
 .. autofunction:: fsspec.asyn.sync_wrapper
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
 
 AsyncFileSystemWrapper
 ----------------------
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -1088,7 +1088,3 @@
 * Added a ``detail=True`` parameter to :meth:`fsspec.spec.AbstractFileSystem.ls` (:pr:`168`)
 * Fixed handling of UNC/DFS paths (:issue:`154`)
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/copying.rst
+++ b/docs/source/copying.rst
@@ -341,8 +341,3 @@
 
     The trailing slash is required on the new directory otherwise it is interpreted as a filename
     rather than a directory.
-
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/developer.rst
+++ b/docs/source/developer.rst
@@ -120,7 +120,3 @@
 Docs use sphinx and the numpy docstring style. Please add an entry to the changelog
 along with any PR.
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/features.rst
+++ b/docs/source/features.rst
@@ -404,11 +404,6 @@
 ``fsspec.callbacks.TqdmCallback`` can be used to display a progress bar using
 tqdm.
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
-
 
 Exclusive write
 ---------------
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -119,8 +119,3 @@
    async.rst
    api.rst
    changelog.rst
-
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/intro.rst
+++ b/docs/source/intro.rst
@@ -93,7 +93,3 @@
 
 .. _zarr: https://zarr.readthedocs.io
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>
--- a/docs/source/usage.rst
+++ b/docs/source/usage.rst
@@ -118,7 +118,3 @@
             if "KENYA" in line:
                 break
 
-.. raw:: html
-
-    <script data-goatcounter="https://fsspec.goatcounter.com/count"
-        async src="//gc.zgo.at/count.js"></script>