[31794] trunk/base/portmgr/jobs/PortIndex2MySQL.tcl

jmpp at macports.org jmpp at macports.org
Fri Dec 7 09:08:42 PST 2007


Revision: 31794
          http://trac.macosforge.org/projects/macports/changeset/31794
Author:   jmpp at macports.org
Date:     2007-12-07 09:08:23 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Update some comments on the PortIndex2MySQL script, no functional changes.

Modified Paths:
--------------
    trunk/base/portmgr/jobs/PortIndex2MySQL.tcl

Modified: trunk/base/portmgr/jobs/PortIndex2MySQL.tcl
===================================================================
--- trunk/base/portmgr/jobs/PortIndex2MySQL.tcl	2007-12-07 16:58:52 UTC (rev 31793)
+++ trunk/base/portmgr/jobs/PortIndex2MySQL.tcl	2007-12-07 17:08:23 UTC (rev 31794)
@@ -45,10 +45,10 @@
 # it with 'mportinit' below. Main use of the resulting database is providing live
 # information to the ports.php page, a client tailored to poll it. For this very reason,
 # information fed to the database always has to be kept up to date in order to remain
-# meaningful, which is accomplished simply by calling 'macports::selfupdate' (which
-# updates the ports tree in use) and by installing the script on cron/launchd to be run
-# on a timely schedule (not any more frequent than the run of the mprsyncup script on
-# the MacPorts server, which is every half hour).
+# meaningful, which is accomplished simply by calling the 'mportsync' proc in macports1.0
+# (which updates the ports tree in use) and by installing the script on cron/launchd to be
+# run on a timely schedule (not any more frequent than the run of the PortIndexRegen.sh
+# script on that creates a new PortIndex file, which is every twelve hours).
 #
 # Remaining requirement to successfully run this script is performing the necessary
 # MySQL admin tasks on the host box to create the database in the first place and the
@@ -117,7 +117,10 @@
     terminate 1
 }
 
-# UI instantiation to route information/error messages wherever we want.
+# macports1.0 UI instantiation to route information/error messages wherever we want.
+# This is a custom ui_channels proc because we want to get reported information on
+# channels other than the default stdout/stderr that the macports1.0 API provides,
+# namely a log file we can later mail to people in charge if need be.
 proc ui_channels {priority} {
     global runlog_fd
     switch $priority {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071207/35a3ba87/attachment-0001.html


More information about the macports-changes mailing list