Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.17.4
- update compatible versions list for CKAN 2.11.7 (also listing
CKAN 2.11.5 and 2.11.6, which are compatible with the same releases)
1.17.3
- update compatible versions list
- tests: own the docker image
Expand Down
3 changes: 3 additions & 0 deletions dcor_control/resources/compatible_versions.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ckan ckanext-dc_log_view ckanext-dc_serve ckanext-dc_view ckanext-dcor_depot ckanext-dcor_schemas ckanext-dcor_theme dcor_control dcor_shared
2.11.7 1.0.1 1.0.10 1.0.3 1.0.6 1.2.0 1.1.5 1.17.4 1.0.4
2.11.6 1.0.1 1.0.10 1.0.3 1.0.6 1.2.0 1.1.5 1.17.4 1.0.4
2.11.5 1.0.1 1.0.10 1.0.3 1.0.6 1.2.0 1.1.5 1.17.4 1.0.4
2.11.3 1.0.0 1.0.7 1.0.2 1.0.3 1.1.0 1.1.4 1.17.3 1.0.4
2.11.3 1.0.0 1.0.7 1.0.1 1.0.3 1.0.2 1.1.3 1.17.2 1.0.4
2.11.3 1.0.0 1.0.7 1.0.1 1.0.3 1.0.0 1.1.2 1.17.1 1.0.4
Expand Down
9 changes: 9 additions & 0 deletions tests/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
# latest version always returns None
("ckanext-dc_log_view", None, None),
("ckanext-dc_log_view", "2.9.0", "0.2.2"),
# CKAN 2.11.7 is the latest version listed
("ckanext-dcor_theme", "2.11.7", None),
# releases for CKAN 2.11.7 also work with
# CKAN 2.11.5 and 2.11.6
("ckanext-dcor_theme", "2.11.6", "1.1.5"),
("ckanext-dcor_schemas", "2.11.5", "1.2.0"),
("ckanext-dc_serve", "2.11.5", "1.0.10"),
# CKAN 2.11.3 keeps the previous releases
("ckanext-dcor_theme", "2.11.3", "1.1.4"),
])
def test_get_max_compatible_version(name, ckan_version, version):
assert update.get_max_compatible_version(
Expand Down
Loading