<?xml version="1.0"?>
<document>
  <properties>
    <title>Projects @ Apache Documentation</title>
    <index>
      <text>Documentation</text>
      <id>docs</id>
      <order>6</order>
    </index>
    <script type="text/javascript" src="js/pa.js"/>
  </properties>
  <body onLoad="getAdData()">
    <bannerName>banner</bannerName>
    <section>
      <title>Projects @ Apache Documentation</title>
<p>The data used to generate the website projects.apache.org is maintained
by the projects themselves. The code that generates the site is simply using aggregating the data supplied and presenting it in a cohesive manner. The individual projects should never need to be concerned about how the site is generated - they just need to maintain their data!</p>
<p>Guidelines for maintaining their data files can be found <a href="../guidelines.html">here</a>. This section of the website provides more information about how the site is generated and the various dependencies within the data we rely on.</p>
<p>Note that there are two kinds of data files which need to be maintained:</p>
<ol>
  <li>DOAP files (listed in <a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml">projects.xml</a>), which describe the projects. Each project is produced by a PMC: these DOAP files contain a link to the PMC data file,</li>
  <li>PMC data files (listed in <a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees.xml">committees.xml</a>), which describe each PMC itself. This is linked from the DOAP file, and may be used by multiple DOAP files, since one PMC may manage multiple projects.</li>
</ol>
<p>Note that a basic PMC data file may already be present in the folder 
<a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees/">https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees/</a>
 (this is generally set up when the PMC is created. If your PMC file is missing/incorrect, please ask on the site-dev AT apache DOT org mailing list).</p>
      <section>
        <title>ASF Extensions to DOAP</title>
<p>When looking at using DOAP as our file format, we decided that while it met most of our requirments, there were two areas that it didn't have support for. As it's an extensible format, we defined our own extension to DOAP using the 'asfext' namespace. Document making use of one or both of these extensions should use the following namespace declaration:</p>
<pre>xmlns:asfext="http://projects.apache.org/ns/asfext#"</pre>
<p>The two additions that most projects will need to use are:</p>
<ul>
  <li>Project Management Committee</li>
  <li>Standards</li>
</ul>
<p>Documentation for both is provided in this section, and <a href="../guidelines.html">guidelines</a> for how they should be used can be found in the <a href="../doap.html">DOAP Files section</a> of this website.</p>
      </section>
      <section>
        <title>Projects Internal Name</title>
<p>In order to standardise the naming for creating links within the projects website, the following format is used for the internal name used as the 'id' attribute for files, PMC files included:</p>
<ul>
  <li>lowercase</li>
  <li>'Apache ' is removed from front of name</li>
  <li>spaces are replaced by underscores</li>
</ul>
<p>e.g. The internal name for 'Apache Forrest' is 'forrest'.</p>
      </section>
      <section>
        <title>Site Generation Source Code</title>
<p>The source code for DOAP files and the code to generate and manage this projects.apache.org site are stored separately:</p>
<ul>
  <li><b><a href="https://svn.apache.org/viewvc/infrastructure/site-tools/trunk/projects">https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects</a></b> Source code that generates this website.</li>
  <li><a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml">https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml</a> DOAP files are maintained in project repos, and pointers to them are kept here.</li>
  <li><a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees.xml">https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees.xml</a> Pointers to PMC data files are kept here.</li>
</ul>
      </section>
    </section>
    
  </body>
</document>
