Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jan 2014 13:47:28 +0100] rev 9469
[multi-sources-removal] Drop entities.source column
Since we remove federated multi-sources support, the same value ('system')
is always stored in this column and so could be removed. Also, cleanup
repository caches and a few api where the very same useless information could
be removed.
Closes #2919300, at last
[jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 12:32:16 +0100] rev 9468
[repo] pylint cleanup, mainly of imports, with a bit of style
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Jul 2013 16:13:17 +0200] rev 9467
[multi-sources-removal] Drop no more used federated ('true') multi-sources related code
Related to #2919300 (almost done!)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:50:03 +0100] rev 9466
[multi-sources-removal] Turn ConnectionsSet into simpler ConnectionWrapper
also, SqliteConnectionWrapper becomes a subclass. This is allowed since
now ConnectionsSet responsability has been reduced to handling the system
source only.
This changeset also:
* drops useless cnxset_set / check_connection api
* deprecates former .source / .connection / container api
but it renames neither the session's cnxset attribute, nor the related
repository method.
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 09:18:39 +0200] rev 9465
[multi-sources-removal] Drop cnxset_freed from source interface
Though a hack is still needed when using sqlite
Related to #2919300
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 15:35:13 +0100] rev 9464
[cnxset] add backwards compat for cnxset.source_cnxs
It's used at least in a vcsfile migration script.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:49:32 +0100] rev 9463
[multi-sources-removal] Simplify ConnectionsSet internal structures and public methods
since it now handles a connection to the system source only
Related to #2919300
[jcr: adjust 3.17.11 migration, fix a number of bugs in new
ConnectionsSet implementation, fix
source.{open,close}_source_connections]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:52:15 +0200] rev 9462
[ldap] simplify connection handling
since we deleted ldapuser source, we don't need anymore the get_connection and
ConnectionWrapper stuff (that was used to put the ldap connection into the cnxset).
Also, we should simply let connection errors propagate so this is properly reported
to import logs.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:46:16 +0200] rev 9461
[ldap] merge cw.server.ldaputils back into ldapfeed source
we don't need separated modules since ldapuser source has been removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 17:07:34 +0200] rev 9460
[config] cleanup/refactor server sources file values handling
* kill former `sources` method, misnamed since we've only the system source
configuration in the sources file (and some default admin account information)
* introduce new system_source_config and default_admin_config properties to
access to the two information in this file
Then use one or the other when appropriate
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 12:14:56 +0100] rev 9459
[repoapi] drop get_option_value's foreid argument
repoapi was introduced in 3.19, so no need to introduce legacy
deprecated stuff at the same time.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 17:53:44 +0200] rev 9458
[multi-sources-removal] Drop foreid argument of repo.get_option_value
It doesn't need it anymore.
Related to #2919300