Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-18 | Removed references and support for beanstalkd. | Steve Kemp | |
The beanstalkd queue used to be used in the past, and we later added support for Redis via a simple abstraction layer. But now we've no longer tested and used beanstalkd for over a year, and the client-libraries are no longer available as native Debian packages. With that in mind we've excised the code, although left the abstraction-class in-place. | |||
2015-08-25 | Force default encoding to be UTF-8. | Steve Kemp | |
This shouldn't be required, but adding it is harmless and indicates our intent cleanly. | |||
2015-03-09 | Moved usage-information to foot of script. | Steve Kemp | |
This removes the nasty self-parsing of the script to generate the help/manual output. I've also removed global-variables and made the code almost-100% warning free. | |||
2015-03-09 | Remove spaces inside blocks. | Steve Kemp | |
2015-03-09 | More minor space fixups | Steve Kemp | |
2015-03-09 | Whitespace fixups. | Steve Kemp | |
These were all identified and suggested by rubocop. | |||
2015-03-09 | Removed spaces inside parenthesis. | Steve Kemp | |
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Do not use parentheses for method calls with no arguments. | Steve Kemp | |
This is neater. Flagged by rubocop | |||
2015-03-09 | Avoid redundent ".to_s" methods. | Steve Kemp | |
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic. | |||
2015-03-09 | Use long-names | Steve Kemp | |
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop | |||
2015-02-05 | Fixed punctuation on comment | Steve Kemp | |
2015-02-04 | Hint to ruby that rubygems should be loaded. | Steve Kemp | |
This allows our redis-library to be used. | |||
2015-01-21 | Don't hard-wire redis as the queue-type. | Steve Kemp | |
Read it from the configuration-file and don't expose the server flag which is now bogus. | |||
2015-01-19 | Updated to use our queue-abstraction. | Steve Kemp | |
This means we can queue/dequeue to either Redis or Beanstalkd. | |||
2015-01-13 | Updated to include search-path. | Steve Kemp | |
This is a temporary fix for local-testing. | |||
2015-01-13 | Avoid hard-wiring 1.8 ruby | Steve Kemp | |
2013-05-21 | Ensure that jobs last for 300 seconds, rather than the default of 120. | Steve Kemp | |
This allows job.reserve() to keep a job for a "long" time. | |||
2013-04-23 | Allow --queue to specify the beanstalkd tube. | Steve Kemp | |
2012-12-06 | Added script to report on parse failures. | Steve Kemp | |
2012-11-26 | Explicitly watch a "tube" - a named queue - to avoid stomping on | Steve Kemp | |
anything else running under beanstalkd. | |||
2012-11-25 | Removed references to sentinel. | Steve Kemp | |
2012-11-24 | Remove the --timeout parameter. | Steve Kemp | |
Abort if parsing fails. | |||
2012-11-23 | We no longer refer to JSON. | Steve Kemp | |
2012-11-23 | Read the server address:port from the settings object. Along with the ↵ | Steve Kemp | |
filename if appropriate for logging. | |||
2012-11-23 | Updated the API for the parser to split parse_file into parse_lines. | Steve Kemp | |
2012-11-22 | Updated to rename the class. | Steve Kemp | |
2012-11-22 | Parse the configuration file into arrays of jobs, via our test-factory | Steve Kemp | |
2012-11-21 | Decouple the enqueuing from the parsing. | Steve Kemp | |
2012-11-20 | Updated case statements for ruby1.9 | Steve Kemp | |
2012-11-20 | Updated name of the script in the detail of the hearbeat alert. | Steve Kemp | |
Remove <tt>..</tt> since mauve will strip them out. | |||
2012-11-15 | Added --test flag | Steve Kemp | |
2012-11-14 | Send a heartbeat on the enqueuer so that we abort if there are no additions. | Steve Kemp | |
2012-11-14 | Moved parser code into its own file, and updated main script + test suite ↵ | Steve Kemp | |
to use it. | |||
2012-11-14 | Use our global-timeout value when pulling macro definitions. | Steve Kemp | |
2012-11-14 | Cope with macros with numerals in their names. | Steve Kemp | |
2012-11-14 | Define macros correctly when only one host is present. | Steve Kemp | |
2012-11-14 | Allow --timeout to specify the timeout period. | Steve Kemp | |
2012-11-14 | Set a timeout | Steve Kemp | |
2012-11-14 | Allow "must run xxx." - with no trailing whitespace | Steve Kemp | |
2012-11-13 | Be explicit that nil lines are OK. | Steve Kemp | |
2012-11-13 | When adding a new test return to the caller the JSON values we added - as ↵ | Steve Kemp | |
an array | |||
2012-11-13 | Updated to remove the duplication involving our ping-tests. | Steve Kemp | |
2012-11-13 | Added --help/--manual flags | Steve Kemp | |
2012-11-13 | Remove the newline from lines prior to parsing. | Steve Kemp | |
2012-11-13 | Updated comments. Simplified argument testing in the constructor | Steve Kemp | |
2012-11-13 | HTTP-fetching of macros works. | Steve Kemp | |
2012-11-13 | Parse the extra values required for a sensible DNS client. | Steve Kemp | |
2012-11-13 | Use ruby1.8 explicitly | Steve Kemp | |