-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[upgrade][l] Upgrade to 2.10 and fix extensions and new features (#170)
- Loading branch information
1 parent
f6c9b62
commit 301cce8
Showing
30 changed files
with
1,612 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
include .env | ||
.PHONY: build-base-images dev-2.9 base-2.9 | ||
.PHONY: build-base-images dev-2.10 base-2.10 | ||
|
||
MAKEFLAGS += -j2 | ||
|
||
build-base-images: dev-2.9 | ||
build-base-images: dev-2.10 | ||
|
||
dev-2.9: base-2.9 | ||
docker build -t $(CKAN_SERVICE_IMAGE) -f ckan-build/ckan-service/Dockerfile . --build-arg baseImage=${CKAN_BASE_IMAGE} | ||
dev-2.10: base-2.10 | ||
docker build -t $(CKAN_SERVICE_IMAGE) -f ckan-build/ckan-service/Dockerfile . --build-arg baseImage=${CKAN_BASE_IMAGE} --progress=plain | ||
|
||
base-2.9: | ||
base-2.10: | ||
docker build -t $(CKAN_BASE_IMAGE) -f ckan-build/ckan/Dockerfile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
ckan-build/ckan-service/patches/ckan/azure_sql_string.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
ckan-build/ckan-service/patches/ckan/link_header_fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/ckanext/resourceproxy/blueprint.py b/ckanext/resourceproxy/blueprint.py | ||
index 035b144c5..e968d66a7 100644 | ||
--- a/ckanext/resourceproxy/blueprint.py | ||
+++ b/ckanext/resourceproxy/blueprint.py | ||
@@ -68,7 +68,7 @@ def proxy_resource(context: Context, data_dict: DataDict): | ||
if not did_get: | ||
r = requests.get(url, timeout=timeout, stream=True) | ||
|
||
- response.headers[u'content-type'] = r.headers[u'content-type'] | ||
+ response.headers[u'content-type'] = r.headers.get(u'content-type') | ||
response.charset = r.encoding or "utf-8" | ||
|
||
length = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.