Enhancements
Enhancements
Bug fix
Feature Addition and minor bug fix
Bug fix
Minor bug fixes and documentation changes
Minor bug fixes and documentation changes
All of the changes in this release are related to the website.
The major change in this release is the addition of an alternative run wrapper script called run_with_log. It performs the same functions as the original wrapper, and also creates a log file that captures both STDOUT and STDERR of the job being run. On the website you can now display the log file of any running or completed job, by clicking on the displayed status of the job. The RESTful web service also supports this. A couple of entries have also been added to the HOWTO section of the documentation.
Minor bug fix. An incorrect test job file was shipped in the previous version. This file relied on /bin/bash, and not /bin/sh. This caused test 017 to fail on any machine that did not have /bin/bash. The file has been fixed in this release.
The ordering of jobs displayed by the status command was changed. The status command now accepts a --date option, to view jobs that ran on a previous date. When run for the current day, the status command now also displays all jobs that ran that are not currently in any Family. This handles the case where the jobs are removed from family files intra-day, after running. These jobs are displayed using the newly-supported default_time_zone option.
This release also introduces taskforestd, a perl-only web server that implements a RESTful web service that can be used by programatic clients to access the Taskforest system. The web server also includes a web site that can be used by humans to interact with Taskforest. The web server uses Basic Authentication to authenticate the user, so if you wish to use it outside an intranet, you should use taskforestdssl, the SSL version of the program.
A new config option (and command line argument) was added. The ignore_regex option instructs the system to ignore any Family files whose names match the regular expressions specified by this option. It's primarily used to ignore .bak and ~ files left by text editors. Also fixed a bug so that invalid file names are excluded.
The behavior of recurring jobs that are scheduled in a foreign time zone was not well defined. Now, the 'start' and 'until' of recurring jobs are always based on the most specific timezone of the job.
A border-condition bug dealing with foreign timezones crossing a date boundary was fixed.
Minor errors in the documentation and logging were fixed. A test case that was returing false negatives was made more robust.
Syntax error checking was added to the Family file parser. Optional logging of STDOUT and STDERR is now possible. The mark and rerun commands can now act on just the job specified, or on all its dependents or on both - the job and its dependents. Finally, a config file can now be used in lieu of command-line options or environment variables.
New options are:
A sample config file can be found in the main directory as well as in the pod for TaskForest.
Please see the TaskForest pod for more details: perldoc TaskForest OR man TaskForest
Because of these changes, there are two new dependencies:
Log::Log4perl version 1.16 or higherTwo new scripts were added: 'rerun' schedules A job to be rerun, and 'mark' marks a previously job as Success or Failure. A new 'chained' option was added to the definition of repeat jobs, and a '--collapsed' option was added to the status script.
A couple of the files required for the most recent test case was missing from the distribution. Added those files to the distribution. No code changes are present in this distribution.
A major bug was fixed in this release. Long-running jobs (that ran for longer than the wait time, or longer than the time between two invocations of taskforest) were not recognized as such. This caused the jobs to be marked as 'Ready' and not 'Running', causing them to be run again. All users are urged to upgrade to this release and make sure to use the current version of the 'run' wrapper.
- fixed a bunch of minor bugs - implement --help functionality - added $VERSIONS and pod to every .pm file - got rid of extra call to localtime - removed the default_timezone command line option - got rid of redundant regex match for parens in job name - removed unused variable $forest from Family::readFromFile - renamed $this_jobs_dependencies to $this_jobs_time_dependencies - enhancements - refactored Family::readFromFile into smaller functions - use croak instead of die - Added more detailed info into the pid file - Added more test cases - Made the Family->display() output prettier - Added the StringHandle and StringHandleTier class to make testing easier.
- added more test cases - fixed all known bugs Family::readFromFile makes a Family no longer current Family::readFromFile now accepts both single and double quotes. getLogDir throws an exception if the mkdir fails - Added a DESIGN document
- added a lot more documentation to the man page and the code - gave files svn:keyword properties for Date and Revision- allow '-' within the job_dir, log_dir and family_dir - fixed bug where options weren't being read from the command line properly - added bin files to MANIFEST and fixed test - original version; created by ExtUtils::ModuleMaker 0.51