[ckan-changes] [ckan/ckan] bd0068: [#2006] package_dictize should not have to dig int...

GitHub noreply at github.com
Tue Nov 4 18:09:59 UTC 2014


  Branch: refs/heads/1414-remove-moderated-edits
  Home:   https://github.com/ckan/ckan
  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.




More information about the ckan-changes mailing list