[ckan-changes] [ckan/ckan] fe2e6e: Consolidate PY2 var name

Adrià Mercader noreply at github.com
Fri Dec 20 13:22:08 UTC 2019


  Branch: refs/heads/py3-general-support-3
  Home:   https://github.com/ckan/ckan
  Commit: fe2e6ea3d085b8ee8096dc33d42b679e94b50aa6
      https://github.com/ckan/ckan/commit/fe2e6ea3d085b8ee8096dc33d42b679e94b50aa6
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Consolidate PY2 var name


  Commit: 4e015d93a56a7fd95a5daa6ad2b60038e9f1558e
      https://github.com/ckan/ckan/commit/4e015d93a56a7fd95a5daa6ad2b60038e9f1558e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/cli/__init__.py
    M ckan/tests/pytest_ckan/ckan_setup.py

  Log Message:
  -----------
  [#4801] Use load_config from new CLI, support expanding user name


  Commit: 7935b5477cdd3fd4b0e73ca146448068705a8606
      https://github.com/ckan/ckan/commit/7935b5477cdd3fd4b0e73ca146448068705a8606
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/common.py

  Log Message:
  -----------
  [#4801] Default to Flask's uggettext (_) in all cases


  Commit: 5f7d60fc98f42f833af439ea70b64dd0c0952b5c
      https://github.com/ckan/ckan/commit/5f7d60fc98f42f833af439ea70b64dd0c0952b5c
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/pytest_ckan/ckan_setup.py

  Log Message:
  -----------
  [#4801] Properly initialize environment in pytest

I wrobgly assumed that the `load_config` method on the new cli did the
same as the one in the old, but it just parses the config file.
Added a call to `make_app` (which calls `load_environment`) to be able
to generate a test request context in order to be able to generate URLs
outside the context of an actual web request.


  Commit: f72da33e71d9b4972875a08981dbcd2eabd6bfec
      https://github.com/ckan/ckan/commit/f72da33e71d9b4972875a08981dbcd2eabd6bfec
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/lib/navl/dictization_functions.py

  Log Message:
  -----------
  [#4801] Refactor augment_data so it does not change dicts on loops


Compare: https://github.com/ckan/ckan/compare/edeb59e20026...f72da33e71d9


More information about the ckan-changes mailing list