Debian Codegraph @

debian/patches/0003-Remove-remote-badges-to-prevent-privacy-issues.patch

raw
1 From: Michael Fladischer <[email protected]>
2 Date: Sat, 17 Jan 2026 17:54:52 +0000
3 Subject: Remove remote badges to prevent privacy issues.
4
5 ---
6 README.md | 22 ----------------------
7 docs/index.rst | 51 ---------------------------------------------------
8 docs/quickstart.rst | 17 -----------------
9 3 files changed, 90 deletions(-)
10
11 diff --git a/README.md b/README.md
12 index 785217a..ba1ec2e 100644
13 --- a/README.md
14 +++ b/README.md
15 @@ -1,27 +1,5 @@
16 # django-polymorphic
17
18 -[![License: BSD](https://img.shields.io/badge/License-BSD-blue.svg)](https://opensource.org/license/bsd-3-clause)
19 -[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
20 -[![PyPI version](https://badge.fury.io/py/django-polymorphic.svg)](https://pypi.python.org/pypi/django-polymorphic/)
21 -[![PyPI pyversions](https://img.shields.io/pypi/pyversions/django-polymorphic.svg)](https://pypi.python.org/pypi/django-polymorphic/)
22 -[![PyPI djversions](https://img.shields.io/pypi/djversions/django-polymorphic.svg)](https://pypi.org/project/django-polymorphic/)
23 -[![PyPI status](https://img.shields.io/pypi/status/django-polymorphic.svg)](https://pypi.python.org/pypi/django-polymorphic)
24 -[![PyPI - Types](https://img.shields.io/pypi/types/django-polymorphic.svg)](https://pypi.python.org/pypi/django-polymorphic)
25 -[![Documentation Status](https://readthedocs.org/projects/django-polymorphic/badge/?version=latest)](http://django-polymorphic.readthedocs.io/?badge=latest/)
26 -[![Code Cov](https://img.shields.io/codecov/c/github/django-commons/django-polymorphic/main.svg)](https://codecov.io/github/django-commons/django-polymorphic?branch=main)
27 -[![Test Status](https://github.com/django-commons/django-polymorphic/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/django-commons/django-polymorphic/actions/workflows/test.yml?query=branch:main)
28 -[![Lint Status](https://github.com/django-commons/django-polymorphic/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/django-commons/django-polymorphic/actions/workflows/lint.yml?query=branch:main)
29 -[![Published on Django Packages](https://img.shields.io/badge/Published%20on-Django%20Packages-0c3c26)](https://djangopackages.org/packages/p/django-polymorphic/)
30 -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/django-commons/django-polymorphic/badge)](https://securityscorecards.dev/viewer/?uri=github.com/django-commons/django-polymorphic)
31 -
32 ----------------------------------------------------------------------------------------------------
33 -
34 -[![Postgres](https://img.shields.io/badge/Postgres-12%2B-blue)](https://www.postgresql.org/)
35 -[![MySQL](https://img.shields.io/badge/MySQL-8.0%2B-blue)](https://www.mysql.com/)
36 -[![MariaDB](https://img.shields.io/badge/MariaDB-10.4%2B-blue)](https://mariadb.org/)
37 -[![SQLite](https://img.shields.io/badge/SQLite-3.8%2B-blue)](https://www.sqlite.org/)
38 -[![Oracle](https://img.shields.io/badge/Oracle-21c%2B-blue)](https://www.oracle.com/database/)
39 -
40 ---------------------------------------------------------------------------------------------------
41
42 ## Polymorphic Models for Django
43 diff --git a/docs/index.rst b/docs/index.rst
44 index 5fc59eb..da9d179 100644
45 --- a/docs/index.rst
46 +++ b/docs/index.rst
47 @@ -1,57 +1,6 @@
48 django-polymorphic
49 ==================
50
51 -.. only:: html
52 -
53 - .. image:: https://img.shields.io/badge/License-BSD-blue.svg
54 - :target: https://opensource.org/license/bsd-3-clause
55 - :alt: License: BSD
56 -
57 - .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
58 - :target: https://github.com/astral-sh/ruff
59 - :alt: Ruff
60 -
61 - .. image:: https://badge.fury.io/py/django-polymorphic.svg
62 - :target: https://pypi.python.org/pypi/django-polymorphic/
63 - :alt: PyPI version
64 -
65 - .. image:: https://img.shields.io/pypi/pyversions/django-polymorphic.svg
66 - :target: https://pypi.python.org/pypi/django-polymorphic/
67 - :alt: PyPI pyversions
68 -
69 - .. image:: https://img.shields.io/pypi/djversions/django-polymorphic.svg
70 - :target: https://pypi.org/project/django-polymorphic/
71 - :alt: PyPI Django versions
72 -
73 - .. image:: https://img.shields.io/pypi/status/django-polymorphic.svg
74 - :target: https://pypi.python.org/pypi/django-polymorphic
75 - :alt: PyPI status
76 -
77 - .. image:: https://img.shields.io/pypi/types/django-polymorphic.svg
78 - :target: https://pypi.python.org/pypi/django-polymorphic
79 - :alt: PyPi Typed
80 -
81 - .. image:: https://readthedocs.org/projects/django-polymorphic/badge/?version=latest
82 - :target: http://django-polymorphic.readthedocs.io/?badge=latest/
83 - :alt: Documentation Status
84 -
85 - .. image:: https://img.shields.io/codecov/c/github/django-commons/django-polymorphic/main.svg
86 - :target: https://codecov.io/github/django-commons/django-polymorphic?branch=main
87 - :alt: Code Coverage
88 -
89 - .. image:: https://github.com/django-commons/django-polymorphic/actions/workflows/test.yml/badge.svg?branch=main
90 - :target: https://github.com/django-commons/django-polymorphic/actions/workflows/test.yml?query=branch:main
91 - :alt: Test Status
92 -
93 - .. image:: https://github.com/django-commons/django-polymorphic/actions/workflows/lint.yml/badge.svg?branch=main
94 - :target: https://github.com/django-commons/django-polymorphic/actions/workflows/lint.yml?query=branch:main
95 - :alt: Lint Status
96 -
97 - .. image:: https://img.shields.io/badge/Published%20on-Django%20Packages-0c3c26
98 - :target: https://djangopackages.org/packages/p/django-polymorphic/
99 - :alt: Published on Django Packages
100 -
101 -
102 :pypi:`django-polymorphic` builds on top of the standard Django model inheritance.
103 It makes using inherited models easier. When a query is made at the base model,
104 the inherited model classes are returned.
105 diff --git a/docs/quickstart.rst b/docs/quickstart.rst
106 index b5a800e..20c71e1 100644
107 --- a/docs/quickstart.rst
108 +++ b/docs/quickstart.rst
109 @@ -14,23 +14,6 @@ Update the settings file:
110 'django.contrib.contenttypes',
111 )
112
113 -.. only:: html
114 -
115 - The current release of :pypi:`django-polymorphic` supports:
116 -
117 - .. image:: https://badge.fury.io/py/django-polymorphic.svg
118 - :target: https://pypi.python.org/pypi/django-polymorphic/
119 - :alt: PyPI version
120 -
121 - .. image:: https://img.shields.io/pypi/pyversions/django-polymorphic.svg
122 - :target: https://pypi.python.org/pypi/django-polymorphic/
123 - :alt: Supported Pythons
124 -
125 - .. image:: https://img.shields.io/pypi/djversions/django-polymorphic.svg
126 - :target: https://pypi.org/project/django-polymorphic/
127 - :alt: Supported Django
128 -
129 -
130 Making Your Models Polymorphic
131 ------------------------------
132