server/test/data/sources_extern
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 18 Feb 2014 17:58:45 +0100
changeset 9556 12ee310541bb
parent 6427 c8a5ac2d1eaa
permissions -rw-r--r--
[server/migractions] finish migration to repoapi objects Changeset 241b1232ed7f (Use repoapi instead of dbapi for cwctl shell, upgrade and db-init) only did half of the job. It left the migration handler with both a session (cubicweb.server.session.Session) and a cnx (cubicweb.repoapi.ClientConnection) attribute with different ideas of what Connection they were talking to. With this change, we: - make the caller responsible of disabling security on the Connection if it wants to - turn mih.session into an actual attribute, set on __init__ - same for cnx (the client connection) - drop the "lazy connection" logic, and establish the connection up-front - always go through the connection instead of the session when we need to talk to the db
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
364
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
[system]
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
db-driver   = sqlite
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
db-name     = tmpdb-extern
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
db-encoding = UTF-8