[ckan-changes] [ckan/ckan] 0413e2: Removal of a lot of PackageRevision queries

GitHub noreply at github.com
Sun Nov 23 15:53:14 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 0413e259ce2c80925c5aadca0896f264122567e4
      https://github.com/ckan/ckan/commit/0413e259ce2c80925c5aadca0896f264122567e4
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-10-27 (Mon, 27 Oct 2014)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/model/package.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  Removal of a lot of PackageRevision queries


  Commit: 699d2265e37808ac89520419583583a41219dff4
      https://github.com/ckan/ckan/commit/699d2265e37808ac89520419583583a41219dff4
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/dictization/__init__.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/dictization/model_save.py
    M ckan/logic/action/update.py
    M ckan/model/package.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  Removing more use of current flag


  Commit: f79a20ae6093776c6a73885dc7187c52b38deb58
      https://github.com/ckan/ckan/commit/f79a20ae6093776c6a73885dc7187c52b38deb58
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/update.py
    M ckan/model/__init__.py
    M ckan/model/group.py
    M ckan/model/meta.py
    M ckan/model/user.py
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Remove unnecessary "pending" code


  Commit: bd0068e47003b8a4d04039f715465cc180342d91
      https://github.com/ckan/ckan/commit/bd0068e47003b8a4d04039f715465cc180342d91
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/package_saver.py
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/templates/package/read_base.html
    M ckan/templates_legacy/package/read.html
    M ckan/tests/functional/test_package.py
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  [#2006] package_dictize should not have to dig into revisions unless you ask for an old version. Add new_tests. In the process we lose the "revision_timestamp" property when you package_show, resource_show etc, but that is not particularly useful info as the package revision stays the same if you edit its extras or tags, for example. And we lose the revision_id on resources too - revisions are out of favour anyway. When displaying old version of the dataset, the date was wrong - it was package_revision date, ignoring extra changes - this is now fixed.


  Commit: 0733c0d90806d33c511be3aa27387c23d37fdcf9
      https://github.com/ckan/ckan/commit/0733c0d90806d33c511be3aa27387c23d37fdcf9
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/update.py
    M ckan/logic/auth/update.py
    M ckan/model/__init__.py
    M ckan/model/core.py
    M ckan/model/resource.py
    M ckan/model/tag.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  [#2006] Deleted more parts related to the current column and pending state.


  Commit: b985a5338aef3b5f4248a209667036533a3dae49
      https://github.com/ckan/ckan/commit/b985a5338aef3b5f4248a209667036533a3dae49
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M ckan/model/meta.py

  Log Message:
  -----------
  [#2006] Tidy up on the writing to the deprecated columns.


  Commit: d23523c852c3c7e01f9b6b02b479132e6168a3ac
      https://github.com/ckan/ckan/commit/d23523c852c3c7e01f9b6b02b479132e6168a3ac
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M ckan/lib/dictization/__init__.py
    M ckan/tests/models/test_package.py

  Log Message:
  -----------
  [#2006] Tidy up.


  Commit: f6fb893a8ef4cac3166d3a3948a4effa49417007
      https://github.com/ckan/ckan/commit/f6fb893a8ef4cac3166d3a3948a4effa49417007
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-17 (Mon, 17 Nov 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/config/deployment.ini_tmpl
    M ckan/config/environment.py
    M ckan/config/routing.py
    M ckan/controllers/package.py
    M ckan/controllers/revision.py
    M ckan/lib/base.py
    M ckan/lib/create_test_data.py
    M ckan/lib/datapreview.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/dictization/model_save.py
    R ckan/lib/field_types.py
    M ckan/lib/plugins.py
    M ckan/lib/render.py
    M ckan/lib/search/index.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/logic/auth/delete.py
    M ckan/logic/auth/get.py
    M ckan/logic/auth/update.py
    M ckan/logic/converters.py
    M ckan/logic/schema.py
    A ckan/migration/versions/074_remove_resource_groups.py
    M ckan/model/__init__.py
    M ckan/model/package.py
    M ckan/model/resource.py
    M ckan/new_tests/helpers.py
    A ckan/new_tests/lib/dictization/__init__.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    A ckan/new_tests/lib/test_base.py
    A ckan/new_tests/logic/action/test_delete.py
    M ckan/new_tests/logic/action/test_get.py
    M ckan/new_tests/logic/action/test_update.py
    A ckan/new_tests/logic/auth/test_delete.py
    M ckan/plugins/interfaces.py
    M ckan/plugins/toolkit.py
    M ckan/public/base/css/main.css
    M ckan/public/base/javascript/modules/resource-view-embed.js
    M ckan/public/base/javascript/modules/resource-view-reorder.js
    M ckan/public/base/less/ckan.less
    M ckan/public/base/less/dataset.less
    R ckan/public/base/less/resource-view-embed.less
    M ckan/public/base/less/toolbar.less
    M ckan/public/scripts/application.js
    M ckan/templates/group/snippets/group_form.html
    M ckan/templates/macros/form.html
    M ckan/templates/organization/snippets/organization_form.html
    M ckan/templates/package/base_form_page.html
    M ckan/templates/package/edit.html
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/new_resource_not_draft.html
    M ckan/templates/package/resource_edit.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/resource_views.html
    M ckan/templates/package/snippets/package_basic_fields.html
    M ckan/templates/package/snippets/resource_edit_form.html
    M ckan/templates/package/snippets/resource_form.html
    M ckan/templates/package/snippets/resource_view.html
    M ckan/templates/package/snippets/resource_views_list.html
    M ckan/templates/package/snippets/resource_views_list_item.html
    M ckan/templates/snippets/group_item.html
    R ckan/templates_legacy/__init__.py
    R ckan/templates_legacy/_snippet/data-api-help.html
    R ckan/templates_legacy/_util.html
    R ckan/templates_legacy/activity_streams/activity_stream_items.html
    R ckan/templates_legacy/admin/authz.html
    R ckan/templates_legacy/admin/index.html
    R ckan/templates_legacy/admin/layout.html
    R ckan/templates_legacy/admin/trash.html
    R ckan/templates_legacy/error_document_template.html
    R ckan/templates_legacy/facets.html
    R ckan/templates_legacy/group/__init__.py
    R ckan/templates_legacy/group/authz.html
    R ckan/templates_legacy/group/edit.html
    R ckan/templates_legacy/group/edit_form.html
    R ckan/templates_legacy/group/history.html
    R ckan/templates_legacy/group/index.html
    R ckan/templates_legacy/group/layout.html
    R ckan/templates_legacy/group/new.html
    R ckan/templates_legacy/group/new_group_form.html
    R ckan/templates_legacy/group/read.html
    R ckan/templates_legacy/home/__init__.py
    R ckan/templates_legacy/home/about.html
    R ckan/templates_legacy/home/index.html
    R ckan/templates_legacy/home/layout.html
    R ckan/templates_legacy/importer/__init__.py
    R ckan/templates_legacy/importer/importer.html
    R ckan/templates_legacy/importer/preview.html
    R ckan/templates_legacy/importer/result.html
    R ckan/templates_legacy/js_strings.html
    R ckan/templates_legacy/layout.html
    R ckan/templates_legacy/layout_base.html
    R ckan/templates_legacy/package/__init__.py
    R ckan/templates_legacy/package/authz.html
    R ckan/templates_legacy/package/comments.html
    R ckan/templates_legacy/package/edit.html
    R ckan/templates_legacy/package/edit_form.html
    R ckan/templates_legacy/package/editresources.html
    R ckan/templates_legacy/package/followers.html
    R ckan/templates_legacy/package/form.html
    R ckan/templates_legacy/package/form_extra_fields.html
    R ckan/templates_legacy/package/form_fields.html
    R ckan/templates_legacy/package/form_resources.html
    R ckan/templates_legacy/package/history.html
    R ckan/templates_legacy/package/layout.html
    R ckan/templates_legacy/package/new.html
    R ckan/templates_legacy/package/new_package_form.html
    R ckan/templates_legacy/package/read.html
    R ckan/templates_legacy/package/read.n3
    R ckan/templates_legacy/package/read.rdf
    R ckan/templates_legacy/package/read_core.html
    R ckan/templates_legacy/package/resource_embedded_dataviewer.html
    R ckan/templates_legacy/package/resource_read.html
    R ckan/templates_legacy/package/resources.html
    R ckan/templates_legacy/package/search.html
    R ckan/templates_legacy/package/search_form.html
    R ckan/templates_legacy/package/snippets/data_preview.html
    R ckan/templates_legacy/related/add-related.html
    R ckan/templates_legacy/related/dashboard.html
    R ckan/templates_legacy/related/related_list.html
    R ckan/templates_legacy/rest/__init__.py
    R ckan/templates_legacy/revision/__init__.py
    R ckan/templates_legacy/revision/diff.html
    R ckan/templates_legacy/revision/layout.html
    R ckan/templates_legacy/revision/list.html
    R ckan/templates_legacy/revision/read.html
    R ckan/templates_legacy/snippets/data-viewer-embed-branded-link.html
    R ckan/templates_legacy/snippets/data-viewer-embed-dialog.html
    R ckan/templates_legacy/snippets/follow_button.html
    R ckan/templates_legacy/snippets/internal-tracking.html
    R ckan/templates_legacy/snippets/package_list.html
    R ckan/templates_legacy/snippets/recline-extra-footer.html
    R ckan/templates_legacy/snippets/recline-extra-header.html
    R ckan/templates_legacy/snippets/revision_list.html
    R ckan/templates_legacy/storage/index.html
    R ckan/templates_legacy/storage/success.html
    R ckan/templates_legacy/tag/__init__.py
    R ckan/templates_legacy/tag/index.html
    R ckan/templates_legacy/tag/layout.html
    R ckan/templates_legacy/tag/read.html
    R ckan/templates_legacy/user/__init__.py
    R ckan/templates_legacy/user/dashboard.html
    R ckan/templates_legacy/user/edit.html
    R ckan/templates_legacy/user/edit_user_form.html
    R ckan/templates_legacy/user/followers.html
    R ckan/templates_legacy/user/layout.html
    R ckan/templates_legacy/user/list.html
    R ckan/templates_legacy/user/login.html
    R ckan/templates_legacy/user/logout.html
    R ckan/templates_legacy/user/logout_first.html
    R ckan/templates_legacy/user/new.html
    R ckan/templates_legacy/user/new_user_form.html
    R ckan/templates_legacy/user/perform_reset.html
    R ckan/templates_legacy/user/read.html
    R ckan/templates_legacy/user/request_reset.html
    M ckan/tests/functional/test_activity.py
    M ckan/tests/functional/test_admin.py
    R ckan/tests/functional/test_cors.py
    R ckan/tests/functional/test_follow.py
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_home.py
    M ckan/tests/functional/test_package.py
    R ckan/tests/functional/test_package_relationships.py
    M ckan/tests/functional/test_revision.py
    R ckan/tests/functional/test_search.py
    M ckan/tests/functional/test_tag.py
    R ckan/tests/functional/test_tag_vocab.py
    R ckan/tests/functional/test_upload.py
    M ckan/tests/functional/test_user.py
    M ckan/tests/lib/test_dictization.py
    R ckan/tests/lib/test_field_types.py
    M ckan/tests/lib/test_resource_search.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/models/test_package.py
    M ckan/tests/models/test_resource.py
    M ckan/tests/test_coding_standards.py
    M ckan/tests/test_plugins.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py
    M ckanext/reclineview/theme/public/recline_view.js
    M ckanext/stats/tests/test_stats_plugin.py
    M doc/maintaining/configuration.rst
    M doc/maintaining/datastore.rst
    M doc/maintaining/getting-started.rst
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into 1414-remove-moderated-edits

Conflicts:
	ckan/lib/dictization/model_dictize.py
	ckan/lib/dictization/model_save.py
	ckan/logic/action/get.py
	ckan/logic/action/update.py
	ckan/model/package.py
	ckan/model/resource.py
	ckan/templates_legacy/package/read.html
	ckan/tests/functional/test_package.py
	ckan/tests/lib/test_dictization.py


  Commit: b0390aabb9c03d193c383d44e149ba3edd54ee6d
      https://github.com/ckan/ckan/commit/b0390aabb9c03d193c383d44e149ba3edd54ee6d
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-17 (Mon, 17 Nov 2014)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py

  Log Message:
  -----------
  [#2006] Fix comment.


  Commit: 185b246934191305ac9f0849bf6eae5d4c4deeed
      https://github.com/ckan/ckan/commit/185b246934191305ac9f0849bf6eae5d4c4deeed
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-11-17 (Mon, 17 Nov 2014)

  Changed paths:
    M ckan/model/core.py
    M ckan/model/meta.py

  Log Message:
  -----------
  [#2006] Add useful comments.


  Commit: 525fd7d4c6d9987504d2d20c383b83382cefcab3
      https://github.com/ckan/ckan/commit/525fd7d4c6d9987504d2d20c383b83382cefcab3
  Author: amercader <amercadero at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/config/middleware.py
    M ckan/config/solr/schema.xml
    M ckan/config/who.ini
    M ckan/controllers/group.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    M ckan/lib/accept.py
    A ckan/lib/auth_tkt.py
    M ckan/lib/cli.py
    R ckan/lib/package_saver.py
    M ckan/lib/plugins.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/logic/action/create.py
    A ckan/logic/action/patch.py
    M ckan/logic/auth/create.py
    A ckan/logic/auth/patch.py
    M ckan/model/__init__.py
    M ckan/model/package.py
    M ckan/model/rating.py
    M ckan/new_authz.py
    M ckan/new_tests/controllers/test_package.py
    M ckan/new_tests/helpers.py
    A ckan/new_tests/lib/test_auth_tkt.py
    M ckan/new_tests/lib/test_base.py
    M ckan/new_tests/logic/action/test_create.py
    M ckan/new_tests/logic/action/test_get.py
    A ckan/new_tests/logic/action/test_patch.py
    M ckan/new_tests/logic/auth/test_create.py
    A ckan/new_tests/test_authz.py
    M ckan/pastertemplates/__init__.py
    A ckan/pastertemplates/template/+dot+coveragerc_tmpl
    A ckan/pastertemplates/template/+dot+gitignore_tmpl
    A ckan/pastertemplates/template/+dot+travis.yml_tmpl
    A ckan/pastertemplates/template/LICENSE_tmpl
    A ckan/pastertemplates/template/MANIFEST.in_tmpl
    A ckan/pastertemplates/template/README.rst_tmpl
    A ckan/pastertemplates/template/bin/travis-build.bash_tmpl
    A ckan/pastertemplates/template/bin/travis-run.sh_tmpl
    R ckan/pastertemplates/template/ckanext/+project+/__init__.py
    A ckan/pastertemplates/template/ckanext/+project_shortname+/__init__.py
    A ckan/pastertemplates/template/ckanext/+project_shortname+/fanstatic/+dot+gitignore
    A ckan/pastertemplates/template/ckanext/+project_shortname+/plugin.py_tmpl
    A ckan/pastertemplates/template/ckanext/+project_shortname+/public/+dot+gitignore
    A ckan/pastertemplates/template/ckanext/+project_shortname+/templates/+dot+gitignore
    A ckan/pastertemplates/template/ckanext/+project_shortname+/tests/__init__.py
    A ckan/pastertemplates/template/ckanext/+project_shortname+/tests/test_plugin.py_tmpl
    M ckan/pastertemplates/template/ckanext/__init__.py
    R ckan/pastertemplates/template/ckanext_+project+.egg-info/.gitignore
    A ckan/pastertemplates/template/ckanext_+project_shortname+.egg-info/.gitignore
    A ckan/pastertemplates/template/dev-requirements.txt_tmpl
    M ckan/pastertemplates/template/setup.py_tmpl
    A ckan/pastertemplates/template/test.ini_tmpl
    M ckan/plugins/interfaces.py
    R ckan/rating.py
    M ckan/templates/footer.html
    A ckan/templates/package/read.n3
    A ckan/templates/package/read.rdf
    M ckan/templates/package/read_base.html
    M ckan/tests/functional/api/test_user.py
    M ckan/tests/lib/test_accept.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_auth.py
    M ckanext/resourceproxy/tests/test_proxy.py
    M doc/api/index.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/paster.rst
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into 1414-remove-moderated-edits

Conflicts:
	ckan/lib/package_saver.py


  Commit: 1176e0332efce02943c1139319f6ce64bfaad1bb
      https://github.com/ckan/ckan/commit/1176e0332efce02943c1139319f6ce64bfaad1bb
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M ckan/lib/plugins.py

  Log Message:
  -----------
  [#2006] apply package_saver.py change to plugins.py (fix merge conflict)


  Commit: abd41729cb11c4692fe2cf8f1cd5243f72fbb3fc
      https://github.com/ckan/ckan/commit/abd41729cb11c4692fe2cf8f1cd5243f72fbb3fc
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M ckan/lib/plugins.py

  Log Message:
  -----------
  [#2006] adjust for different model import


  Commit: b955aff981e95b24c41e5bf39cbd9dc91c446bd5
      https://github.com/ckan/ckan/commit/b955aff981e95b24c41e5bf39cbd9dc91c446bd5
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/dictization/__init__.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/dictization/model_save.py
    M ckan/lib/plugins.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/logic/auth/update.py
    M ckan/logic/schema.py
    M ckan/model/__init__.py
    M ckan/model/core.py
    M ckan/model/group.py
    M ckan/model/meta.py
    M ckan/model/package.py
    M ckan/model/tag.py
    M ckan/model/user.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/templates/package/read_base.html
    M ckan/tests/functional/test_package.py
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/models/test_package.py

  Log Message:
  -----------
  Merge branch '1414-remove-moderated-edits'


Compare: https://github.com/ckan/ckan/compare/ff3cf1bee313...b955aff981e9


More information about the ckan-changes mailing list