Fri, 18 Apr 2014 14:25:36 +0200 [migration] set a cnxset before process_script()
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:25:36 +0200] rev 9686
[migration] set a cnxset before process_script() Not pretty, but I don't have a better idea right now and this at least ensures migration scripts get run in the expected environment and can access sql stuff as before.
Thu, 10 Apr 2014 11:04:13 +0200 [server] make internal_cnx get and keep a connection to the db
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 11:04:13 +0200] rev 9685
[server] make internal_cnx get and keep a connection to the db - internal_session worked that way - it's less surprising for users if their internal connections "just work", rather than having to deal with the cnxset when using low-level APIs Includes a backout of 3f62606c01a2 "[repo] Fix register_user" which is no longer needed. Depend on logilab-database 1.12.1 to avoid errors due to pointless check in python's sqlite3 binding.
Tue, 22 Apr 2014 14:43:11 +0200 [server/session] make commit/rollback obey ensure_cnx_set
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 14:43:11 +0200] rev 9684
[server/session] make commit/rollback obey ensure_cnx_set Inside the ensure_cnx_set context manager, commit and rollback aren't allowed to dispose of the cnxset.
(0) -3000 -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 +3000 tip