[Pkg-javascript-devel] Debian javascript URLs
Jonas Smedegaard
dr at jones.dk
Thu Aug 22 08:26:35 UTC 2013
Quoting Daniel Kahn Gillmor (2013-08-22 05:23:17)
> > It doesn't make any sense to me to hardcode a filesystem path into
> > applications written in dynamic languages that you'll never be able
> > to just open with Firefox anyway. There's a reason there's a
> > separate namespace for content served over HTTP.
>
> Jonas' argument to just use the filesystem hierarchy for select
> directories is tempting (and feels logically the most satisfying), but
> i suspect the complaints (about URL length and panic about exporting
> /usr) that the fedora folks are trying to address or head off will be
> real enough, even if they're not logical.
Please let's discuss those two issues separately.
URL length
----------
I did not propose to use /usr/share/javascript (that was only an
example) but to use whatever is the actual path on each system.
The length of the URL depends on the actual path - and if we
(coordinated or as single distro) choose to not care about FHS then it
could indeed be quite short.
panic about exporting /usr
--------------------------
I did not mean to imply re-exporting /usr (but can see how that was not
at all clear from what I wrote - sorry!).
What I meant was to export only the parts we actually need to share,
just as we do today.
I would want the "root path" to still be configurable, just as it is
today, to allow sysadmins to e.g. optionally install a package that
re-uglifies javascript (either due to some preference in quality of
uglifier, or add some salt to to work against the host being easily
identified as a certain release of Debian through fingerprinting).
Trying to not look like generic Debian is a *different* interest of some
of our users, which clashes with the interest of Debian hosts being able
to form a CDN (which requires all participating hosts to serve same
files, and therefore being able to match by patterns).
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20130822/72197dba/attachment.sig>
More information about the Pkg-javascript-devel
mailing list