Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Search CVS, Release Notes, Build News"
m (→See Also) |
m (→Restricted Access (Read-Write): update links) |
||
Line 21: | Line 21: | ||
* [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>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:// | + | * 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:// | + | * 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) == |
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.
Contents
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 forif $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:
- Search CVS
- Release Notes
- Build News (see "Build News" sidebar box; also Older build news)
Additionally, the database has been extended to include data for these applications: