Discussion:
Is it OK to include CSS files via a Debian patch to patch out cloudflare links?
(too old to reply)
Ahmed Siam
2024-09-09 10:30:02 UTC
Permalink
Hi!

I am currently packaging python-mkdocs v1.6.1 and I got a privacy-breach-generic
lintian warning during that due to having cloudflare links to
highlight.js v11.8.0
css files in the documentation of the package (mkdocs-doc).

Current version of hightlight.js on debian sid is v9.18.5.

To fix this lintian warning, Can I include those css files via a debian patch
to link to them instead of cloudflare and remove this patch later when the
required version of highlight.js is packaged?

highlight.js version on sid: https://packages.debian.org/sid/libjs-highlight.js

Best Regards,
Ahmed Siam
Salvo Tomaselli
2024-09-09 12:10:02 UTC
Permalink
Yes please remove tracking!

In typedload I have a makefile target that replaces it.

adblockers mark those as tracking. It's not very nice for the users at all
that the generated sites include tracking.
--
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei

https://ltworf.codeberg.page/
Dmitry Shachnev
2024-09-09 12:40:02 UTC
Permalink
Hi all,
Post by Salvo Tomaselli
Yes please remove tracking!
In typedload I have a makefile target that replaces it.
FWIW, dh_mkdocs has code which should take care of that [1], there is no need
to replace it manually.

[1]: https://sources.debian.org/src/python-mkdocs/1.5.3%2Bdfsg-1/debian/scripts/dh_mkdocs/#L146

--
Dmitry Shachnev
Julian Gilbey
2024-09-09 15:10:01 UTC
Permalink
Post by Dmitry Shachnev
Hi all,
Post by Salvo Tomaselli
Yes please remove tracking!
In typedload I have a makefile target that replaces it.
FWIW, dh_mkdocs has code which should take care of that [1], there is no need
to replace it manually.
[1]: https://sources.debian.org/src/python-mkdocs/1.5.3%2Bdfsg-1/debian/scripts/dh_mkdocs/#L146
Oh, amazing - I didn't know about this script! Thanks for writing it,
Dmitry! Now I should run off and use it in all my mkdocs-using
packages....

Best wishes,

Julian

Loading...