Skip to main content

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.

Jump to: navigation, search

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

m (Updating Build Server)
(Downloads Page)
Line 48: Line 48:
 
  $incubating = array( ... ); // incubating components (everyone starts here)
 
  $incubating = array( ... ); // incubating components (everyone starts here)
  
 +
==Downloads Page==
 +
 +
The '''Build Dependencies''' subsection under each build on your downloads page shows what each requirements were used for each build.
 +
 +
If you would like to provide more information to help your users, you can add a header or footer to the page, similar to  [http://www.eclipse.org/modeling/emf/downloads/?project=emf EMF's "Getting Started" header] or [http://www.eclipse.org/modeling/emf/downloads/?project=validation#footer Validation's "Questions?" footer].
 +
 +
* To enable a header, add a method called [http://dev.eclipse.org/viewcvs/index.cgi/www/modeling/emf/downloads/extras-emf.php?root=Eclipse_Website&view=markup doRequirements()] into <code>www/modeling/$projectName/downloads/extras-$subprojectName.php</code>.
 +
* To enable a footer, add a method called [http://dev.eclipse.org/viewcvs/index.cgi/www/modeling/emf/downloads/extras-validation.php?root=Eclipse_Website&view=markup showNotes()] into <code>www/modeling/$projectName/downloads/extras-$subprojectName.php</code>.
  
 
== Previewing / Testing ==
 
== Previewing / Testing ==

Revision as of 10:19, 14 April 2008

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. You r bug could, for example, be called:

Please add user jcote to group modeling-home for website maintenance

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. Copy these three files over from some other component's build/ folder, then edit _common.php to suit your needs.

build/_common.php (contains shared properties)
build/index.php (to run a build)
build/promo.php (to promote a build)

Adding new dependencies

  • If your build depends on a newer version of a component that is listed, just add the URL in the empty box below the list of already-defined URLs, and your build will use that new one. You can add several at once. You can also add dependencies without actually running a build by first clicking the 'preview build' button on the top-right corner of your build page, then running a "Preview Build". This will not run a build, it will only show you the command that will be run. If you're not sure what all the build options do, this is one way to explore them.

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)

Downloads Page

The Build Dependencies subsection under each build on your downloads page shows what each requirements were used for each build.

If you would like to provide more information to help your users, you can add a header or footer to the page, similar to EMF's "Getting Started" header or Validation's "Questions?" footer.

  • To enable a header, add a method called doRequirements() into www/modeling/$projectName/downloads/extras-$subprojectName.php.
  • To enable a footer, add a method called showNotes() into www/modeling/$projectName/downloads/extras-$subprojectName.php.

Previewing / Testing


Updating Build Server

Once your changes are in CVS, contact your build server admin and point him here. You'll need to provide your static IP or domain name in order to be able to ssh to the build server through its firewall.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.