- 14 Mar, 2019 1 commit
-
-
Denis Laxalde authored
We actually drop *most* of deprecated code in this subpackage. What's left is the MetaGenerator class in (cubicweb/dataimport/stores.py) which is tricky to remove as it's still internally used by cubicweb. Changelog entry will come in a later changeset.
-
- 10 Mar, 2017 1 commit
-
-
Sylvain Thénault authored
it's not actually necessary but holds underlying _sessions dict handling. Drop backward compat relying on it (which IMO should not be a problem). Drop import of unused QueryError along the way.
-
- 09 Nov, 2016 1 commit
-
-
Sylvain Thénault authored
and flake8 errors which were hidden by this breakage. flake8 --filename options doesn't work as expected: * it's expected to be a shell pattern, using stdlib's fnmatch.fnmatch function internally. This funciton thinks that 'cubicweb/x.py' doesn't match 'cubicweb/x.py' (there must be a reason but that's not the point), hence no file was actually checked ; * as this is a list of pattern, each encountered file is checked against each pattern, leading to run time explosion. So maintain list of files to check in a separated file and give this list to flake8 using unix's xarg command. --HG-- branch : 3.24
-
- 28 Sep, 2016 1 commit
-
-
Sylvain Thénault authored
Don't drop constraints and indexes for tables that are ignored by the metadata generator given to the store. One may now easily disable insertion of e.g. created_by / owned_by by removing them from the MetadataGenerator.META_RELATIONS set, in which case indexes for associated table won't be removed by the massive store.
-
- 17 Oct, 2016 1 commit
-
-
Adrien Di Mascio authored
This should be done on the instance rather than on the class
-
- 05 Oct, 2016 1 commit
-
-
Sylvain Thénault authored
This was not necessary anymore with promoted usage of the new data import API. Turn repository's _type_extid_cache to _type_cache with only the entity's type as key. This introduces an backward incompatible change: entity_metas dict doesn't contains anymore the extid key, but it doesn't seem used at all anywhere, so this sounds acceptable. Closes #15538317
-
- 30 Sep, 2016 1 commit
-
-
Sylvain Thénault authored
This is useful to do some import tests where you only want to test steps prior to the database insertion, as well as "dry-run" commands. Use it as a documenting base class.
-
- 01 Feb, 2016 1 commit
-
-
Sylvain Thénault authored
with a similar-but-different API that will allow its usage by the massive store (no more entity object manipulation), while making it a bit more flexible for customization by subclasses (experience taken from client code). Related to #10338621
-
- 21 Jun, 2016 1 commit
-
-
Sylvain Thénault authored
-
- 29 Jan, 2016 1 commit
-
-
Sylvain Thénault authored
so it's clearly not the samething as metagenerator.source. Also add a bit of doc along the way.
-
- 27 Jan, 2016 3 commits
-
-
Sylvain Thénault authored
-
Sylvain Thénault authored
-
Sylvain Thénault authored
-
- 29 Jan, 2016 1 commit
-
-
Sylvain Thénault authored
-
- 16 Jan, 2016 1 commit
-
-
Denis Laxalde authored
Basically: mkdir cubicweb hg mv *.py -X setup.py cubicweb hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb Other changes: * adjust path to cubicweb-ctl in devtools tests * update setup.py to avoid importing __pkginfo__ (exec it instead), replace os.path.walk by os.walk and prepend `modname` here and there * update tox.ini to account for new test locations * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in doc/Makefile
-