Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Modeling Project Releng/Website Maintenance"
m |
|||
Line 1: | Line 1: | ||
− | + | ==Homepage Copy== | |
Component owners can edit their own website copy if they are members of the group '''<code>modeling-home</code>'''. If they're not they can open a [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=community&component=CVS bug], cc: their PMC for approval, and request access from the webmaster. | Component owners can edit their own website copy if they are members of the group '''<code>modeling-home</code>'''. If they're not they can open a [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=community&component=CVS bug], cc: their PMC for approval, and request access from the webmaster. | ||
Line 20: | Line 20: | ||
− | + | ==Build UI== | |
As above, content lives in <code>/cvsroot/org.eclipse/www/modeling/emft/'''projectName'''</code>. See: | As above, content lives in <code>/cvsroot/org.eclipse/www/modeling/emft/'''projectName'''</code>. See: | ||
Line 27: | Line 27: | ||
− | + | ==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 <code>_projectCommon.php</code> file, eg. <code>/cvsroot/org.eclipse/www/modeling/emft/_projectCommon.php</code>. | So that your component is properly listed and will appear on the homepage, downloads, release notes, be sure to edit your parent project's <code>_projectCommon.php</code> file, eg. <code>/cvsroot/org.eclipse/www/modeling/emft/_projectCommon.php</code>. | ||
Line 40: | Line 40: | ||
$incubating = array( ... ); // incubating components (everyone starts here) | $incubating = array( ... ); // incubating components (everyone starts here) | ||
− | + | ||
+ | == Previewing / Testing == | ||
* [[Eclipse_Server_Sandbox_Setup | Set up a local mirror of www.eclipse.org]] | * [[Eclipse_Server_Sandbox_Setup | Set up a local mirror of www.eclipse.org]] | ||
Line 46: | Line 47: | ||
* [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: | Once your changes are in CVS, SSH to your build server and extract them into the web root: | ||
Line 59: | Line 61: | ||
cp /var/www/html/modeling/emft/cdo/build/.htaccess .; \ | cp /var/www/html/modeling/emft/cdo/build/.htaccess .; \ | ||
chmod 664 .htaccess; \ | chmod 664 .htaccess; \ | ||
− | |||
[[Category:Releng]] [[Category:Modeling]] | [[Category:Releng]] [[Category:Modeling]] |
Revision as of 20:41, 13 November 2007
Contents
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:
- http://www.eclipse.org/modeling/emft/?project=compare#compare
- http://www.eclipse.org/modeling/emft/?project=search#search
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
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; \