all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: christophe.jarry@ouvaton.org
Cc: 15549@debbugs.gnu.org
Subject: bug#15549: hydra.gnu.org uses nontrivial and nonfree javascript
Date: Mon, 07 Oct 2013 22:02:06 +0200	[thread overview]
Message-ID: <87zjqkvoht.fsf@gnu.org> (raw)
In-Reply-To: <5415a2508dff305c041e20f08c20793e.squirrel@webmail.ouvaton.coop> (christophe jarry's message of "Mon, 7 Oct 2013 09:43:35 +0200")

Hi,

christophe.jarry@ouvaton.org skribis:

> If I go to http://hydra.gnu.org/jobset/gnu/master with Firefox, addon
> GNU LibreJS 5.4 [1] reports this:

Thanks for the report!

>     List of accepted JavaScript in
>     http://hydra.gnu.org/jobset/gnu/master
>
>     this script has been tagged as free software by LibreJS authors:
>     http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
>
>
>     List of blocked JavaScript in
>     http://hydra.gnu.org/jobset/gnu/master
>
>     NONTRIVIAL: eval has been found in code:
>     http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.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?

>     NONTRIVIAL: eval has been found in code:
>     http://hydra.gnu.org/static/bootstrap/js/bootstrap.min.js

Same here.

>     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.

Thanks,
Ludo’.

  reply	other threads:[~2013-10-07 20:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07  7:43 bug#15549: hydra.gnu.org uses nontrivial and nonfree javascript christophe.jarry
2013-10-07 20:02 ` Ludovic Courtès [this message]
2017-10-09 21:17   ` Ricardo Wurmus
2017-10-10  6:55     ` Ludovic Courtès
2017-10-18 23:48       ` Ricardo Wurmus
2017-10-22 21:54         ` Maxim Cournoyer
2017-10-23 21:06         ` Ludovic Courtès
2017-11-10 22:35           ` Ricardo Wurmus
2014-08-28 19:02 ` Christophe Jarry
2017-10-19 15:15   ` Thompson, David
2017-10-23  5:46     ` Ricardo Wurmus
2017-11-10  0:20     ` Adonay Felipe Nogueira
2017-03-16 20:47 ` bug#15549: hydra.gnu.org needs to declare its javascript licenses for Joshua Branson
2018-12-17 10:36 ` bug#15549: hydra.gnu.org needs to declare its javascript licenses for LibreJS swedebugia
2018-12-18 11:23   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjqkvoht.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=15549@debbugs.gnu.org \
    --cc=christophe.jarry@ouvaton.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.