Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-web-user
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-web-user@g.o
From: Gunnar Wrobel <wrobel@g.o>
Subject: Re: Java Script Libraries
Date: Thu, 23 Feb 2006 11:28:54 +0100
"Stuart Herbert" <Stuart.Herbert@...> writes:

> Mmm ... what are you trying to achieve here?
> a) /usr/share/js isn't served by any of our standard webserver installs;
> files you place in here aren't downloadable

Yes, sorry :) I already realized that it was a bad idea. 

> b) web-based apps will expect the javascript libraries to sit in a
> specific location under the htdocs directory
> c) different web-based apps will ship different versions of javascript
> libraries
> d) sooner or later, web-based apps will ship javascript libraries with
> their own modifications. we already get that behaviour with apps that
> ship bundled PEAR packages.

Yes, these libraries are more like the webapps themselves. Simply does
not fit into our current concept. At least I don't see an easy
solution, so I'll just leave it for now.

> e) The Gentoo philosophy is to remain as close to upstream as possible.
> Because we're a meta-distribution, and not a traditional distribution
> like Red Hat, the only time we try and change what UPSTREAM does is when
> we absolutely have to.

While I agree that it is certainly easier to keep the packages as
UPSTREAM bundles them, I'm not convinced that this is always a good
idea. If the effort is small, I'd rather patch the package to use the
standard libraries and send the patch upstream. Not only because it's
simply bad programming style but also because it's easier to handle
security this way. The package I'm looking at right now includes an
old phpmailer library with a known DOS vulnerability. I'd rather have
one place to fix a library then checking for packages that bundle the



Gunnar Wrobel                    Gentoo Developer

Mail: wrobel@g.o
IRC:  #gentoo-web at
pgpD2OhMBqgRc.pgp (PGP signature)
RE: Java Script Libraries
-- Stuart Herbert
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE: Java Script Libraries
Next by thread:
RE: Java Script Libraries
Previous by date:
RE: Java Script Libraries
Next by date:
RE: Java Script Libraries

Updated Jun 17, 2009

Summary: Archive of the gentoo-web-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.