dbuscron
13 years agodebian: added python-dbus to dependencies list v1.1.0
Konstantin Stepanov [Sun, 12 Dec 2010 15:38:40 +0000 (17:38 +0200)]
debian: added python-dbus to dependencies list

13 years agoversion correction in debian/changelog
Konstantin Stepanov [Sun, 12 Dec 2010 15:31:56 +0000 (17:31 +0200)]
version correction in debian/changelog

13 years agoMakefile: install example dbuscrontab file into /etc
Konstantin Stepanov [Sun, 12 Dec 2010 15:24:27 +0000 (17:24 +0200)]
Makefile: install example dbuscrontab file into /etc

13 years agoexample dbuscrontab file (kind of README)
Konstantin Stepanov [Sun, 12 Dec 2010 15:22:35 +0000 (17:22 +0200)]
example dbuscrontab file (kind of README)

13 years agodebianization 2: hooks
Konstantin Stepanov [Sun, 12 Dec 2010 15:21:55 +0000 (17:21 +0200)]
debianization 2: hooks

13 years agopython version in Makefile
Konstantin Stepanov [Sun, 12 Dec 2010 14:56:05 +0000 (16:56 +0200)]
python version in Makefile

13 years agoMakefile: .PHONY, cleanup modules only
Konstantin Stepanov [Sun, 12 Dec 2010 14:46:11 +0000 (16:46 +0200)]
Makefile: .PHONY, cleanup modules only

13 years agodebianization
Konstantin Stepanov [Sun, 12 Dec 2010 13:02:19 +0000 (15:02 +0200)]
debianization

13 years agoMakefile: clean target to remove all compiled python files
Konstantin Stepanov [Sun, 12 Dec 2010 12:14:31 +0000 (14:14 +0200)]
Makefile: clean target to remove all compiled python files

13 years agoMakefile to install & uninstall dbuscron added
Konstantin Stepanov [Sun, 12 Dec 2010 12:08:47 +0000 (14:08 +0200)]
Makefile to install & uninstall dbuscron added

13 years agoexample upstart config for dbuscron daemon
Konstantin Stepanov [Sun, 12 Dec 2010 11:42:32 +0000 (13:42 +0200)]
example upstart config for dbuscron daemon

13 years agodbuscrontab: more verbose messages on syntax check action
Konstantin Stepanov [Sun, 12 Dec 2010 11:39:29 +0000 (13:39 +0200)]
dbuscrontab: more verbose messages on syntax check action

13 years agonicer syntax checks in dbuscrontab utility
Konstantin Stepanov [Sun, 12 Dec 2010 11:32:43 +0000 (13:32 +0200)]
nicer syntax checks in dbuscrontab utility

13 years agomore robust syntax checks in crontab parser
Konstantin Stepanov [Sun, 12 Dec 2010 11:22:39 +0000 (13:22 +0200)]
more robust syntax checks in crontab parser

13 years agonew -q flag for dbuscron
Konstantin Stepanov [Sun, 12 Dec 2010 01:14:08 +0000 (03:14 +0200)]
new -q flag for dbuscron

-q is the opposite of -v: the more -q's on command line, the quiter the output.
Also default log level is set to warning.

13 years agodbuscrontab utility: implemented -e/-l/-k actions, syntax checking
Konstantin Stepanov [Sun, 12 Dec 2010 01:05:36 +0000 (03:05 +0200)]
dbuscrontab utility: implemented -e/-l/-k actions, syntax checking

13 years agoCrontabParser raises an exception on syntax error in config file
Konstantin Stepanov [Sun, 12 Dec 2010 01:04:27 +0000 (03:04 +0200)]
CrontabParser raises an exception on syntax error in config file

13 years agodbuscrontab utility script
Konstantin Stepanov [Sun, 12 Dec 2010 00:47:04 +0000 (02:47 +0200)]
dbuscrontab utility script

13 years agounregister dbus match rule in it's destructor
Konstantin Stepanov [Sat, 11 Dec 2010 23:59:02 +0000 (01:59 +0200)]
unregister dbus match rule in it's destructor

13 years agoreload config on sighup
Konstantin Stepanov [Fri, 10 Dec 2010 22:31:38 +0000 (00:31 +0200)]
reload config on sighup

13 years agoCommands.clear() clears commands list
Konstantin Stepanov [Fri, 10 Dec 2010 22:31:08 +0000 (00:31 +0200)]
Commands.clear() clears commands list

13 years agoCommands class is iteratable now
Konstantin Stepanov [Fri, 10 Dec 2010 22:30:43 +0000 (00:30 +0200)]
Commands class is iteratable now

13 years agoDbusRule.unregister() method
Konstantin Stepanov [Fri, 10 Dec 2010 22:30:02 +0000 (00:30 +0200)]
DbusRule.unregister() method

13 years agolog run command if it has errors (result != 0)
Konstantin Stepanov [Mon, 29 Nov 2010 12:19:20 +0000 (14:19 +0200)]
log run command if it has errors (result != 0)

13 years agodbus_to_str() converts dicts & arrays recursively
Konstantin Stepanov [Mon, 29 Nov 2010 12:16:51 +0000 (14:16 +0200)]
dbus_to_str() converts dicts & arrays recursively

13 years agodbus_to_str logs its process
Konstantin Stepanov [Mon, 29 Nov 2010 12:15:24 +0000 (14:15 +0200)]
dbus_to_str logs its process

13 years agoLogger has __call__ == info and accepts multiple values to log
Konstantin Stepanov [Mon, 29 Nov 2010 12:12:45 +0000 (14:12 +0200)]
Logger has __call__ == info and accepts multiple values to log

13 years agoLogger is singleton now, utilize Logger & OptionsParser
Konstantin Stepanov [Sun, 28 Nov 2010 17:29:13 +0000 (19:29 +0200)]
Logger is singleton now, utilize Logger & OptionsParser

13 years agoOptionsParser & Logger is importable from dbuscron
Konstantin Stepanov [Sun, 28 Nov 2010 13:26:56 +0000 (15:26 +0200)]
OptionsParser & Logger is importable from dbuscron

13 years agoargs for OptionsParser defaults to sys.argv
Konstantin Stepanov [Sun, 28 Nov 2010 13:24:26 +0000 (15:24 +0200)]
args for OptionsParser defaults to sys.argv

13 years agologger module added
Konstantin Stepanov [Sun, 28 Nov 2010 12:47:27 +0000 (14:47 +0200)]
logger module added

13 years agoOptionsParser based on getopt added
Konstantin Stepanov [Sun, 28 Nov 2010 11:50:12 +0000 (13:50 +0200)]
OptionsParser based on getopt added

13 years agomore robust dbus data convert on export to env
Konstantin Stepanov [Sat, 27 Nov 2010 14:25:03 +0000 (16:25 +0200)]
more robust dbus data convert on export to env

13 years agoDon't use itertools.product any more
Konstantin Stepanov [Sat, 27 Nov 2010 13:38:05 +0000 (15:38 +0200)]
Don't use itertools.product any more

13 years agoForgotten import v1.0.0
Konstantin Stepanov [Mon, 18 Oct 2010 14:51:39 +0000 (17:51 +0300)]
Forgotten import

13 years agoDon't match unset args
Konstantin Stepanov [Mon, 18 Oct 2010 14:51:09 +0000 (17:51 +0300)]
Don't match unset args

13 years agoMore robust message class to message type name conversion
Konstantin Stepanov [Mon, 18 Oct 2010 07:00:22 +0000 (10:00 +0300)]
More robust message class to message type name conversion

13 years agoRefactored crontab parser: new default values definition
Konstantin Stepanov [Sun, 17 Oct 2010 23:16:57 +0000 (02:16 +0300)]
Refactored crontab parser: new default values definition

13 years agoMessage type field of * means all 4 field types
Konstantin Stepanov [Sun, 17 Oct 2010 20:40:19 +0000 (23:40 +0300)]
Message type field of * means all 4 field types

13 years agoSet DBUS default loop
Konstantin Stepanov [Sun, 17 Oct 2010 20:22:25 +0000 (23:22 +0300)]
Set DBUS default loop

13 years agoRenamed DbusRuleMatcher to DbusRule
Konstantin Stepanov [Sun, 17 Oct 2010 20:20:46 +0000 (23:20 +0300)]
Renamed DbusRuleMatcher to DbusRule

13 years agoInitial commit
Konstantin Stepanov [Sun, 17 Oct 2010 13:18:37 +0000 (16:18 +0300)]
Initial commit