On Wed, Dec 25, 2013 at 7:06 PM, Paul Tagliamonte <paul...@debian.org> wrote:
> On Thu, Dec 26, 2013 at 07:26:37AM +0800, Paul Wise wrote:
>> On Thu, Dec 26, 2013 at 4:57 AM, Jerome BENOIT wrote:
>>
>> > is there a proper way to get rid of the recent
>> > privacy-breach-google-adsense Lintian violation/error report [1] ?
>>
>> Same as with every issue in upstream code, report it to upstream and
>> get them to fix it, sending a patch if you are able. That way Debian
>> helps the free software community as a whole, which we promised to do
>> in our social contract:
>>
>> http://www.debian.org/social_contract
>
> I tend to agree. However, what would be doubleplusgood would be to get
> the tools like sphinx, doxygen, and friends to not insert the code when
> we're building a .deb - perhaps we should look at killing this bug in
> generated code by forcing the generated code to suck less.

What exactly are you proposing? At least for Sphinx, and I imagine
other tools, things like adsense aren't automatically injected into
the html. The author must explicitly add this stuff into the template.
I agree that we don't want package documentation in Debian to be
calling home, but if someone using Sphinx as a static webpage
generator wants to add Google Analytics to their site I don't see why
Debian should have a position on that. I certainly don't see Sphinx
upstream adding any code to automatically strip out such things. In
fact, Sphinx Contrib contains a Google Analytics plugin that makes it
easier to add the snippet to the generated files. It also adds a
'google_analytics' option to  conf.py which can be set to False to
disable adding the snippet.

Maybe we should package this for Debian and encourage its use for
people wanting to use GA. That way we'd only need a one line patch to
conf.py rather than some script parsing all the html.

Thanks,

-- Andrew Starr-Bochicchio

   Ubuntu Developer <https://launchpad.net/~andrewsomething>
   Debian Developer <http://qa.debian.org/developer.php?login=asb>
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL6k_AwvU=cttrw+o6q9eppx2r+4urnah+xv6jpdwji4v-i...@mail.gmail.com

Reply via email to