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

Weekly release 2023-09-25 #82

Merged
merged 8 commits into from
Sep 25, 2023
Merged

Weekly release 2023-09-25 #82

merged 8 commits into from
Sep 25, 2023

Conversation

jrdh
Copy link
Member

@jrdh jrdh commented Sep 25, 2023

In CKAN 2.10, they have renamed the IPackageController hooks. This really should have been a major change as it breaks the public API but hey ho here we are. To accommodate this while also supporting CKAN 2.9, I have renamed the hook functions we were using to their new CKAN 2.10 variants and then added functions which just call those functions which have the old CKAN 2.9 names. This is ok in this extension as we're not using any interfaces which have a name clash with the old names.

The old names should be removed as soon as we stop supporting CKAN 2.9 cause it's ugly stuff.
This commit contains a container rename, the base container isn't ckan anymore as there are now two test running containers: latest which runs tests on the ckantest latest image (currently 2.9.9) and next which run tests on the ckantest next image (currently 2.10.1).
In CKAN 2.9 the package controller hook functions are called (for example) after_create but in CKAN 2.10 they've changed to (for example) after_dataset_create. These tests confirm a few things to do with these functions, but mainly they've been added to confirm that on 2.9 and 2.10 the hooks work correctly.
@jrdh jrdh merged commit a11cecc into main Sep 25, 2023
2 checks passed
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.

1 participant