summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthijs Kooijman [Mon, 26 Jul 2010 17:04:03 +0000 (19:04 +0200)]
config: Restructure config loading to allow defaults.
Handlers now load their own configuration files, so they can pass
default configuration values. This also allows for more complicated
configuration loading in handlers by overriding the load_config method.
Matthijs Kooijman [Mon, 26 Jul 2010 16:50:28 +0000 (18:50 +0200)]
config: Remove unused variables.
These variables got unused in commit:
b99a9b8 Add commandline options for configuration files.
Matthijs Kooijman [Thu, 10 Jun 2010 13:35:49 +0000 (15:35 +0200)]
actions: Print a traceback on failed actions in debug mode.
Matthijs Kooijman [Thu, 10 Jun 2010 13:13:44 +0000 (15:13 +0200)]
config: Check action config filenames more strictly.
Previously, the filename was split at the first dot, now it can only
contain just one dot. Also fix the error message to actually include the
faulty filename.
Matthijs Kooijman [Thu, 10 Jun 2010 13:12:06 +0000 (15:12 +0200)]
config: Skip action configs starting with a dot.
This prevents hidden files (like vim swapfiles) from being treated as a
config file.
Matthijs Kooijman [Thu, 10 Jun 2010 12:23:20 +0000 (14:23 +0200)]
main: Add --test option for a dry run.
Matthijs Kooijman [Thu, 10 Jun 2010 12:21:19 +0000 (14:21 +0200)]
handlers: Add **kwargs to Handler methods.
This allows for easy addition of extra parameters later on.
Matthijs Kooijman [Thu, 10 Jun 2010 07:11:32 +0000 (09:11 +0200)]
misc: Add some extra info and debug statements.
Matthijs Kooijman [Thu, 10 Jun 2010 07:10:55 +0000 (09:10 +0200)]
main: Add --debug option to increase verbosity.
Matthijs Kooijman [Thu, 10 Jun 2010 07:00:01 +0000 (09:00 +0200)]
Add commandline options for configuration files.
Matthijs Kooijman [Thu, 10 Jun 2010 06:54:42 +0000 (08:54 +0200)]
actions: Handle OSErrors when listing action configs.
Matthijs Kooijman [Thu, 10 Jun 2010 06:28:38 +0000 (08:28 +0200)]
actions: Handle exceptions thrown by create_handler.
Matthijs Kooijman [Thu, 10 Jun 2010 06:28:26 +0000 (08:28 +0200)]
handlers: Make create_handler throw exceptions on errors.
Matthijs Kooijman [Thu, 10 Jun 2010 06:26:07 +0000 (08:26 +0200)]
actions: Sort actions before running them.
Matthijs Kooijman [Thu, 10 Jun 2010 06:18:29 +0000 (08:18 +0200)]
actions: Catch and log exceptions when running handlers.
Matthijs Kooijman [Thu, 10 Jun 2010 06:07:44 +0000 (08:07 +0200)]
test: Log at INFO instead of ERROR.
Matthijs Kooijman [Thu, 10 Jun 2010 06:07:08 +0000 (08:07 +0200)]
log: Set default logging level to INFO.
Matthijs Kooijman [Mon, 17 May 2010 17:05:24 +0000 (19:05 +0200)]
handlers: Add a .test handler.
This is a very simple Hello, world handler, which simply logs a
configurable message.
Matthijs Kooijman [Mon, 17 May 2010 17:04:42 +0000 (19:04 +0200)]
main: Make the backupninja script run all actions.
Matthijs Kooijman [Mon, 17 May 2010 17:04:28 +0000 (19:04 +0200)]
main: Add action loading and running infrastructure.
Matthijs Kooijman [Mon, 17 May 2010 17:01:36 +0000 (19:01 +0200)]
misc: Make git ignore .pyc files.
Matthijs Kooijman [Tue, 11 May 2010 19:18:13 +0000 (21:18 +0200)]
main: Add backupninja.handlers package.
Matthijs Kooijman [Tue, 11 May 2010 19:06:56 +0000 (21:06 +0200)]
main: Add configuration infrastructure.
Matthijs Kooijman [Tue, 11 May 2010 19:06:16 +0000 (21:06 +0200)]
main: Add logging infrastructure.
Matthijs Kooijman [Tue, 11 May 2010 19:17:35 +0000 (21:17 +0200)]
main: Add "backupninja" package.
Matthijs Kooijman [Wed, 5 May 2010 16:46:15 +0000 (18:46 +0200)]
main: Add (nearly empty) initial script.