[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-librejs] Fixing nontrivial and nonfree JS
From: |
christophe . jarry |
Subject: |
[Help-librejs] Fixing nontrivial and nonfree JS |
Date: |
Tue, 8 Oct 2013 08:31:58 +0200 |
User-agent: |
SquirrelMail/1.4.22 |
Hello,
In order to make http://hydra.gnu.org/ appear clean to librejs
regarding nontrivial and nonfree javascript, I need some help. I
reported the issues detected by librejs on
http://lists.gnu.org/archive/html/bug-guix/2013-10/msg00001.html.
To summarize, some explanations are needed:
>> NONTRIVIAL: eval has been found in code:
>> http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js
>>
>> NONTRIVIAL: eval has been found in code:
>> http://hydra.gnu.org/static/bootstrap/js/bootstrap.min.js
>
>So jquery itself is free, but since it's using 'eval' it might be
>evaluating third-party non-free code, is that right?
>> This script is detected as nonfree, external, and as defining
>> functions or methods:
>> http://hydra.gnu.org/static/js/bootbox.min.js
>
>That file points to http://bootboxjs.com/license.txt, which is the
>MIT/X11 license.
>
>So do I get it right that it's just a matter of letting LibreJS know
>about it?
>> This script is detected as nonfree, external, and as defining
>> functions or methods:
>> http://hydra.gnu.org/static/js/common.js
>
>That file is actually part of Hydra, which is GPLv3+:
>
> https://github.com/NixOS/hydra/blob/master/src/root/static/js/common.js
>> This script is detected as inline, nonfree, defining functions or
>> methods, and the rest of the page as loading external scripts:
>> $(function() { makeLazyTab("tabs-jobs",
>> "http://hydra.gnu.org/jobset/gnu/master/jobs-tab"); });
>
>This comes from Hydra's source:
>
> https://github.com/NixOS/hydra/blob/master/src/root/jobset.tt
>> Is it possible to use only free javascript for this page?
>
>AFAICS it's actually the case. However, all this lacks the right tags
>for LibreJS to recognize it.
>
>Could you tell us what's needed to make it work?
>
>I can then submit a patch for Hydra itself. It would be neat if someone
>else would submit the JQuery/Bootstrap parts, though.
Thank you for your help,
Christophe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-librejs] Fixing nontrivial and nonfree JS,
christophe . jarry <=