Commit Graph

381 Commits

Author SHA1 Message Date
Ulrich Petri 43038d3150 Added tests for config file loading 2012-11-24 14:53:22 +01:00
Ulrich Petri ba57f104ff Switched config file loading to import lib to allow dotted "paths" to settings modules 2012-11-24 14:53:06 +01:00
Vincent Driessen 5fd85ec754 Merge pull request #149 from jparise/scripts-url-argument
Add a standard --url argument to all scripts.
2012-10-05 23:24:09 -07:00
Jon Parise e90efc254b Use `redis.from_url()` for greater compatibility.
This lets us keep the redis-py version requirement back at 2.4.13.
2012-10-05 11:33:46 -07:00
Jon Parise eb00f69ced Add a standard --url argument to all scripts.
redis-py now supports URL-based connection configuration.  When --url
is specified, we use it to construct the Redis object.  Otherwise, we
use the existing argument-based construction method.

`Redis.from_url()` is new in redis-py 2.6.2, so that prerequisite has
been adjusted accordingly.
2012-10-04 16:57:49 -07:00
Vincent Driessen b97a9df69c Merge pull request #146 from sashka/master
Make rqinfo.py more silent.
2012-09-26 03:02:17 -07:00
Alexander Saltanov 0e638d795b Don't show traceback in rqinfo when ^C is pressed. 2012-09-26 13:43:45 +04:00
Vincent Driessen d80fa53d7e Ugh. Syntax. 2012-09-19 10:21:20 +02:00
Vincent Driessen 11794ccef5 Merge branch 'sburns-no-colorize-notty' 2012-09-19 10:19:34 +02:00
Vincent Driessen 435cbc0f53 Simplify a bit. 2012-09-19 10:19:23 +02:00
Scott Burns 59a01b49f4 Don't colorize non-tty stdout/err 2012-09-14 09:10:30 -05:00
Vincent Driessen 0e825c98ca Remove procname dependency. 2012-09-14 14:48:46 +02:00
Vincent Driessen 9ff5b18ebb Merge branch 'sburns-decorator-ttl' 2012-09-14 09:59:31 +02:00
Vincent Driessen 4e6b19d5ab Bump version number. 2012-09-14 09:59:26 +02:00
Vincent Driessen 5e59c6e28e Rename the const. 2012-09-14 09:56:10 +02:00
Scott Burns 538bbb1b55 Decorator accepts result_ttl argument 2012-09-13 11:07:52 -05:00
Vincent Driessen 221dd8a004 Merge pull request #137 from BuddhaOhneHals/master
Added new job status "Running"
2012-09-07 06:37:34 -07:00
Timo Steidle 881b944283 Changed status "Running" into "started" to be more consistent with the other statuses 2012-09-07 13:31:39 +02:00
Timo Steidle 8787cfbb30 Added new job status "Running" 2012-09-06 14:56:19 +02:00
Vincent Driessen c0df77f84d Support QUEUES as a config setting in settings files. 2012-09-05 13:27:31 +02:00
Vincent Driessen 81270c8e59 Support REDIS_PASSWORD setting in settings. 2012-09-05 13:21:56 +02:00
Vincent Driessen 412d4a15d3 Merge remote-tracking branch 'origin/master' 2012-09-05 08:37:48 +02:00
Vincent Driessen 398890fdc4 Update changelog. 2012-09-05 08:37:40 +02:00
Vincent Driessen 179b7b329d Merge pull request #135 from sburns/worker-password
Expose Redis password to scripts.
2012-09-04 23:36:28 -07:00
Scott Burns c705a2f06a Expose Redis password to scripts
Allow rqworker and rqinfo to connect to
password-protected Redis hosts.
2012-09-04 16:21:14 -05:00
Vincent Driessen 3440e5d52e Update changelog. 2012-09-03 13:56:43 +02:00
Vincent Driessen e0b26758a2 Merge branch 'move-cust-props-to-meta'
This fixes #126.
2012-09-03 12:19:48 +02:00
Vincent Driessen 7ff6ed72da Add backward compat (will be removed in 0.4).
This is to support users that are relying on the current custom property
implementation.  A warning will be displayed on the console, stating
that this support will be removed from RQ version 0.4.
2012-09-03 12:17:01 +02:00
Vincent Driessen 8cb6a21670 Only store custom properties when they're written to the meta dict. 2012-09-03 11:54:40 +02:00
Vincent Driessen 8581cd6463 Don't allow jobs without Redis connection.
And other connection-related fixes.
2012-09-03 08:40:32 +02:00
Vincent Driessen 86dc1e3533 Prepare for next version. 2012-09-03 08:15:47 +02:00
Vincent Driessen f9137311b5 Release version 0.3.2. 2012-09-03 08:13:22 +02:00
Vincent Driessen 2f578a4c2d Avoid dict comprehension for compatibility.
This fixes #128.
2012-09-03 08:08:34 +02:00
Vincent Driessen 59d150f1f8 Merge branch 'obmarg-fix-rqinfo'
This fixes #127. Thanks!
2012-09-03 07:58:22 +02:00
Graeme Coupar 365d1d8226 Fixed argument handling in rqinfo
rqinfo was using None for the redis host and port, which was causing
exceptions when trying to connect.  It was possible to supply these on
the commandline, but port was just being passed straight through as a
string, which also caused exceptions.

This commit moves some of the argument & configuration file handling out
of rqworker and into the scripts/__init__.py file, and then calls it
from rqinfo.
2012-09-03 00:48:52 +01:00
Vincent Driessen 7ece6c7e37 Prepare changelog for next version. 2012-09-02 11:30:45 +02:00
Vincent Driessen db82d5c1b4 Release 0.3.1 2012-08-30 21:37:29 +02:00
Vincent Driessen 1ab8c19696 Revert "Remove logbook and replace it with logging".
This reverts the commit range f367c38..978ba2d.

Issue #121 is currently blocking the 0.3.1 release.
2012-08-30 21:35:44 +02:00
Vincent Driessen a6e57dd7c0 Fix: change import path before importing settings module. 2012-08-29 15:03:14 +02:00
Vincent Driessen a5134c48c8 Add changes. 2012-08-29 14:57:40 +02:00
Vincent Driessen ce1da3f5ca Add support for configuration RQ workers with Sentry with a single flag.
This fixes #122.
2012-08-29 14:52:03 +02:00
Vincent Driessen f7ab216781 Update changelog. 2012-08-29 14:51:26 +02:00
Vincent Driessen 1687633c07 Add support for passing configuration files to rqworker.
This fixes #123.
2012-08-29 14:50:25 +02:00
Vincent Driessen e5eaedeef2 Merge branch 'custom-exc-handling'
This fixes #95.
2012-08-29 13:25:19 +02:00
Vincent Driessen 781f3e0460 Add test for custom exc handling. 2012-08-29 13:21:48 +02:00
Vincent Driessen cd05f6550a Link to docs from within changelog. 2012-08-29 13:11:01 +02:00
Vincent Driessen 9e22847d13 Update changelog. 2012-08-29 13:09:04 +02:00
Vincent Driessen 481369a88d Require at least redis-py version 2.4.
This fixes #106.
2012-08-29 13:06:15 +02:00
Vincent Driessen db80be4ef7 Fix typos. 2012-08-29 12:19:49 +02:00
Vincent Driessen db4ec16be8 Also report job description. 2012-08-29 12:18:26 +02:00