Version 1.4: - Added listener.BatchListener to allow for safe queueing of journal entries for later batch processing. - Moved RemoteUpdateDepot into a BatchListener. - Add PendingQueue class to handle new support for a batch-style listener, called a QueuedListener. - Added listener.QueuedListener to support queueing up of requests. - Added Serializer module to better support serializing lots of associated data when the data changes. - Refactored p4util.py to have better support for upgrading to Python 2.4, and unit testing. - Added some unit tests. - Fixed some low-lying bugs. Version 1.3: - Split out scp, rsync, and ssh helpers from cutil.py into RemoteUtil.py, and updated the dependent code to reference the new location. - Added a counter for the number of FATAL log messages recorded. This allows for the Journal loop to stop processing when a listener encounters a fatal error which requires user intervention. This is useful for when, say, the hot backup listener can't connect to the remote machine, but isn't useful when an e-mail notifier can't connect to an SMTP server. - Added a Setup.py parameter "DIE_ON_FATAL_ERROR" which, if True, will stop the listener loop if a fatal logging message was encountered. - listener.py supports pre-loop execution for listeners. The Listener interface now adds the method "onStartup", which is called after construction of all the listeners, but before the looping over poll responses begins. Fatal errors encountered during this step will terminate the poll before it begins. - listener.py now will stop looping if Setup.DIE_ON_FATAL_ERROR is True and a fatal logging message was encountered. - Added the ability to pull the last remote checkpoint restore number from a Perforce counter. - Added to p4util.py the "getCounters" and "getCounter" methods. - Fixed a minor bug in the p4util.py, which left dangling open file descriptors after completing a command. - Added index.html as an initial attempt at making better documentation. Version 1.2: - Added to Setup.py.template a P4CMD array which allows for passing in specific configuration data to the command. - Minor bug fix to cutil.py where closing the connection to the e-mail server used the wrong variable name. - Major changes to p4util.py. Uses the P4CMD parameter now to construct the command-line arguments. Also, due to differences in the output of "p4 -s print" across different Perforce client versions, the command invocation has changed to use the much more reliable -G argument. Version 1.1: - Added implementation to metadatasync, which allows for submitting files which will be pushed into the Perforce meta-data. Currently only supports updating Groups. - Log entries can now be e-mailed based on the log level. By default, FATAL and ERR level log messages are e-mailed. The same code can be reused by other listeners to help with sending e-mail messages. - Added better error trapping. Now, listeners that cause errors will not cancel any later listeners from acting on a journal entry. Version 1.0: - Initial release
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 5850 | Matt Albrecht | Update logDaemon to version 1.5. | ||
#4 | 5810 | Matt Albrecht |
New version of logDaemon that has better bug fixes. Also added server-status web page for a pure client-side AJAX app that pulls together different server-side statistics. |
||
#3 | 5805 | Matt Albrecht | Update to version 1.3-alpha | ||
#2 | 5788 | Matt Albrecht | Bug fixes to the logDaemon, bumping the version number to 1.2 | ||
#1 | 5780 | Matt Albrecht | Update tool with lots of goodies |