F21 System Wide Change: Web Assets
Jaroslav Reznik
jreznik at redhat.com
Wed May 14 13:17:40 UTC 2014
= Proposed System Wide Change: Web Assets =
https://fedoraproject.org/wiki/Changes/Web_Assets
Change owner(s): T.C. Hollingsworth <tchollingsworth at gmail.com>
This is multi-release change, already approved for Fedora 20.
https://lists.fedoraproject.org/pipermail/devel-announce/2013-July/001197.html
Traditionally, Fedora has been pushing bits from its various servers to
people's browsers in an ad-hoc fashion, and issues surrounding JavaScript have
been swept under the rug. This change proposal provides a simple framework for
shipping static web content and a way forward to treat JavaScript more closely
to other code in the distribution.
== Detailed Description ==
A standard directory (/usr/share/web-assets) for static bits that are intended
to be delivered to web browsers, such as CSS Frameworks, UI libraries, etc.
will be introduced. HTTP daemons in the distribution should make this
directory available publicly as /.sysassets.
Additionally, a standard directory (/usr/share/javascript) for JavaScript
code, which may be used in browsers or server-side by applications such as
nodejs or rubygem-execjs will also be introduced.
Finally, new packaging guidelines [1] will provide instructions for making
proper use of these new directories.
== Scope ==
See https://fedoraproject.org/wiki/Changes/Web_Assets#Scope
[1] https://fedoraproject.org/wiki/User:Patches/PackagingDrafts/Web_Assets
More information about the devel-announce
mailing list