[Webapps-common-discuss] webapps-common/doc Webapps-Policy-Manual-DRAFT.sgml,1.4,1.5
neilm@haydn.debian.org
neilm@haydn.debian.org
Update of /cvsroot/webapps-common/webapps-common/doc
In directory haydn:/tmp/cvs-serv23045
Modified Files:
Webapps-Policy-Manual-DRAFT.sgml
Log Message:
* Stylistic move of /usr/share/foo/include to underneath /usr/share/foo/www
* Addition of /usr/share/foo/scripts for other helper scripts that don't belong in /usr/bin
Index: Webapps-Policy-Manual-DRAFT.sgml
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/doc/Webapps-Policy-Manual-DRAFT.sgml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Webapps-Policy-Manual-DRAFT.sgml 19 Jun 2005 22:11:41 -0000 1.4
+++ Webapps-Policy-Manual-DRAFT.sgml 28 Jun 2005 11:12:06 -0000 1.5
@@ -93,11 +93,12 @@
<tag><item>
<p><strong>static/dynamically interpreted web pages</strong>
<p><em><tt>/usr/share/<var>PACKAGE</var>/www</tt></em>
- <p>
- Also acceptable are "htdocs", "site", or any other name, as long as
- it is clearly identifying and a subdirectory of <tt>/usr/share/<var>PACKAGE</var></tt>. This
- will allow other non-web-accessible data to also be stored in the parent
- directory.
+ <tag><item>
+ <p><strong>application-specific libraries</strong>
+ <p><em><tt>/usr/share/<var>PACKAGE</var>/include</tt></em>
+ <tag><item>
+ <p><strong>other helper scripts that don't belong in <tt>/usr/bin</tt></strong>
+ <p><em><tt>/usr/share/<var>PACKAGE</var>/scripts</tt></em>
<tag><item>
<p><strong>persistent application data</strong>
<p><em><tt>/var/lib/<var>PACKAGE</var></tt></em>
@@ -111,21 +112,11 @@
What to do with non-architecture-specific executable files is up
for debate. Another possible location would be <tt>/usr/share/<var>PACKAGE</var>/cgi-bin</tt>
<tag><item>
- <p><strong>application-specific libraries</strong>
- <p><em><tt>/usr/share/<var>PACKAGE</var>/include</tt></em>
- <p>
- Other names, such as "lib" or "functions" are acceptable, as is anything
- else, as long as it is identifiable, outside the documentroot, and in
- a subdirectory of <tt>/usr/share/<var>PACKAGE</var></tt>
- <tag><item>
<p><strong>site configuration (settings/passwords)</strong>
<p><em><tt>/etc/<var>PACKAGE</var></tt></em>
<tag><item>
<p><strong>locally modifiable/overridable content</strong>
<p><em><tt>/etc/<var>PACKAGE</var>templates</tt></em>
- <p>
- Once again, "templates" could be substituted with anything else
- that makes sense, as long as it is a subdirectory of <tt>/etc/<var>PACKAGE</var></tt>
<tag><item>
<p><strong>php libraries</strong>
<p><em><tt>/usr/share/php/<var>PACKAGE</var></tt></em>