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

Update ckanext-harvest to mjanez version to enhance privacy and security for remote harvesting #163

Merged
merged 1 commit into from
Nov 10, 2024
Merged
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
4 changes: 2 additions & 2 deletions ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# CKAN configuration & extensions
## XLoader - 1.0.1-stable (mjanez/Forked fixed version) ##
## Harvest - v1.5.6 (Worker with supervisor) ##
## Harvest - v1.5.6 (mjanez Enhanced Privacy and Security for Remote Harvesting) ##
## Geoview - v0.2.0 ##
## Spatial - v2.1.1 ##
## DCAT - v1.8.0 (Latest stable version of ckanext-dcat with minor fixes) ##
Expand All @@ -24,7 +24,7 @@
## Fluent - v1.0.1 (mjanez/Forked stable version) ##
## OpenAPI - v1.0.0 (mjanez stable version) ##
## Scheming DCAT - v4.2.2 (mjanez/GeoDCAT-AP/NTI-RISP extended version) ##
RUN echo ${TZ} > /etc/timezone && \

Check warning on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check notice on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Avoid additional packages by specifying `--no-install-recommends`

Check warning on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

SC3013 warning: In POSIX sh, -ef is undefined.

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3015 info: Avoid additional packages by specifying `--no-install-recommends`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

SC3013 warning: In POSIX sh, -ef is undefined.

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3015 info: Avoid additional packages by specifying `--no-install-recommends`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

SC3013 warning: In POSIX sh, -ef is undefined.

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3015 info: Avoid additional packages by specifying `--no-install-recommends`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`
if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then cp /usr/share/zoneinfo/${TZ} /etc/localtime; fi && \
# Install patch utility
apt-get update && \
Expand All @@ -37,7 +37,7 @@
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-xloader/requirements.txt && \
pip3 install --no-cache-dir -U requests[security] && \
echo "ckan/ckanext-harvest" && \
pip3 install --no-cache-dir -e git+https://github.com/ckan/[email protected]#egg=ckanext-harvest && \
pip3 install --no-cache-dir -e git+https://github.com/mjanez/[email protected]#egg=ckanext-harvest && \
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-harvest/requirements.txt && \
echo "ckan/ckanext-geoview" && \
pip3 install --no-cache-dir -e git+https://github.com/ckan/[email protected]#egg=ckanext-geoview && \
Expand Down Expand Up @@ -72,7 +72,7 @@
# Apply any patches needed to CKAN core
COPY patches patches

RUN for d in $APP_DIR/patches/*; do \

Check warning on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Use WORKDIR to switch to a directory

Check warning on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

SC2086 info: Double quote to prevent globbing and word splitting.

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

SC2086 info: Double quote to prevent globbing and word splitting.

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

SC2086 info: Double quote to prevent globbing and word splitting.

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / manual/build-docker-push:ckan-2.10.5

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
if [ -d $d ]; then \
for f in `ls $d/*.patch | sort -g`; do \
cd $SRC_DIR/`basename "$d"` && \
Expand Down
Loading