Skip to main content
Jump to: navigation, search

Difference between revisions of "Search CVS, Release Notes, Build News"

m (Restricted Access (Read-Write): update links)
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 [[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><nowiki>if [[ $searchCVS -eq 1 ]]; then</nowiki></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://build.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://build.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.

Latest revision as of 11:23, 25 July 2008

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: Search CVS Setup. You might also like the database schema.

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)

  • promoteToEclipse.sh is used to, among other things, publish the RSS feed (look for if [ "$RSS" -eq 1 ]; then) and kick an update of the Search CVS database (look for if [[ $searchCVS -eq 1 ]]; then). RSS feeds are used to generate release information for the Release Notes and Build News.
  • 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 several ways:

Additionally, the database has been extended to include data for these applications:

See Also

Back to the top