Przeglądaj źródła

fix edge case in docker_entrypoint where crontabs glob fails to expand

Nick Sweeting 1 rok temu
rodzic
commit
8f3901dd36
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 1 0
      bin/docker_entrypoint.sh
  2. 2 2
      pyproject.toml

+ 1 - 0
bin/docker_entrypoint.sh

@@ -18,6 +18,7 @@
 # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
 # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
 # set -o xtrace
 # set -o xtrace
 # set -o nounset
 # set -o nounset
+shopt -s nullglob
 set -o errexit
 set -o errexit
 set -o errtrace
 set -o errtrace
 set -o pipefail
 set -o pipefail

+ 2 - 2
pyproject.toml

@@ -27,10 +27,10 @@ dependencies = [
     # Feature-Specific Dependencies
     # Feature-Specific Dependencies
     "python-crontab>=3.0.0",          # for: archivebox schedule
     "python-crontab>=3.0.0",          # for: archivebox schedule
     "croniter>=2.0.5",                # 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
     # Extractor Dependencies
     "yt-dlp>=2024.4.9",               # for: media
     "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
     # TODO: add more extractors
     #  - gallery-dl
     #  - gallery-dl
     #  - scihubdl
     #  - scihubdl