[openstack-dev] [Tuskar][Horizon] Javascript linter
Monty Taylor
mordred at inaugust.com
Wed Apr 2 17:20:25 UTC 2014
I agree - it's not a viral license, and we're not shipping it anyway.
I'm going to go back to the original thing:
"
Recently we have been discussing the topic of Javascript linters for
Horizon and Tuskar-UI with Radomir, and he told me that JSLint and
JSHint can not be integrated into the test environment due to some
license issues."
This is just not true. In fact, we have a full grunt-based jslint gate
on storyboard-webclient running in infra currently. It's integrated with
tox even.
I suggest:
a) use jslint
b) use it via grunt
c) use grunt via tox and nodeenv
d) use the job templates we have in infra to run this sort of thing
I'm happy to help point people to how this works.
On 04/02/2014 09:10 AM, Adam Nelson wrote:
> I don't see why the license of a piece of software used to check the
> codebase (i.e. the linter) infects the codebase being checked. That
> would be like saying the Google terms of service under which I'm writing
> this email (Google Apps) infects the codebase.
>
> --
> Kili - Cloud for Africa: kili.io <http://kili.io/>
> Musings: twitter.com/varud <https://twitter.com/varud>
> More Musings: varud.com <http://varud.com/>
> About Adam: www.linkedin.com/in/adamcnelson
> <https://www.linkedin.com/in/adamcnelson>
>
>
> On Wed, Apr 2, 2014 at 6:53 PM, Ben Nemec <openstack at nemebean.com
> <mailto:openstack at nemebean.com>> wrote:
>
> I think that would be a good idea. We're not shipping this, we're
> just using it in test (AIUI), so I don't think incompatibility with
> the OpenStack license is necessarily an issue. But IANAL. :-)
>
> -Ben
>
>
> On 04/02/2014 09:24 AM, Kevin Conway wrote:
>
> I understand, and appreciate, the concern for licensing, but it
> would be a
> real shame to discount some of the most widely used linters
> because of a
> clause that prevents us from being evil.
>
> Any chance we could run this by
> legal-discuss at lists.openstack.__org
> <mailto:legal-discuss at lists.openstack.org> and hear
> their reactions before we axe the JS*int projects from OpenStack?
>
> On 4/2/14 8:43 AM, "Radomir Dopieralski" <openstack at sheep.art.pl
> <mailto:openstack at sheep.art.pl>> wrote:
>
> On 02/04/14 15:26, Kevin Conway wrote:
>
> What licensing issues were brought up that prevent the
> use of JSLint or
> JSHint? Both are MIT licensed.
>
> Granted, JSLint has an additional clause:
>
> The Software shall be used for Good, not Evil.
>
>
> Maybe that's it? If so, Crockford has been known to make
> exceptions for
> organizations that wish to use his code for potentially evil
> purposes:
> https://www.youtube.com/watch?__v=-C-JoyNuQJs&feature=player___detailpage#t=2
> <https://www.youtube.com/watch?v=-C-JoyNuQJs&feature=player_detailpage#t=2>
> 480s.
>
>
> Yes, that's exactly it. An exception is not enough -- that
> clause simply
> makes that license incompatible with OpenStack's license. To
> use it, we
> would need to change OpenStack's license too, and it quickly
> becomes
> quite complex.
>
> You have to remember that organizations like NSA use
> OpenStack, so we
> can't possibly include that clause in its license ;)
>
> --
> Radomir Dopieralski
>
>
> _________________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.__org
> <mailto:OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
>
>
>
> _________________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.__org
> <mailto:OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
>
>
> _________________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.__org
> <mailto:OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
More information about the OpenStack-dev
mailing list