[ckan-changes] [ckan/ckan] dd4f1c: [#5108] Alloe extensions to define Click commands

Sergey noreply at github.com
Fri Dec 13 12:28:47 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: dd4f1c134a2aa8238a0e979a4d8ec6f35a957c62
      https://github.com/ckan/ckan/commit/dd4f1c134a2aa8238a0e979a4d8ec6f35a957c62
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M ckan/cli/cli.py
    M ckan/plugins/interfaces.py

  Log Message:
  -----------
  [#5108] Alloe extensions to define Click commands

Currently, there is no way for extension to add commands
to the main ckan one

This changes implements the possibility for extensions
to do it.


  Commit: b47341d635c56364076ce0aead86a5f1c265c879
      https://github.com/ckan/ckan/commit/b47341d635c56364076ce0aead86a5f1c265c879
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  add error_shot to toolkit


  Commit: bde4b68832f09c23b4caeed4f2ce8720431d3dc4
      https://github.com/ckan/ckan/commit/bde4b68832f09c23b4caeed4f2ce8720431d3dc4
  Author: Alexandr <55234934+mutantsan at users.noreply.github.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M ckan/cli/datastore.py
    M ckan/common.py
    M ckan/config/environment.py
    M ckan/config/middleware/__init__.py
    M ckan/lib/base.py
    M ckan/lib/cli.py
    M ckan/lib/fanstatic_resources.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/mailer.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/model/__init__.py
    M ckan/plugins/toolkit.py
    M ckan/public/base/javascript/client.js
    M ckan/templates/page.html
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/test_cli.py
    M ckan/tests/logic/action/test_create.py
    M ckan/tests/logic/action/test_update.py
    R ckan/tests/migration/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/blueprint.py
    M ckanext/datastore/commands.py
    M ckanext/datastore/tests/helpers.py
    M doc/contributing/testing.rst
    M requirements.in
    M requirements.txt
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  Merge branch 'master' into 5108-allow-extensions-define-click-cmds


  Commit: fc4250df66f28e91a9676cfb2e2c04600e468642
      https://github.com/ckan/ckan/commit/fc4250df66f28e91a9676cfb2e2c04600e468642
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M ckan/cli/cli.py

  Log Message:
  -----------
  code refinement, allow get multiple commands


  Commit: 0478f1a4d92103c997f6f797dbdea556e3eafc74
      https://github.com/ckan/ckan/commit/0478f1a4d92103c997f6f797dbdea556e3eafc74
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M ckan/cli/datastore.py
    M ckan/common.py
    M ckan/config/environment.py
    M ckan/config/middleware/__init__.py
    M ckan/lib/base.py
    M ckan/lib/cli.py
    M ckan/lib/fanstatic_resources.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/mailer.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/model/__init__.py
    M ckan/plugins/toolkit.py
    M ckan/public/base/javascript/client.js
    M ckan/templates/page.html
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/test_cli.py
    M ckan/tests/logic/action/test_create.py
    M ckan/tests/logic/action/test_update.py
    R ckan/tests/migration/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/blueprint.py
    M ckanext/datastore/commands.py
    M ckanext/datastore/tests/helpers.py
    M doc/contributing/testing.rst
    M requirements.in
    M requirements.txt
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  Merge branch '5108-allow-extensions-define-click-cmds' of https://github.com/mutantsan/ckan into 5108-allow-extensions-define-click-cmds


  Commit: 406312b4bb9fc0241a3a8d1e76631c14d3cbaecb
      https://github.com/ckan/ckan/commit/406312b4bb9fc0241a3a8d1e76631c14d3cbaecb
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  add error_shout to toolkit


  Commit: 075414861c3871b684ede3c76e29ccf004794c50
      https://github.com/ckan/ckan/commit/075414861c3871b684ede3c76e29ccf004794c50
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

  Changed paths:
    M ckan/plugins/interfaces.py

  Log Message:
  -----------
  rename ICLICommands to IClick


  Commit: 8e12807b8f0d6486d52f1c5362c7cf2f94ba8aa2
      https://github.com/ckan/ckan/commit/8e12807b8f0d6486d52f1c5362c7cf2f94ba8aa2
  Author: calexandr <cherniavskyi.alexandr at linkdigital.com.au>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

  Changed paths:
    M ckan/plugins/interfaces.py

  Log Message:
  -----------
  IClick interfaces import hotfix


  Commit: 06af5397e8d62f9f88dd3263f6d948dbbd8852d2
      https://github.com/ckan/ckan/commit/06af5397e8d62f9f88dd3263f6d948dbbd8852d2
  Author: Sergey <tonnydexter at gmail.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M ckan/cli/cli.py
    M ckan/plugins/interfaces.py
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  Merge pull request #5112 from mutantsan/5108-allow-extensions-define-click-cmds

[#5108] Allow extensions to define Click commands


Compare: https://github.com/ckan/ckan/compare/c0ee5f5bc633...06af5397e8d6


More information about the ckan-changes mailing list