[ckan-changes] [ckan/ckan] 19e653: Switching from schema.xml to ManagedSchema

David Read noreply at github.com
Mon Mar 18 21:54:05 UTC 2019


  Branch: refs/heads/remove-vdm
  Home:   https://github.com/ckan/ckan
  Commit: 19e653e75478279b8ae933e0d445956a7949f8f1
      https://github.com/ckan/ckan/commit/19e653e75478279b8ae933e0d445956a7949f8f1
  Author: Francesco Frassinelli <francesco.frassinelli at nina.no>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M ckan/lib/search/__init__.py
    M contrib/docker/solr/solrconfig.xml

  Log Message:
  -----------
  Switching from schema.xml to ManagedSchema


  Commit: 94df949d5332dac1b2cae423fa71b3bfe0e2748e
      https://github.com/ckan/ckan/commit/94df949d5332dac1b2cae423fa71b3bfe0e2748e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Add changelog info about migrating while running


  Commit: 211615f831419e221b1ff7d9a3d5c7e5f4602482
      https://github.com/ckan/ckan/commit/211615f831419e221b1ff7d9a3d5c7e5f4602482
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

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

  Log Message:
  -----------
  Refactor activity_dictize


  Commit: b95e2c6357a9fb4fa73d3d24e517b293c426ad30
      https://github.com/ckan/ckan/commit/b95e2c6357a9fb4fa73d3d24e517b293c426ad30
  Author: Shahar Evron <shahar at shoppimon.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/less/ckan.less

  Log Message:
  -----------
  Increase size of h1 headings to 1.8em


  Commit: c874ac0163317987bbe0bc6836e6f1cd6da24eb6
      https://github.com/ckan/ckan/commit/c874ac0163317987bbe0bc6836e6f1cd6da24eb6
  Author: Alberto Miedes <albertomg994 at gmail.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M ckan/controllers/user.py

  Log Message:
  -----------
  Fix hardcoded root paths in user controller


  Commit: b733cd6f2945f1fbc757515d7543cd4a8394face
      https://github.com/ckan/ckan/commit/b733cd6f2945f1fbc757515d7543cd4a8394face
  Author: Alberto Miedes <albertomg994 at gmail.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M ckan/views/user.py

  Log Message:
  -----------
  Fix hardcoded root paths in user view


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

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

  Log Message:
  -----------
  Avoid affecting caller data_dict


  Commit: 5523ba092e7c2d76e870ccb67e1595e0b5519552
      https://github.com/ckan/ckan/commit/5523ba092e7c2d76e870ccb67e1595e0b5519552
  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:
  -----------
  Improve performance of migration query.


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

  Changed paths:
    M ckan/templates-bs2/package/base.html

  Log Message:
  -----------
  Fix -bs2 typo


  Commit: 543c6e35b50766794404382e874b9c3fb95f6215
      https://github.com/ckan/ckan/commit/543c6e35b50766794404382e874b9c3fb95f6215
  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
    M ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Add migration test for revision being missing

Also PEP8


  Commit: 1a238968aa764873f0cbadf32bc380e87e3ecc46
      https://github.com/ckan/ckan/commit/1a238968aa764873f0cbadf32bc380e87e3ecc46
  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

  Log Message:
  -----------
  Migration cleaner with context, not that there has been any trouble.


  Commit: 1836e812ce02dae82cf85312d9f7493db601e393
      https://github.com/ckan/ckan/commit/1836e812ce02dae82cf85312d9f7493db601e393
  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

  Log Message:
  -----------
  Do migration of revisions in chronological order - makes more sense


  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: 2e49024e7ca59a689300db1c4dc996d11ef4cb01
      https://github.com/ckan/ckan/commit/2e49024e7ca59a689300db1c4dc996d11ef4cb01
  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)


  Commit: f1ad20662a429c749b6dc7a88b6c587b0468adfa
      https://github.com/ckan/ckan/commit/f1ad20662a429c749b6dc7a88b6c587b0468adfa
  Author: Jari Voutilainen <jari.voutilainen at iki.fi>
  Date:   2019-03-04 (Mon, 04 Mar 2019)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Remove calls to deprecated _resource_preview


  Commit: 2416fbbead82130bb33f6660b364957ec6e7a4c7
      https://github.com/ckan/ckan/commit/2416fbbead82130bb33f6660b364957ec6e7a4c7
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
    M ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/less/ckan.less

  Log Message:
  -----------
  Merge pull request #4666 from shevron/fix-size-of-markdown-h1

Increase size of h1 headings to 1.8em


  Commit: ad8883810a9238c25c39614a63a82863f278d40b
      https://github.com/ckan/ckan/commit/ad8883810a9238c25c39614a63a82863f278d40b
  Author: Shahar Evron <shahar at shoppimon.com>
  Date:   2019-03-06 (Wed, 06 Mar 2019)

  Changed paths:
    M ckan/templates/user/read_base.html

  Log Message:
  -----------
  Fix block / div nesting in the user/read_base template


  Commit: 71e359b604b79362313833b6d9d7f68ea78ce15e
      https://github.com/ckan/ckan/commit/71e359b604b79362313833b6d9d7f68ea78ce15e
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2019-03-06 (Wed, 06 Mar 2019)

  Changed paths:
    M ckan/templates/user/read_base.html

  Log Message:
  -----------
  Merge pull request #4672 from shevron/fix-user-read-template-bad-nesting

Fix broken block / div nesting in the user/read_base template


  Commit: 1cccbdb42025417fb350b0bd27f025d3b94a2228
      https://github.com/ckan/ckan/commit/1cccbdb42025417fb350b0bd27f025d3b94a2228
  Author: cclauss <cclauss at me.com>
  Date:   2019-03-09 (Sat, 09 Mar 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis CI: The sudo tag is deprecated

[Travis are now recommending removing the __sudo__ tag](https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration).

"_If you currently specify __sudo: false__ in your __.travis.yml__, we recommend removing that configuration_"


  Commit: 28daa10bbefb4eca8d41f00d467ef2b239e2b3fc
      https://github.com/ckan/ckan/commit/28daa10bbefb4eca8d41f00d467ef2b239e2b3fc
  Author: Bruno Lavoie <bl at brunol.com>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M ckan/migration/versions/065_add_email_notifications_preference.py

  Log Message:
  -----------
  Do not prefix with schema public

Fix the migration to be schema agnostic, and let PostgreSQL Search Path 
work as expected.

Also, quote user table name because it is a reserved word.


  Commit: f54b4ee9b54d00c41c50d7318c0f2430c44f9d4c
      https://github.com/ckan/ckan/commit/f54b4ee9b54d00c41c50d7318c0f2430c44f9d4c
  Author: Bruno Lavoie <bl at brunol.com>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M ckan/migration/versions/065_add_email_notifications_preference.py

  Log Message:
  -----------
  [#4678] Do not prefix with schema public

Fix the migration to be schema agnostic, and let PostgreSQL Search Path 
work as expected.

Also, quote user table name because it is a reserved word.


  Commit: ae2a6344e1bf255f9b1240a28a75354b92f6c8c1
      https://github.com/ckan/ckan/commit/ae2a6344e1bf255f9b1240a28a75354b92f6c8c1
  Author: Bruno Lavoie <bl at brunol.com>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:

  Log Message:
  -----------
  Merge branch '4678-fix-explicit-public-schema' of github.com:blavoie/ckan into 4678-fix-explicit-public-schema


  Commit: eae42ca611a541488e748ce3a51d98b1c99507aa
      https://github.com/ckan/ckan/commit/eae42ca611a541488e748ce3a51d98b1c99507aa
  Author: Sergey <tonnydexter at gmail.com>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Merge pull request #4669 from Zharktas/remove_deprecated_resource_preview_notices_from_logs

Remove calls to deprecated _resource_preview


  Commit: b27ac3f31b4d840635f825256c49826bd40174ee
      https://github.com/ckan/ckan/commit/b27ac3f31b4d840635f825256c49826bd40174ee
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M ckan/migration/versions/065_add_email_notifications_preference.py

  Log Message:
  -----------
  Merge pull request #4679 from blavoie/4678-fix-explicit-public-schema

4678 fix explicit public schema


  Commit: 9563a34265f2b0894f92f81eccf07f241e4aef24
      https://github.com/ckan/ckan/commit/9563a34265f2b0894f92f81eccf07f241e4aef24
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Merge pull request #4677 from cclauss/patch-1

Travis CI: The sudo tag is deprecated


  Commit: 5586aefe307b202f3eab53c35284fc0a27a2b52f
      https://github.com/ckan/ckan/commit/5586aefe307b202f3eab53c35284fc0a27a2b52f
  Author: Ian Ward <ian at excess.org>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M ckan/lib/search/__init__.py
    M contrib/docker/solr/solrconfig.xml

  Log Message:
  -----------
  Merge pull request #4536 from frafra/managed-index-schema-factory

Switching from schema.xml to ManagedSchema


  Commit: 793f57fc19ae0d1b3c38319118589f08716f1a08
      https://github.com/ckan/ckan/commit/793f57fc19ae0d1b3c38319118589f08716f1a08
  Author: Konstantin Sivakov <konstantin.sivakov at keitaro.com>
  Date:   2019-03-14 (Thu, 14 Mar 2019)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/views/user.py

  Log Message:
  -----------
  Merge pull request #4662 from PopulateTools/fix-hardcoded-paths

Fix hardcoded root paths


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

  Changed paths:
    M .travis.yml
    M ckan/controllers/package.py
    M ckan/controllers/user.py
    M ckan/lib/search/__init__.py
    M ckan/migration/versions/065_add_email_notifications_preference.py
    M ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/less/ckan.less
    M ckan/templates/user/read_base.html
    M ckan/views/user.py
    M contrib/docker/solr/solrconfig.xml

  Log Message:
  -----------
  Merge branch 'master' into 3484_revision_ui_removal2


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

  Changed paths:
    M .travis.yml
    M CHANGELOG.rst
    M ckan/controllers/package.py
    M ckan/controllers/user.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/search/__init__.py
    M ckan/logic/action/get.py
    M ckan/migration/migrate_package_activity.py
    M ckan/migration/revision_legacy_code.py
    M ckan/migration/versions/065_add_email_notifications_preference.py
    A ckan/migration/versions/088_package_activity_migration_check.py
    M ckan/model/__init__.py
    M ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/less/ckan.less
    M ckan/templates-bs2/package/base.html
    M ckan/templates/user/read_base.html
    M ckan/tests/lib/dictization/test_model_dictize.py
    M ckan/tests/migration/test_migrate_package_activity.py
    M ckan/tests/migration/test_revision_legacy_code.py
    M ckan/views/user.py
    M contrib/docker/solr/solrconfig.xml

  Log Message:
  -----------
  Merge branch '3484_revision_ui_removal2' into remove-vdm


Compare: https://github.com/ckan/ckan/compare/d81a83a643f8...d3203f6e3d69



More information about the ckan-changes mailing list