File: 0002-privacy.patch

package info (click to toggle)
celery 5.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,376 kB
  • sloc: python: 67,264; sh: 795; makefile: 378
file content (189 lines) | stat: -rw-r--r-- 7,409 bytes parent folder | download
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
From: Michael Fladischer <fladi@debian.org>
Date: Thu, 8 Oct 2015 08:37:05 -0700
Subject: Remove external assets from documentation.

 Upstream includes a PayPal donation form in it's sphinx templates for which the
 submit button used an external image and which was replaced by a simple
 <button/> element. Also a gittip button is loaded inside an <iframe/> which is
 removed. The logo image was loaded from the project website and is replaced
 with the local image file.
Last-Update: 2024-10-04
Forwarded: not-needed

Patch-Name: privacy.patch
---
 README.rst                            | 72 +----------------------------------
 docs/_templates/sidebardonations.html |  9 -----
 docs/conf.py                          |  1 -
 docs/index.rst                        |  5 ---
 4 files changed, 1 insertion(+), 86 deletions(-)
 delete mode 100644 docs/_templates/sidebardonations.html

diff --git a/README.rst b/README.rst
index 1fb99f9..91768d0 100644
--- a/README.rst
+++ b/README.rst
@@ -1,4 +1,4 @@
-.. image:: https://docs.celeryq.dev/en/latest/_images/celery-banner-small.png
+.. image:: ./docs/images/celery-banner-small.png
 
 |build-status| |coverage| |license| |wheel| |semgrep| |pyversion| |pyimp| |ocbackerbadge| |ocsponsorbadge|
 
@@ -16,10 +16,6 @@ Donations
 Open Collective
 ---------------
 
-.. image:: https://opencollective.com/static/images/opencollectivelogo-footer-n.svg
-   :alt: Open Collective logo
-   :width: 200px
-
 `Open Collective <https://opencollective.com/celery>`_ is our community-powered funding platform that fuels Celery's
 ongoing development. Your sponsorship directly supports improvements, maintenance, and innovative features that keep
 Celery robust and reliable.
@@ -60,11 +56,6 @@ with customers all over the world.
 Upstash
 -------
 
-.. image:: https://upstash.com/logo/upstash-dark-bg.svg
-   :alt: Upstash logo
-   :width: 200px
-   :target: https://upstash.com/?code=celery
-
 `Upstash <http://upstash.com/?code=celery>`_ offers a serverless Redis database service,
 providing a seamless solution for Celery users looking to leverage
 serverless architectures. Upstash's serverless Redis service is designed
@@ -74,20 +65,12 @@ through a multi-tier storage architecture.
 Dragonfly
 ---------
 
-.. image:: https://github.com/celery/celery/raw/main/docs/images/dragonfly.svg
-   :alt: Dragonfly logo
-   :width: 150px
-   :target: https://www.dragonflydb.io/
-
 `Dragonfly <https://www.dragonflydb.io/>`_ is a drop-in Redis replacement that cuts costs and boosts performance.
 Designed to fully utilize the power of modern cloud hardware and deliver on the data demands of modern applications,
 Dragonfly frees developers from the limits of traditional in-memory data stores.
 
 
 
-.. |oc-sponsor-1| image:: https://opencollective.com/celery/sponsor/0/avatar.svg
-    :target: https://opencollective.com/celery/sponsor/0/website
-
 What's a Task Queue?
 ====================
 
@@ -536,10 +519,6 @@ documentation.
 .. _`Contributing to Celery`:
     https://docs.celeryq.dev/en/stable/contributing.html
 
-|oc-contributors|
-
-.. |oc-contributors| image:: https://opencollective.com/celery/contributors.svg?width=890&button=false
-    :target: https://github.com/celery/celery/graphs/contributors
 
 Backers
 -------
@@ -548,11 +527,6 @@ Thank you to all our backers! 🙏 [`Become a backer`_]
 
 .. _`Become a backer`: https://opencollective.com/celery#backer
 
-|oc-backers|
-
-.. |oc-backers| image:: https://opencollective.com/celery/backers.svg?width=890
-    :target: https://opencollective.com/celery#backers
-
 .. _license:
 
 License
@@ -562,47 +536,3 @@ This software is licensed under the `New BSD License`. See the ``LICENSE``
 file in the top distribution directory for the full license text.
 
 .. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround
-
-.. |build-status| image:: https://github.com/celery/celery/actions/workflows/python-package.yml/badge.svg
-    :alt: Build status
-    :target: https://github.com/celery/celery/actions/workflows/python-package.yml
-
-.. |coverage| image:: https://codecov.io/github/celery/celery/coverage.svg?branch=main
-    :target: https://codecov.io/github/celery/celery?branch=main
-
-.. |license| image:: https://img.shields.io/pypi/l/celery.svg
-    :alt: BSD License
-    :target: https://opensource.org/licenses/BSD-3-Clause
-
-.. |wheel| image:: https://img.shields.io/pypi/wheel/celery.svg
-    :alt: Celery can be installed via wheel
-    :target: https://pypi.org/project/celery/
-
-.. |semgrep| image:: https://img.shields.io/badge/semgrep-security-green.svg
-    :alt: Semgrep security
-    :target: https://go.semgrep.dev/home
-
-.. |pyversion| image:: https://img.shields.io/pypi/pyversions/celery.svg
-    :alt: Supported Python versions.
-    :target: https://pypi.org/project/celery/
-
-.. |pyimp| image:: https://img.shields.io/pypi/implementation/celery.svg
-    :alt: Supported Python implementations.
-    :target: https://pypi.org/project/celery/
-
-.. |ocbackerbadge| image:: https://opencollective.com/celery/backers/badge.svg
-    :alt: Backers on Open Collective
-    :target: #backers
-
-.. |ocsponsorbadge| image:: https://opencollective.com/celery/sponsors/badge.svg
-    :alt: Sponsors on Open Collective
-    :target: #sponsors
-
-.. |downloads| image:: https://pepy.tech/badge/celery
-    :alt: Downloads
-    :target: https://pepy.tech/project/celery
-
-.. |deepwiki| image:: https://devin.ai/assets/deepwiki-badge.png
-    :alt: Ask http://DeepWiki.com
-    :target: https://deepwiki.com/celery/celery
-    :width: 125px
diff --git a/docs/_templates/sidebardonations.html b/docs/_templates/sidebardonations.html
deleted file mode 100644
index 2eebc8e..0000000
--- a/docs/_templates/sidebardonations.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<iframe src="https://ghbtns.com/github-btn.html?user=celery&repo=celery&type=watch&count=true&size=large"
-  allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
-<div id="donate">
-    <h3>Donations</h3>
-    <p>Please help support this community project with a donation.</p>
-    <a href="https://opencollective.com/celery/donate" target="_blank">
-      <img src="https://opencollective.com/celery/donate/button@2x.png?color=blue"/>
-    </a>
-</div>
diff --git a/docs/conf.py b/docs/conf.py
index 736240f..2777cba 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,7 +14,6 @@ globals().update(conf.build_config(
     publisher='Celery Project',
     html_logo='images/celery_512.png',
     html_favicon='images/favicon.ico',
-    html_prepend_sidebars=['sidebardonations.html'],
     extra_extensions=[
         'sphinx_click',
         'sphinx.ext.napoleon',
diff --git a/docs/index.rst b/docs/index.rst
index 107d96e..0a3ddd5 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -14,11 +14,6 @@ don't hesitate to ask questions or :ref:`get involved <getting-help>`.
 
 Celery is Open Source and licensed under the `BSD License`_.
 
-.. image:: https://opencollective.com/static/images/opencollectivelogo-footer-n.svg
-   :target: https://opencollective.com/celery
-   :alt: Open Collective logo
-   :width: 240px
-
 `Open Collective <https://opencollective.com/celery>`_ is our community-powered funding platform that fuels Celery's
 ongoing development. Your sponsorship directly supports improvements, maintenance, and innovative features that keep
 Celery robust and reliable.