Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ckan 2.10 #255

Merged
merged 46 commits into from
Jul 13, 2023
Merged

Ckan 2.10 #255

merged 46 commits into from
Jul 13, 2023

Conversation

nickumia-reisys
Copy link
Contributor

@nickumia-reisys nickumia-reisys commented May 4, 2023

Related to

Changes:

  • Only test 2.9 and 2.10
  • Default to 2.10
  • Update references of solr to solr-bbox for search_backend
  • Update validators from ckan.plugins.toolkit.get_validator to ckan.lib.navl.validators
    • Also add custom valdiator for str
    • (TODO) Come up with a better solution to fixing the validator for context['schema']['id'] and context['schema']['tags']['name']
  • (Breaking for ckan 2.8) Remove deprecated, nonfunctioning and unused code before_action
  • (BREAKING) before_???? deprecated and replaced by before_dataset_????
  • (breaking) Update tests to use SysadminWithToken instead of Sysadmin since apikey has been deprecated in favor of token
  • (BREAKING) Update pyproj from 2.6.1 to 3.4.1 based on spatial requirements
  • (BREAKING) Update geojson from 2.5.0 to 3.0.1 based on spatial requirements

TODO:

Random notes for the future:

Random important references:

Jin-Sun-tts and others added 23 commits April 24, 2023 09:48
[ckanext.spatial.plugin] The  spatial search backend has been renamed to , please update your configuration
Apparently, the format of extras changed... We don't know why exactly, but it had to be from upstream extensions and/or core... this may or may not be acceptable... needs review..
tag lists were unordered and could not be compared, so sort them..
- before_search --> before_dataset_search
- before_index --> before_dataset_index
- after_show --> after_dataset_show
- Reference: ckan/ckan#6501
THIS WAS THE BANE OF MY EXISTENCE FOR FOOOUUURRRR DAYS... But yeah, this changed upstream and we need to reference the new version of solr_backend.  I made a similar change in another repo or an earlier commit
until it is merged into main and released on pypi
Something broke after this commit, hopefully this commit is a working one too..
nickumia-reisys and others added 9 commits July 10, 2023 12:28
Don't give json a reason to parse null into none.. and let the get_geo_from_string run even if json fails
Change the way we capture word-based locations
default to an empty str if nothing else works
@nickumia-reisys nickumia-reisys marked this pull request as ready for review July 11, 2023 19:59
@nickumia-reisys nickumia-reisys requested a review from a team July 11, 2023 19:59
Dockerfile Outdated
@@ -1,4 +1,4 @@
ARG CKAN_VERSION=2.9.5
ARG CKAN_VERSION=2.10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should value be 2.10.1?

Makefile Outdated
@@ -1,4 +1,4 @@
CKAN_VERSION ?= 2.9.7
CKAN_VERSION ?= 2.10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should value be 2.10.1?

@jbrown-xentity
Copy link
Contributor

@btylerburton we should change the required tests, because apparently the required test is for 2.9.7 but now it should be 2.10.1...

@btylerburton
Copy link
Contributor

yeah, i can update that.

@btylerburton
Copy link
Contributor

i'm going to update those CKAN version references to 2.10.1 since Nick's out today.

@btylerburton btylerburton merged commit 8c6fd4f into main Jul 13, 2023
@btylerburton btylerburton deleted the ckan-2.10 branch July 13, 2023 19:09
@FuhuXia
Copy link
Member

FuhuXia commented Jul 18, 2023

CKAN 2.10 is CKAN 2.10.1. No need to limit ourselves to #.#.1 unless we have a reason to pin to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants