From 8f3901dd36f66cdc9d298eb89ae467b3077d3914 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 25 Apr 2024 21:38:15 -0700 Subject: [PATCH] fix edge case in docker_entrypoint where crontabs glob fails to expand --- bin/docker_entrypoint.sh | 1 + pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index 0327e9ee..6261550b 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -18,6 +18,7 @@ # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html # set -o xtrace # set -o nounset +shopt -s nullglob set -o errexit set -o errtrace set -o pipefail diff --git a/pyproject.toml b/pyproject.toml index b1008449..ac1992e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,10 +27,10 @@ dependencies = [ # Feature-Specific Dependencies "python-crontab>=3.0.0", # for: archivebox schedule "croniter>=2.0.5", # for: archivebox schedule - "ipython>=8.23.0", # for: archivebox shell + "ipython>=8.23.0", # for: archivebox shell # Extractor Dependencies "yt-dlp>=2024.4.9", # for: media - "playwright>=1.43.0; platform_machine != 'armv7l'", # WARNING: playwright doesn't have any sdist, causes trouble on build systems that refuse to install wheel-only packages + # "playwright>=1.43.0; platform_machine != 'armv7l'", # WARNING: playwright doesn't have any sdist, causes trouble on build systems that refuse to install wheel-only packages # TODO: add more extractors # - gallery-dl # - scihubdl