[ckan-changes] [ckan/ckan] 254aa8: Fix package_show of old revision

David Read noreply at github.com
Fri Mar 1 17:34:36 UTC 2019


  Branch: refs/heads/3484_revision_ui_removal2
  Home:   https://github.com/ckan/ckan
  Commit: 254aa84ca3474f4e045bc374190ce05d39fce75c
      https://github.com/ckan/ckan/commit/254aa84ca3474f4e045bc374190ce05d39fce75c
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M ckan/migration/revision_legacy_code.py
    M ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Fix package_show of old revision

Fix in package_dictize_with_revisions of 'metadata_modified' and 'organization' -
it was showing the current package's version, not the older revision.

Test fix - del activity.data['package'] was unreliably committed.


  Commit: 11113ec66a8ffeea3dc4558e2853a5c188d29e44
      https://github.com/ckan/ckan/commit/11113ec66a8ffeea3dc4558e2853a5c188d29e44
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M ckan/migration/migrate_package_activity.py
    M ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Cope with all errors migrating revisions


  Commit: bdf6c0e9409064c985f6da83e89cabebf4dadddf
      https://github.com/ckan/ckan/commit/bdf6c0e9409064c985f6da83e89cabebf4dadddf
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M ckan/migration/migrate_package_activity.py
    M ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Pep8


  Commit: b6e72784dc17b42e0bbcffb27bdc901945bca1f5
      https://github.com/ckan/ckan/commit/b6e72784dc17b42e0bbcffb27bdc901945bca1f5
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    A ckan/migration/versions/088_package_activity_migration_check.py
    M ckan/model/__init__.py

  Log Message:
  -----------
  Add migration so that the check in "db upgrade" never has to be run after that (it can be expensive for large sites)


Compare: https://github.com/ckan/ckan/compare/1d731155556d...b6e72784dc17


More information about the ckan-changes mailing list