Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16263 > unrolled thread

Is it OK to include CSS files via a Debian patch to patch out cloudflare links?

Started byAhmed Siam <aahs.coder@gmail.com>
First post2024-09-09 12:30 +0200
Last post2024-09-09 17:10 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Is it OK to include CSS files via a Debian patch to patch out  cloudflare links? Ahmed Siam <aahs.coder@gmail.com> - 2024-09-09 12:30 +0200
      Re: Is it OK to include CSS files via a Debian patch to patch out cloudflare  links? Salvo Tomaselli <ltworf@debian.org> - 2024-09-09 14:10 +0200
      Re: Is it OK to include CSS files via a Debian patch to patch out  cloudflare links? Dmitry Shachnev <mitya57@debian.org> - 2024-09-09 14:40 +0200
        Re: Is it OK to include CSS files via a Debian patch to patch out  cloudflare links? Julian Gilbey <julian@d-and-j.net> - 2024-09-09 17:10 +0200

#16263 — Is it OK to include CSS files via a Debian patch to patch out cloudflare links?

FromAhmed Siam <aahs.coder@gmail.com>
Date2024-09-09 12:30 +0200
SubjectIs it OK to include CSS files via a Debian patch to patch out cloudflare links?
Message-ID<JkJOG-b3RH-15@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#16264 — Re: Is it OK to include CSS files via a Debian patch to patch out cloudflare links?

FromSalvo Tomaselli <ltworf@debian.org>
Date2024-09-09 14:10 +0200
Subject Re: Is it OK to include CSS files via a Debian patch to patch out cloudflare links?
Message-ID<JkLns-b51t-19@gated-at.bofh.it>
In reply to#16263

[Multipart message — attachments visible in raw view] — view raw

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/

[toc] | [prev] | [next] | [standalone]


#16265

FromDmitry Shachnev <mitya57@debian.org>
Date2024-09-09 14:40 +0200
Message-ID<JkLQu-b5cO-7@gated-at.bofh.it>
In reply to#16264

[Multipart message — attachments visible in raw view] — view raw

Hi all,

On Mon, Sep 09, 2024 at 02:06:21PM +0200, Salvo Tomaselli wrote:
> 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

[toc] | [prev] | [next] | [standalone]


#16266

FromJulian Gilbey <julian@d-and-j.net>
Date2024-09-09 17:10 +0200
Message-ID<JkObD-b6Ox-3@gated-at.bofh.it>
In reply to#16265
On Mon, Sep 09, 2024 at 03:39:18PM +0300, Dmitry Shachnev wrote:
> Hi all,
> 
> On Mon, Sep 09, 2024 at 02:06:21PM +0200, Salvo Tomaselli wrote:
> > 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web