[ckan-changes] [ckan/ckan] b670bb: Add a submit_all command to datapusher.

GitHub noreply at github.com
Fri Jul 1 13:07:00 UTC 2016


  Branch: refs/heads/3002-jsonp-get
  Home:   https://github.com/ckan/ckan
  Commit: b670bbfe0dc05b831ef8a4798f44784a4345ac7d
      https://github.com/ckan/ckan/commit/b670bbfe0dc05b831ef8a4798f44784a4345ac7d
  Author: Carl Lange <carl at flax.ie>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M ckanext/datapusher/cli.py

  Log Message:
  -----------
  Add a submit_all command to datapusher.

this allows you to add every resource of every package to the datastore.
this is useful if you're setting up datastore for a a ckan that's
already got datasets.
Also renames the existing submit_all function to resubmit_all, because
it would not act on resources that had not already been submitted to
datastore.


  Commit: d9f3a5036a99c5e447ad93977e99ba745e2868c3
      https://github.com/ckan/ckan/commit/d9f3a5036a99c5e447ad93977e99ba745e2868c3
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  [#3116] Refactor middleware module.

It was starting to become unmanageably large with a lot of separate
concerns in one place.

- Separate the flask and pylons app code into separate modules.
- Separate the common middleware code into a separate module.


  Commit: 82fe4fd9bbe50c7e8285968f2caeb4688fc19f66
      https://github.com/ckan/ckan/commit/82fe4fd9bbe50c7e8285968f2caeb4688fc19f66
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    R ckan/lib/util.py
    M ckan/tests/test_coding_standards.py
    M doc/conf.py

  Log Message:
  -----------
  [#3126] remove backported `subprocess.check_output`


  Commit: 1efb47a879877d88250cf1016be2bda48c1ff54c
      https://github.com/ckan/ckan/commit/1efb47a879877d88250cf1016be2bda48c1ff54c
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/model/extension.py
    M ckan/tests/legacy/test_coding_standards.py

  Log Message:
  -----------
  [#3126] don't check if methodcaller is available

- `operator.methodcaller` was implemented in python2.7. Now that ckan
  only supports 2.7 it is no longer required to check if the import is
  possible or not. We can besure that it is there.


  Commit: f8bd2cd72abfea9911892543309269d59d2925c8
      https://github.com/ckan/ckan/commit/f8bd2cd72abfea9911892543309269d59d2925c8
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_tags.py
    M ckan/tests/helpers.py
    M ckan/tests/legacy/__init__.py
    M ckan/tests/legacy/functional/api/test_api.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/legacy/models/test_group.py
    M ckan/tests/lib/search/test_index.py
    M ckan/tests/lib/test_mailer.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M ckanext/example_iuploader/test/test_plugin.py
    M ckanext/example_theme/custom_emails/tests.py

  Log Message:
  -----------
  [#3126] remove assert_(not)_in from helpers

- `assert_in` and `assert_not_in` were duplicated
  in `ckan/tests/legacy/__init__.py` and
  `ckan.tests.helpers` because they were not
  available in python2.6
- This commit removes the back porting from those
  files and just imports from nose.tools directly
  everywhere


  Commit: 7ec19e36c7c9049a650ba88f8f4bd310ae4e5fb8
      https://github.com/ckan/ckan/commit/7ec19e36c7c9049a650ba88f8f4bd310ae4e5fb8
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckanext/datapusher/tests/test.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/resourceproxy/tests/test_proxy.py

  Log Message:
  -----------
  [#3126] remove check for skipping tests

- removes some code that was used to skip tests and change solr settings
  under python2.6 which is not tested against anymore


  Commit: ac69f064ce3a17aee89a1d4c8977fff4c718c700
      https://github.com/ckan/ckan/commit/ac69f064ce3a17aee89a1d4c8977fff4c718c700
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M doc/contributing/python.rst
    M doc/maintaining/installing/install-from-source.rst

  Log Message:
  -----------
  [#3126] only reference py2.7 in documentation


  Commit: 9ee75b530a687e43b9eee4fc049ef412b5ad432a
      https://github.com/ckan/ckan/commit/9ee75b530a687e43b9eee4fc049ef412b5ad432a
  Author: Knut Hühne <knut at viderum.com>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M ckan/pastertemplates/template/+dot+travis.yml_tmpl
    M ckan/pastertemplates/template/setup.py_tmpl

  Log Message:
  -----------
  [#3126] remove py2.6 from paster templates


  Commit: 1fe29c72b8770a3bc7db097fe2e1f44fd53da984
      https://github.com/ckan/ckan/commit/1fe29c72b8770a3bc7db097fe2e1f44fd53da984
  Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M ckan/templates/package/snippets/resource_view.html
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  [#3128] Render resource view descriptions as Markdown.

Previously, CKAN rendered resource view descriptions as plain text, in
contrast to the help text given in the resource view edit form which
says that Markdown is supported.


  Commit: 7529b0dd1a72644354defcf9a6c57682d6aa6344
      https://github.com/ckan/ckan/commit/7529b0dd1a72644354defcf9a6c57682d6aa6344
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M ckan/templates/package/snippets/resource_view.html
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Merge pull request #3129 from torfsen/3128-render-resource-view-description-as-markdown

[#3128] Render resource view descriptions as Markdown.


  Commit: 6d7a9c30765d3e5319a0a83b56d611e47a9c6ea7
      https://github.com/ckan/ckan/commit/6d7a9c30765d3e5319a0a83b56d611e47a9c6ea7
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    R ckan/lib/util.py
    M ckan/model/extension.py
    M ckan/pastertemplates/template/+dot+travis.yml_tmpl
    M ckan/pastertemplates/template/setup.py_tmpl
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_tags.py
    M ckan/tests/helpers.py
    M ckan/tests/legacy/__init__.py
    M ckan/tests/legacy/functional/api/test_api.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/legacy/models/test_group.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/search/test_index.py
    M ckan/tests/lib/test_mailer.py
    M ckan/tests/test_coding_standards.py
    M ckanext/datapusher/tests/test.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M ckanext/example_iuploader/test/test_plugin.py
    M ckanext/example_theme/custom_emails/tests.py
    M ckanext/resourceproxy/tests/test_proxy.py
    M doc/conf.py
    M doc/contributing/python.rst
    M doc/maintaining/installing/install-from-source.rst

  Log Message:
  -----------
  Merge pull request #3127 from k-nut/3126-remove-python-2.6-support

Remove Python 2.6 compability


  Commit: 954205d44bbfb6ebd28aa9019d2fd7b152b819f9
      https://github.com/ckan/ckan/commit/954205d44bbfb6ebd28aa9019d2fd7b152b819f9
  Author: Ian Ward <ian at excess.org>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  Merge pull request #3116 from ckan/3116-middleware-refactor

Refactor config/middleware.py to more closely match poc-flask-views


  Commit: dfd2a9187cde6161fc85ba2aba5feefa2516e227
      https://github.com/ckan/ckan/commit/dfd2a9187cde6161fc85ba2aba5feefa2516e227
  Author: Carl Lange <carl at flax.ie>
  Date:   2016-06-22 (Wed, 22 Jun 2016)

  Changed paths:
    M ckanext/datapusher/cli.py

  Log Message:
  -----------
  Fix Pep8 error (long comment)


  Commit: 8396d7c6090defefd5f515054afac9362c70c6ff
      https://github.com/ckan/ckan/commit/8396d7c6090defefd5f515054afac9362c70c6ff
  Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
  Date:   2016-06-22 (Wed, 22 Jun 2016)

  Changed paths:
    M bin/running_stats.py

  Log Message:
  -----------
  Add encoding specification.


  Commit: e7513d1df9bfa0b90347216e7199e3e58b23ed5b
      https://github.com/ckan/ckan/commit/e7513d1df9bfa0b90347216e7199e3e58b23ed5b
  Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
  Date:   2016-06-22 (Wed, 22 Jun 2016)

  Changed paths:
    M ckan/tests/test_coding_standards.py

  Log Message:
  -----------
  Add test to ensure string literals have a `u`, `b` or `ur` prefix.

All existing Python source code files are explicitly white-listed. Over
time, these should be fixed and delisted. New files should not be added
to the list.


  Commit: dfd0af9b23ff2c2c704a324bbc35646c16a45cb6
      https://github.com/ckan/ckan/commit/dfd0af9b23ff2c2c704a324bbc35646c16a45cb6
  Author: Ian Ward <ian at excess.org>
  Date:   2016-06-22 (Wed, 22 Jun 2016)

  Changed paths:
    M bin/running_stats.py
    M ckan/tests/test_coding_standards.py

  Log Message:
  -----------
  Merge pull request #3122 from torfsen/3006-test-string-literal-prefix

Test that string literals have an `b`, `u` or `ur` prefix


  Commit: a10edd33ee4e097068f5f4295167c15899a0be3c
      https://github.com/ckan/ckan/commit/a10edd33ee4e097068f5f4295167c15899a0be3c
  Author: Ian Ward <ian at excess.org>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M ckanext/datapusher/cli.py

  Log Message:
  -----------
  Merge pull request #3024 from CarlQLange/patch-2

Add a submit_all command to datapusher.


  Commit: 2545f74e44aee3e80630f672ce76e74c46d1e101
      https://github.com/ckan/ckan/commit/2545f74e44aee3e80630f672ce76e74c46d1e101
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M ckan/logic/action/update.py

  Log Message:
  -----------
  [#3132] Clarify package_relationship_update docs.

This action is limited to only updating the comment property. subject,
object and type are required to identify the relationship to update.


  Commit: bcc47010f0ba4d4a2718ffb3ad510701fc70a060
      https://github.com/ckan/ckan/commit/bcc47010f0ba4d4a2718ffb3ad510701fc70a060
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#2661] Add revision if owner-org updated.

package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.


  Commit: f240a8cf79e4a8d3a2a592f4cd3d6fa934a23ff7
      https://github.com/ckan/ckan/commit/f240a8cf79e4a8d3a2a592f4cd3d6fa934a23ff7
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M ckan/logic/action/create.py

  Log Message:
  -----------
  [#2661] Add 'add_revision' to ctx in pkg create.

package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.


  Commit: 88e1a9c09342169c433d2601efb319463accf3e9
      https://github.com/ckan/ckan/commit/88e1a9c09342169c433d2601efb319463accf3e9
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-06-27 (Mon, 27 Jun 2016)

  Changed paths:
    M ckan/logic/action/update.py

  Log Message:
  -----------
  Merge pull request #3132 from ckan/3132-relationship-update-docs

Clarify package_relationship_update documentation


  Commit: 0b8f4d4e480f6d002369876e4e0bcc12557ddb92
      https://github.com/ckan/ckan/commit/0b8f4d4e480f6d002369876e4e0bcc12557ddb92
  Author: Nick Such <nicksuch at gmail.com>
  Date:   2016-06-27 (Mon, 27 Jun 2016)

  Changed paths:
    M doc/contributing/python.rst

  Log Message:
  -----------
  Fix broken link to Google's Python style guide


  Commit: 9548412999ee3710b3f8d1887625cb99848f9247
      https://github.com/ckan/ckan/commit/9548412999ee3710b3f8d1887625cb99848f9247
  Author: Michael Fincham <michael.fincham at catalyst.net.nz>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M ckan/config/deployment.ini_tmpl
    M doc/maintaining/configuration.rst
    M test.ini

  Log Message:
  -----------
  Change all example uses of domain names to be RFC compliant special-use names


  Commit: 59d1043ec10bdf1a61f62dd67bbdcf994d890355
      https://github.com/ckan/ckan/commit/59d1043ec10bdf1a61f62dd67bbdcf994d890355
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M doc/contributing/python.rst

  Log Message:
  -----------
  Merge pull request #3138 from nicksuch/docs-google-python-style-guide

Fix broken link to Google's Python style guide


  Commit: f58e6841d6d6661417a6602b05a6fdc6441908d3
      https://github.com/ckan/ckan/commit/f58e6841d6d6661417a6602b05a6fdc6441908d3
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2016-06-29 (Wed, 29 Jun 2016)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-view-filters-form.js

  Log Message:
  -----------
  Fix autocomplete request url.

Wrapped previously hardcoded url into ckan.url function


  Commit: 7173fbe055294f8a5bfd8cf1ceee702539cd385b
      https://github.com/ckan/ckan/commit/7173fbe055294f8a5bfd8cf1ceee702539cd385b
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  Merge pull request #3133 from ckan/2661-owner-org-update

Allow package_owner_org_update action to be called stand-alone


  Commit: d993b207122856f3dc6e945fdac24f92dd505b34
      https://github.com/ckan/ckan/commit/d993b207122856f3dc6e945fdac24f92dd505b34
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-view-filters-form.js

  Log Message:
  -----------
  Merge pull request #3144 from smotornyuk/3143-wrong-autocomplete-requests-for-resource-view

Fix autocomplete request url.


  Commit: e2162f0a42b093f0b5ddc50a92af9fd0088112c1
      https://github.com/ckan/ckan/commit/e2162f0a42b093f0b5ddc50a92af9fd0088112c1
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M ckan/config/deployment.ini_tmpl
    M doc/maintaining/configuration.rst
    M test.ini

  Log Message:
  -----------
  Merge pull request #3139 from fincham/master

Change all example uses of domain names to be RFC compliant special-use names


  Commit: f879df191970934b42228bf2eb643b2d03188ba9
      https://github.com/ckan/ckan/commit/f879df191970934b42228bf2eb643b2d03188ba9
  Author: amercader <amercadero at gmail.com>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M bin/running_stats.py
    M ckan/config/deployment.ini_tmpl
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    R ckan/lib/util.py
    M ckan/logic/action/create.py
    M ckan/logic/action/update.py
    M ckan/model/extension.py
    M ckan/pastertemplates/template/+dot+travis.yml_tmpl
    M ckan/pastertemplates/template/setup.py_tmpl
    M ckan/public/base/javascript/modules/resource-view-filters-form.js
    M ckan/templates/package/snippets/resource_view.html
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_tags.py
    M ckan/tests/helpers.py
    M ckan/tests/legacy/__init__.py
    M ckan/tests/legacy/functional/api/test_api.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/legacy/models/test_group.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/search/test_index.py
    M ckan/tests/lib/test_mailer.py
    M ckan/tests/logic/action/test_update.py
    M ckan/tests/test_coding_standards.py
    M ckanext/datapusher/cli.py
    M ckanext/datapusher/tests/test.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M ckanext/example_iuploader/test/test_plugin.py
    M ckanext/example_theme/custom_emails/tests.py
    M ckanext/resourceproxy/tests/test_proxy.py
    M doc/conf.py
    M doc/contributing/python.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/installing/install-from-source.rst
    M test.ini

  Log Message:
  -----------
  Merge branch 'master' into 3002-jsonp-get

Conflicts:
	ckan/tests/controllers/test_api.py


Compare: https://github.com/ckan/ckan/compare/b52909dec4e7...f879df191970


More information about the ckan-changes mailing list