Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #27 from linuxserver/main-deprecate
Browse files Browse the repository at this point in the history
Deprecate (main)
  • Loading branch information
thespad authored Apr 23, 2024
2 parents aa20a3f + 3a863f4 commit 7b3bf6b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a Python 3
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_blurb_optional_extras_enabled: false

project_deprecation_status: true
project_deprecation_message: |
Please migrate to our Kometa image instead:
https://github.com/linuxserver/docker-kometa
# supported architectures
available_architectures:
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
Expand Down Expand Up @@ -61,6 +66,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "22.04.24:", desc: "Deprecate."}
- { date: "22.04.24:", desc: "Update backend to reflect upstream repo rename."}
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
- { date: "10.06.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
Expand Down
8 changes: 4 additions & 4 deletions root/etc/s6-overlay/s6-rc.d/init-pmm-oneshot/run
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ if [[ -n "${CONFIG_FILE}" ]] && [[ ! -e "${CONFIG_FILE}" ]]; then
fi

if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py "${CLI_OPTIONS[@]}"
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; then
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --run "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --run "${CLI_OPTIONS[@]}"
else
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
fi
8 changes: 4 additions & 4 deletions root/etc/s6-overlay/s6-rc.d/svc-pmm/run
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ fi

if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
exec \
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py "${CLI_OPTIONS[@]}"
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; then
exec \
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
exec \
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
else
exec \
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
fi

0 comments on commit 7b3bf6b

Please sign in to comment.