Jump to: navigation, search

Difference between revisions of "Modeling Project Releng/Website Maintenance"

m (Site Navigation)
Line 5: Line 5:
 
To edit website copy, check out the web content module from <code>/cvsroot/org.eclipse</code>:
 
To edit website copy, check out the web content module from <code>/cvsroot/org.eclipse</code>:
  
  www/modeling/emft/'''projectName'''
+
  www/modeling/emft/'''componentName'''
  
 
Then look at these files:
 
Then look at these files:
Line 45: Line 45:
  
 
* [http://divby0.blogspot.com/search?q=zend Use PDT to edit and debug PHP pages]
 
* [http://divby0.blogspot.com/search?q=zend Use PDT to edit and debug PHP pages]
 +
 +
=== Updating Build Server ===
 +
 +
Once your changes are in CVS, SSH to your build server and extract them into the web root:
 +
 +
cd /var/www/html/modeling/emft/; cvs up -Pd ''componentName''
 +
cd ''componentName'';
 +
chown -R www * .*; chmod -R g+w * .*
 +
 +
To protect your new build page, copy the .htaccess file from another component into your build folder:
 +
 +
cd /var/www/html/modeling/emft/''componentName''/build/; \
 +
cp /var/www/html/modeling/emft/cdo/build/.htaccess .; \
 +
chmod 664 .htaccess; \
 +
  
  
 
[[Category:Releng]] [[Category:Modeling]]
 
[[Category:Releng]] [[Category:Modeling]]

Revision as of 19:41, 13 November 2007

Homepage Copy

Component owners can edit their own website copy if they are members of the group modeling-home. If they're not they can open a bug, cc: their PMC for approval, and request access from the webmaster.

To edit website copy, check out the web content module from /cvsroot/org.eclipse:

www/modeling/emft/componentName

Then look at these files:

project-info/project-page-paragraph.html (short blurb)
project-info/overview.html (detailed page)

As to what content can be put on the site, look at other Modeling project components for examples:

Note that there's at least a 30-second lag before content appears after committing new files or changes.


Build UI

As above, content lives in /cvsroot/org.eclipse/www/modeling/emft/projectName. See:

build/_common.php 


Site Navigation

So that your component is properly listed and will appear on the homepage, downloads, release notes, be sure to edit your parent project's _projectCommon.php file, eg. /cvsroot/org.eclipse/www/modeling/emft/_projectCommon.php.

Be sure you add yourself to these arrays, as appropriate:

$projects = array( ... );
$cvscoms = array( ... );
$nodownloads = array(); //components with no downloads available yet
$nonewsgroup = array(); //components without newsgroup
$nomailinglist = array(); //components without mailinglist
$incubating = array( ... ); // incubating components (everyone starts here)

Previewing / Testing

Updating Build Server

Once your changes are in CVS, SSH to your build server and extract them into the web root:

cd /var/www/html/modeling/emft/; cvs up -Pd componentName
cd componentName;
chown -R www * .*; chmod -R g+w * .*

To protect your new build page, copy the .htaccess file from another component into your build folder:

cd /var/www/html/modeling/emft/componentName/build/; \
cp /var/www/html/modeling/emft/cdo/build/.htaccess .; \
chmod 664 .htaccess; \