Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-27 | moved log msg about script's normal shutdown from BaseScript to DataMaintainer | martinko | |
I think this could be useful to others but it's got to move until a better solution is figured out. | |||
2014-04-09 | moved psycopg2 reference from scripting module to actual script using it | martinko | |
2014-02-18 | scripts/data_maintainer.py: fixed to survive null in stats column of sql_modify | martinko | |
2014-01-28 | cleaned up, even more robust, added logging, feature inactive by default | martinko | |
2014-01-28 | made more robust, returns retry count and valid cursor | martinko | |
2014-01-28 | simple retriable execute (for sql) | martinko | |
the idea is that db calls occasionally break due to transient issues and we’d rather have the calls retried before raising exceptions etc | |||
2013-12-18 | scripts/data_maintainer.py: fixes | martinko | |
2013-12-17 | scripts/data_maintainer.py: latest code cleanup | martinko | |
2013-12-01 | DataMaintainer can use csv file as source. | Petr Jelinek | |
2013-10-07 | scripts/data_maintainer.py: cleaned up | martinko | |
2013-10-03 | scripts/data_maintainer.py: added dynamic throttling support (via sql) | martinko | |
2013-10-02 | scripts/data_maintainer.py: clean-up | martinko | |
2013-09-18 | Get rid of dictfetch*() usage, it's obsolete. | Marko Kreen | |
2013-07-02 | Add consumer_filter option to simple_local_consumer. | Petr Jelinek | |
2013-06-19 | Merge remote-tracking branch 'gamato/develop' | Marko Kreen | |
2013-04-18 | scripts/data_maintainer.py: added suffix "3" to service name | martinko | |
2013-04-17 | grantfu: 2-pass processing | Marko Kreen | |
First revokes, then grants. This supports one-object-in-several-sections situation. Although that is bad style and better avoided, current behavour results in unobvious breakage. | |||
2013-03-04 | data_maintainer: better way to handle .looping and .loop_delay | Marko Kreen | |
2013-03-04 | scripts/data_maintainer.py: fixes | martinko | |
2013-02-28 | scripts: sweeping change to postpone log string formatting | martinko | |
2013-02-28 | scripts/data_maintainer.py: updated | martinko | |
2013-02-28 | scripts/data_maintainer.py: imported from skytools 2.0 | martinko | |
2013-02-27 | Merge branch 'master' of https://github.com/markokr/skytools | martinko | |
2013-02-27 | scripts: fixed shebang line | martinko | |
2013-01-29 | scriptmgr: fix copy-paste error in full_path | Marko Kreen | |
2013-01-25 | skytools_upgrae: make force option work properly | Tarvi Pillessaar | |
2013-01-23 | skytools_upgrade: add force option | Tarvi Pillessaar | |
2013-01-21 | scriptmgr: give -nH args to sudo | Marko Kreen | |
2013-01-20 | scriptmgr: fix ~ expansion | Marko Kreen | |
2013-01-18 | scriptmgr: user= support | Marko Kreen | |
Daemon sections can now have user= option. It makes scriptmgr launch (and kill) daemons with sudo -u $user. | |||
2012-09-12 | scripts: changed queue_mover and queue_splitter service_name | Tarvi Pillessaar | |
2012-07-26 | scripts/skytools_upgrade.py: added "dry run" option and updated manual page | martinko | |
--not-really:: Don't actually do anything. | |||
2012-07-25 | scripts/scriptmgr.py: status command can optionally be more selective | martinko | |
2012-07-24 | scripts/scriptmgr.py: added option for specifying service type | martinko | |
-t SVC, --type=SVC apply command to all jobs of this service type | |||
2012-07-18 | find_sql_functions: grep sql function signatures. | Marko Kreen | |
Dumb parser, but works on skytools modules. | |||
2012-07-18 | simple_consumer: sync with simple_local_consumer changes | Marko Kreen | |
2012-07-18 | simple_local_consumer: function caller based on LocalConsumer | Marko Kreen | |
Consumer that runs a SQL for each event. | |||
2012-05-17 | skytools_upgrade: fix special cases | Marko Kreen | |
2012-05-15 | skytools_upgrade: show old version before upgrade | Marko Kreen | |
2012-05-10 | Include simple_consumer script | Marko Kreen | |
Quick event processing by simply launching SQL query for each event. Forward-ported-by: Juta Vaks | |||
2012-05-10 | Group-access roles for SQL functions (draft) | Marko Kreen | |
This is attempt for fine-grained access rights for all Skytools SQL schemas. As it still needs review, the rights are not activated by default, instead following sql files are generated: newgrants_<schema>.sql - applies new rights, drop old public access oldgrants_<schema>.sql - restores old rights - public execute privilege to all functions Only thing that is active by default is creation of new groups in upgrade functions. New access roles: pgq_reader Can consume queues (source-side) pgq_writer Can write into queues (source-side / dest-side) Can use pgq_node/pgq_ext schema as regular consumer (dest-side) pgq_admin Admin operations on queues, required for CascadedWorker on dest-side. Member of pgq_reader and pgq_writer. londiste_reader Member of pgq_reader, needs additional read access to tables. (source-side) londiste_writer Member of pgq_admin, needs additional write access to tables. (dest-side) | |||
2011-11-29 | sql upgrade cleanup | Marko Kreen | |
- use 'structure/upgrade.sql' to generate X.upgrade.sql - add pgq_ext to upgraded schemas - move non-standard upgrade scripts to extra/ - setup_skytools: build sql files in 'build' target, not always - pgq_ext.version: bump ver to 3.0.0.1 | |||
2011-11-29 | skytools_upgrade: if schema too old, stop touching it | Marko Kreen | |
2011-11-25 | skytools_upgrade: support 3.0-upgrades, walk databases | Marko Kreen | |
2011-11-08 | scripts/scriptmgr.py: added --wait option | martinko | |
The new option will make ScriptMgr to wait for all jobs to finish their processing. This applies to both "stop" and "restart" commands. Btw, restarting should be (much) faster now. | |||
2011-11-08 | scriptmgr.py: fix small logging bug | martinko | |
2011-09-07 | scripts/scriptmgr.py: ignoring stale pid files when starting scripts | martinko | |
2010-08-31 | scripts/: conform with new -ini standard. | Marko Kreen | |
Each script should define only its own config vars. | |||
2009-11-04 | skytools_upgrade: add missing import | Marko Kreen | |
2009-06-07 | pkgloader module to be able to coexist with 2.x | Marko Kreen | |
Use scheme that pygtk uses to support parallel installations: import pkgloader pkgloader.require('skytools', '3.0') import skytools This will allow keeping old module installed by default and new version is used only by request. |