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 "Search CVS, Release Notes, Build News"

(New page: So you want to implement Search CVS, generate your Release Notes from that database, and provide a ticker listing builds released on your homepage? Well, here's how to do that. == Setup ...)
 
m (Restricted Access (Read-Write))
Line 19: Line 19:
 
== Restricted Access (Read-Write) ==
 
== Restricted Access (Read-Write) ==
  
* [http://dev.eclipse.org/viewcvs/indextools.cgi/emf-home/emf-build/scripts/promoteToEclipse.sh?view=markup promoteToEclipse.sh] is used to, among other things, publish the [[http://wiki.eclipse.org/index.php/Eclipse_Build_Available_RSS_Schema | RSS feed]] (look for <code>if [ "$RSS" -eq 1 ]; then</code>) and kick an update of the [[Search CVS]] database (look for <code>if [[ $searchCVS -eq 1 ]]; then</code>). [[Eclipse_Build_Available_RSS_Feeds_Getting_Started | RSS feeds]] are used to generate release information for the Release Notes and Build News.
+
* [http://dev.eclipse.org/viewcvs/indextools.cgi/emf-home/emf-build/scripts/promoteToEclipse.sh?view=markup promoteToEclipse.sh] is used to, among other things, publish the [[Eclipse_Build_Available_RSS_Schema | RSS feed]] (look for <code>if [ "$RSS" -eq 1 ]; then</code>) and kick an update of the [[Search CVS]] database (look for <code>if [[ $searchCVS -eq 1 ]]; then</code>). [[Eclipse_Build_Available_RSS_Feeds_Getting_Started | RSS feeds]] are used to generate release information for the Release Notes and Build News.
  
 
* A web interface to [http://emft.eclipse.org/modeling/build/updateSearchCVS.php kick an update to the database] (as used in the above script). This isn't restricted yet since too many updates don't cause any problems except to slow down those updates.
 
* A web interface to [http://emft.eclipse.org/modeling/build/updateSearchCVS.php kick an update to the database] (as used in the above script). This isn't restricted yet since too many updates don't cause any problems except to slow down those updates.

Revision as of 15:30, 22 October 2007

So you want to implement Search CVS, generate your Release Notes from that database, and provide a ticker listing builds released on your homepage?

Well, here's how to do that.

Setup Search CVS Tool

Read this: http://wiki.eclipse.org/index.php/Search_CVS#Setup

That'll get you a database with search CVS data, but no releases (an empty table). To get Release data, you need to publish RSS feeds for your project(s).

Ensure Regular Updates

The second part is to ensure that updates are done regularly. I've got a cron running that looks like this:

00 04,20 * * * /shared/modeling/searchcvs/parsecvs.sh 2>&1 1> /shared/modeling/searchcvs/parsecvs_cron.log.txt

Updating the entire database takes about two hours for the projects listed in the setup.sh script.

Restricted Access (Read-Write)

  • A web interface to kick an update to the database (as used in the above script). This isn't restricted yet since too many updates don't cause any problems except to slow down those updates.
  • A web interface to allow authorized users to remove a release from the releases table. The removed release must ALSO be removed manually from the RSS feed or it will be added back after the next database refresh. In theory, this tool should never be needed.

Public Web Access (Read-Only)

Accessing the database is done in three ways:

Copyright © Eclipse Foundation, Inc. All Rights Reserved.