[ckan-changes] [ckan/ckan] ddc83d: [#3199] Update revisions on bulk operations

GitHub noreply at github.com
Tue Aug 9 19:58:18 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: ddc83d4e8945be92775fc83e6aa1a0e81a8190fd
      https://github.com/ckan/ckan/commit/ddc83d4e8945be92775fc83e6aa1a0e81a8190fd
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

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

  Log Message:
  -----------
  [#3199] Update revisions on bulk operations

`bulk_update_private`, `bulk_update_public` and ``bulk_update_delete`
changed the `package` table and the search index but not the revision
 table, which caused the changes to not be reflected everywhere.

This fixes the model query and adds a bunch of tests.


  Commit: 4ecbe21ece60c03f3f0e2ca05c0ffaf73e7d2588
      https://github.com/ckan/ckan/commit/4ecbe21ece60c03f3f0e2ca05c0ffaf73e7d2588
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

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

  Log Message:
  -----------
  [#3199] Only update the latest revision


  Commit: 0a3ea4b2fc53a4952e65e446381773e3df1eb4f9
      https://github.com/ckan/ckan/commit/0a3ea4b2fc53a4952e65e446381773e3df1eb4f9
  Author: Ian Ward <ian at excess.org>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

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

  Log Message:
  -----------
  Merge pull request #3199 from ckan/3199-bulk-operations-revisions

Bulk operations don't update the package_revision table


Compare: https://github.com/ckan/ckan/compare/60134e844f3a...0a3ea4b2fc53


More information about the ckan-changes mailing list