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"

m (Public Web Access (Read-Only))
m (Restricted Access (Read-Write))
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Setup Search CVS Tool ==
 
== Setup Search CVS Tool ==
  
Read this: http://wiki.eclipse.org/index.php/Search_CVS#Setup
+
Read this: [[Search_CVS#Setup|Search CVS Setup]]. You might also like [http://build.eclipse.org/modeling/build/schema.php 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 [[Eclipse_Build_Available_RSS_Feeds_Getting_Started | RSS feeds]] for your project(s).
 
That'll get you a database with search CVS data, but no releases (an empty table). To get Release data, you need to publish [[Eclipse_Build_Available_RSS_Feeds_Getting_Started | RSS feeds]] for your project(s).
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://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://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 allow authorized users to [http://emft.eclipse.org/modeling/mdt/build/removeRelease.php 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.
+
* A web interface to allow authorized users to [http://build.eclipse.org/modeling/mdt/build/removeRelease.php 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) ==
 
== Public Web Access (Read-Only) ==
Line 37: Line 37:
 
* [http://www.eclipse.org/modeling/emf/downloads/stats.php Download Stats]
 
* [http://www.eclipse.org/modeling/emf/downloads/stats.php Download Stats]
 
* [http://www.eclipse.org/modeling/team/ Meet The Modeling Team]
 
* [http://www.eclipse.org/modeling/team/ Meet The Modeling Team]
 +
 +
== See Also ==
 +
 +
* [[Search CVS]]
 +
* [http://build.eclipse.org/modeling/build/schema.php Modeling database schema]
  
 
[[Category:Releng]]
 
[[Category:Releng]]
 
[[Category:RSS]]
 
[[Category:RSS]]
 
[[Category:Modeling]]
 
[[Category:Modeling]]

Latest revision as of 12: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