pcp
[Top] [All Lists]

Re: PCP trees for web and middleware development

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: PCP trees for web and middleware development
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Sat, 27 Sep 2014 10:39:14 +1000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140926144255.GO26965@xxxxxxxxxx>
References: <1970205420.36245669.1408665579915.JavaMail.zimbra@xxxxxxxxxx> <050301cfc01c$04889170$0d99b450$@internode.on.net> <1078845537.37533359.1408945446955.JavaMail.zimbra@xxxxxxxxxx> <y0m4mwqq5o9.fsf@xxxxxxxx> <638874581.42408155.1409659444170.JavaMail.zimbra@xxxxxxxxxx> <20140902134012.GE4825@xxxxxxxxxx> <1859208890.52189214.1411109762944.JavaMail.zimbra@xxxxxxxxxx> <y0ma95sy9s3.fsf@xxxxxxxx> <2143674986.55503362.1411640081377.JavaMail.zimbra@xxxxxxxxxx> <542505DD.9080001@xxxxxxxxxx> <20140926144255.GO26965@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
On 09/27/2014 12:42 AM, Frank Ch. Eigler wrote:
Hi -

mgoodwin wrote:

I've not had time to fully understand the issues being debated here,

I'll try to summarize succinctly in a separate message.


[...] AFAICT, the "1000's of lines of C++ and javascript and
associated images" are in effect a 3rd party library package, and
thus belong in a separate tree and should ship in a separate
package. [...]

(Note that there is no C++ in the third-party programs.  They are
just dead data files - web assets - and they are not build- or
install-dependencies of PCP / pmwebd.  They just complete the user
experience.)

OK, so poking around a bit further around the largest of the
embedded javascript files: jquery-1.7.2.js  and jquery-ui-1.10.2.js

Looks like these are coming from https://jquery.org under an MIT
license (see https://jquery.org/license/)  which is basically a
free-for-any-purpose license really. So that's not a problem.

The jquery code is freely available at git://github.com/jquery/jquery.git
with pre-packaged tarballs available from http://jquery.com/download/
BUT I don't see this in Fedora (and presumably other distros) and
to my eyes therein lies the root of the problem - pcp-webapi should just
have a dependency on jquery-noarch or some such package. And further more,
we're not the only ones with this problem, it seems to be embedded all
over the place, e.g. just on my laptop :

# rpm -qf $(rpm -qal | grep 'jquery.*\.js') | sort -u
blender-2.68a-5.fc19.x86_64
doxygen-1.8.3.1-2.fc19.x86_64
graphite-web-0.9.12-5.fc19.noarch
krb5-workstation-1.11.3-25.fc19.x86_64
Mayavi-4.3.0-7.fc19.x86_64
python3-numpy-1.7.2-8.fc19.x86_64
python-django-1.5.9-1.fc19.noarch
python-docs-2.7.5-6.fc19.noarch
python-fedora-0.3.34-1.fc19.noarch
python-ipython-notebook-0.13.2-4.fc19.noarch
python-kitchen-1.1.1-4.fc19.noarch
python-matplotlib-doc-1.2.0-14.fc19.x86_64
python-simplejson-3.5.3-1.fc19.x86_64
transmission-common-2.84-1.fc19.x86_64
xbmc-12.3-1.fc19.x86_64

Some of these may be false matches on some other jquery*.js, but you
get the point. I haven't looked any further, but graphite-web.noarch
kind of sounds promising .. can't we just dep that?

-- Mark


<Prev in Thread] Current Thread [Next in Thread>