aboutsummaryrefslogtreecommitdiff
path: root/rpki/irdbd.py
AgeCommit message (Collapse)Author
2016-05-07Oops, TeX-style "--" numeric ranges in copyright comments are bad fitRob Austein
for XML. Apparently we were carefully changing just the XML files to use a single "-" to work around this. Enough already, just convert all copyright year ranges to single "-" and have done with this. svn path=/branches/tk705/; revision=6427
2016-05-07More copyright notices, what fun.Rob Austein
svn path=/branches/tk705/; revision=6426
2016-05-05rootd migration finally working right. I think. Could stand more testing.Rob Austein
svn path=/branches/tk705/; revision=6421
2016-04-26Further consolidation of config file parsing, command line parsing,Rob Austein
and logging setup. Most programs now use the unified mechanism, although there are still a few holdouts: the GUI, which is a special case because it has no command line, and the rpki-rtr program, which, for historical reasons has its own implementation of the logging setup infrastructure. svn path=/branches/tk705/; revision=6390
2016-04-24Add exception handler of last resort to servers, in an attempt to getRob Austein
startup error messages logged properly if at all possible. See #806. svn path=/branches/tk705/; revision=6387
2016-04-03Move more programs to integrated config+argparse framework.Rob Austein
svn path=/branches/tk705/; revision=6346
2015-11-11Configure pylint to use the pylint-django plugin, which (mostly)Rob Austein
understands Django's exotic metaclasses, which in turn allows us to re-enable a number of pylint checks we had disabled. While we were at this, stripped out a bunch of old pylint pragmas, then added back the subset that were really needed. As usual with pylint, this turned up a few real bugs along with an awful lot of noise. svn path=/branches/tk705/; revision=6162
2015-10-26"Any programmer who fails to comply with the standard naming, formatting,Rob Austein
or commenting conventions should be shot. If it so happens that it is inconvenient to shoot him, then he is to be politely requested to recode his program in adherence to the above standard." -- Michael Spier, Digital Equipment Corporation svn path=/branches/tk705/; revision=6152
2015-10-20Change <self/> (etc) to <tenant/> (etc). "self" always was a reallyRob Austein
bad choice for something implemented in Python, holdover from an older specification, but Django ORM's troubles with "self" as a keyword argument were the last straw. Enough already. Backwards compatability should be a straightforward data migration. svn path=/branches/tk705/; revision=6134
2015-10-16PyLint. As usual, a lot of noise and a handful of real, albeit minor, bugs.Rob Austein
svn path=/branches/tk705/; revision=6123
2015-10-09Baby steps towards using new rpkidb models. Now that SAX is gone,Rob Austein
clean up some of the corresponding mess. svn path=/branches/tk705/; revision=6105
2015-10-08Upgrade to new way of doing WSGI. Silence ten zillion deprecationRob Austein
warnings: Django 1.8 has a really obscure way of saying "Please don't import your models into your apps' __init__.py files, thanks." svn path=/branches/tk705/; revision=6101
2015-10-08Initial sorta-mostly-working with Django 1.8. Incredibly noisy due toRob Austein
incomprehensible advance depreciation warnings for Django 1.9. svn path=/branches/tk705/; revision=6100
2015-10-07Discard Django router in favor of separate settings files tailored toRob Austein
particular programs (see #713). svn path=/branches/tk705/; revision=6098
2014-09-19Convert irdbd from SAX to lxml.etree.Rob Austein
svn path=/branches/tk705/; revision=5962
2014-09-19Convert pubd to use Django ORM and lxml.etree.Rob Austein
smoketest temporarily broken as it doesn't know anything about Django. svn path=/branches/tk705/; revision=5961
2014-09-16At this point I'm pretty sure that removing the --config options fromRob Austein
daemons was pointless, so back that out before removing branches/tk713. svn path=/branches/tk705/; revision=5958
2014-09-16Merge changes from branches/tk713 into branches/tk705. See #705, #713.Rob Austein
svn path=/branches/tk705/; revision=5956
2014-09-14Remove --config arguments from all daemons, as part of simplifyingRob Austein
startup procedure. This may be temporary, as processing --help without a configuration file may require deferring all Django imports until late enough that --config would work too. Defer for now. svn path=/branches/tk713/; revision=5953
2014-09-13Groundwork for Django ORM world conquest: sort out settings.py mess.Rob Austein
svn path=/branches/tk713/; revision=5948
2014-08-18Start unwinding unnecessary uses of asynch I/O.Rob Austein
svn path=/branches/tk705/; revision=5920
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29Provide our own logging Formatter class rather than straining toRob Austein
subclass the stock one. Replace all uses of rpki.log.traceback() with logging package .exception() calls. Use LoggingAdapter for all the whacky per-stream logging code in rpki.http. Fix default logging priority for non-daemon programs like rpkic. svn path=/trunk/; revision=5843
2014-05-28Update all uses of rpki.log.traceback() for use with logging module.Rob Austein
svn path=/trunk/; revision=5838
2014-05-28Whack all logging calls to use per-module logger objects.Rob Austein
svn path=/trunk/; revision=5837
2014-05-28Rework logging initialization code.Rob Austein
svn path=/trunk/; revision=5836
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757