Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-29 | Merge branch 'master' of https://github.com/markokr/skytools into hotfix/3.2.5 | martinko | |
2014-10-27 | parse_iso_timestamp: handle Z properly | Marko Kreen | |
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-10-06 | skytools.scripting: minor touch | martinko | |
2014-07-31 | BaseScript: added log msg about script's normal shutdown | martinko | |
2014-04-09 | moved psycopg2 reference from scripting module to actual script using it | martinko | |
2014-04-09 | skytools.scripting: moved psycopg2 import where it belongs | martinko | |
2014-04-08 | skytools.timeutil: fixed for Python versions less than 2.7 | martinko | |
2014-02-20 | Merge branch 'master' of https://github.com/markokr/skytools into develop | martinko | |
2014-02-04 | quote sequence names | Andrew Sackville-West | |
fixes a bug where _load_elem fails on sequences in schemas that start with non-alpha characters. | |||
2014-02-03 | Merge branch 'master' of https://github.com/markokr/skytools into develop | martinko | |
Conflicts: debian/changelog | |||
2014-01-30 | skytools.scripting: allow to specify exception(s) to suppress for a grace period | martinko | |
It is possible to provide a list of exception names, or reserved keyword “ALL”. | |||
2014-01-28 | skytools.scripting: added options to lower log level for exceptions | martinko | |
The idea is to suppress error level log messages for a grace period in order not to pollute logs with transient errors that nobody would act upon. | |||
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 | another iteration from past | 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-11-06 | set_tcp_keepalive: simplify, enable win32 | Marko Kreen | |
The code got messy, clean it up. Also, seems like Python 2.7+ support SIO_KEEPALIVE_VALS, enable it's usage. | |||
2013-11-05 | skytools.set_tcp_keepalive: add compat with newer OSX | Marko Kreen | |
Newer OSX has Linux-style TCP_KEEPIDLE/TCP_KEEPCNT socket options, but TCP_KEEPIDLE is missing, instead it has old well-hidden TCP_KEEPALIVE option. So it branches into Linux section and fails there. This patch detects every Linux option separately and uses TCP_KEEPALIVE instead TCP_KEEPIDLE on Darwin. It does expect that Python is compiled against current OSX versions, and headers match running kernel. So if option is defined in 'socket' module, it works. Reported-by: Rob Fowler | |||
2013-09-18 | Get rid of dictfetch*() usage, it's obsolete. | Marko Kreen | |
2013-07-10 | Merge branch 'master' of https://github.com/markokr/skytools into develop | martinko | |
2013-07-10 | Merge branch 'feature/skylog_tnetstrings_via_udp' into develop | martinko | |
2013-06-21 | set_tcp_keepalive: accept socket object directly | Marko Kreen | |
2013-06-19 | Merge remote-tracking branch 'gamato/develop' | Marko Kreen | |
2013-05-26 | querybuilder: show list of missing arguments on KeyError | Marko Kreen | |
2013-04-30 | skytools.timeutil: make tests more robust | Marko Kreen | |
microsec -> float secs conversion can lose some precision | |||
2013-04-30 | skytools.skylog: added more fields to UdpTNetStringsHandler log message | martinko | |
2013-04-30 | skytools.skylog: moved hostaddr resolving to module init | martinko | |
No need to do it per log call as hostname is constant currently. | |||
2013-04-24 | skytools.scripting: more safety in run_func_safely() | martinko | |
Scenario resolved: startup() fails and some variables are never initialised. those are used in overridden send_stats() which is called from generic exception handler in run_func_safely(). thus a new exception is raised that would obscure the original exception raised in startup(). | |||
2013-04-18 | skytools.skylog: initial implementation of UdpTNetStringsHandler | martinko | |
2013-04-17 | parse_pgarray: allow None | Marko Kreen | |
2013-04-15 | python: text fixes | martinko | |
2013-03-23 | timeutil.datetime_to_timestamp: new function | Marko Kreen | |
converts datetime() to posix timestamp. | |||
2013-03-22 | DBScript.add_connect_string_profile: single place for profile logic | Marko Kreen | |
2013-03-22 | londiste: connection profiles | Marko Kreen | |
Way to add extra connect string parameters for non-config connection strings (public node locations). | |||
2013-03-20 | adminscripts: make info commands not use pidfile | Marko Kreen | |
otherwise they conflict with change operations. | |||
2013-03-04 | loop_delay: let class variable set default | Marko Kreen | |
This way it's easier to change default in subclass. | |||
2013-03-01 | Parse & merge Postgres connect strings | Marko Kreen | |
2013-02-20 | skytools.quoting: add more keywords | Marko Kreen | |
Automatically compare pg-git kwlist.h with our list. New words: cross current_catalog current_schema fetch freeze full ilike inner is isnull join lateral left like natural notnull outer over overlaps right similar variadic verbose window with | |||
2013-02-20 | Merge pull request #23 from ↵ | Marko Kreen | |
reinteractive-open/146bdc280056fcc4cd9bc0385601f03c8c62e01d adding 'authorizations' as a keyword | |||
2013-02-13 | noise | martinko | |
2013-01-25 | skytools.Config: fix the case if filename is missing | Tarvi Pillessaar | |
2013-01-15 | Added pg keyword 'authorization' | Glenn Davy | |
2013-01-14 | skytools.Config: New default variables. | Marko Kreen | |
config_dir - directory where config is located at config_file - config file itself. | |||
2013-01-14 | BaseScript: skylog_locations config options | Marko Kreen | |
This allows to specify per-script skylog.ini | |||
2013-01-10 | Fix basescript docstring | Marko Kreen | |
2012-12-31 | Merge remote-tracking branch 'remotes/marko-github/master' | Tarvi Pillessaar | |
2012-12-20 | noise | martinko | |
2012-12-20 | Clean hashtext.py imports | Marko Kreen | |
2012-12-20 | Merge remote-tracking branch 'petr/master' | Marko Kreen | |