1. 14 Mar, 2019 1 commit
    • Denis Laxalde's avatar
      Drop deprecated code in cubicweb.dataimport · 362fdb399ff5
      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.
  2. 10 Mar, 2017 1 commit
    • Sylvain Thénault's avatar
      [repo] Drop _get_session method · cc8135ecfbb8
      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.
  3. 09 Nov, 2016 1 commit
    • Sylvain Thénault's avatar
      Fix broken flake8 configuration · f09efeead7f9
      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.
      branch : 3.24
  4. 28 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      [massive store] Follow configuration of the metadata generator · 307d96c0ab5a
      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
  5. 17 Oct, 2016 1 commit
  6. 05 Oct, 2016 1 commit
    • Sylvain Thénault's avatar
      [repository] Drop the entities.extid column and associated cache · 51c160677afe
      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
  7. 30 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      [dataimport] Add a new NullStore · ae9789d77ea0
      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.
  8. 01 Feb, 2016 1 commit
  9. 21 Jun, 2016 1 commit
  10. 29 Jan, 2016 1 commit
  11. 27 Jan, 2016 3 commits
  12. 29 Jan, 2016 1 commit
  13. 16 Jan, 2016 1 commit
    • Denis Laxalde's avatar
      Reorganize source tree to have a "cubicweb" top-level package · 0b59724cb3f2
      Denis Laxalde authored
      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