From fa50f7d96391db1eb18841e46900c62f32c3cbb4 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 21 Dec 2023 13:58:24 +0000 Subject: [PATCH] Deprecate --- readme-vars.yml | 6 ++++++ .../dependencies.d/init-deprecation-config | 0 .../dependencies.d/init-unifi-controller-config | 0 .../s6-rc.d/init-deprecation-config/run | 17 ----------------- .../s6-rc.d/init-deprecation-config/type | 1 - .../s6-rc.d/init-deprecation-config/up | 1 - .../user/contents.d/init-deprecation-config | 0 7 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-deprecation-config rename root/etc/s6-overlay/s6-rc.d/{init-deprecation-config => init-config-end}/dependencies.d/init-unifi-controller-config (100%) delete mode 100755 root/etc/s6-overlay/s6-rc.d/init-deprecation-config/run delete mode 100644 root/etc/s6-overlay/s6-rc.d/init-deprecation-config/type delete mode 100644 root/etc/s6-overlay/s6-rc.d/init-deprecation-config/up delete mode 100644 root/etc/s6-overlay/s6-rc.d/user/contents.d/init-deprecation-config diff --git a/readme-vars.yml b/readme-vars.yml index 66aa4c06..14ebee09 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -7,6 +7,11 @@ project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/ma project_blurb: "The [{{ project_name|capitalize }}]({{ project_url }}) software is a powerful, enterprise wireless software engine ideal for high-density client deployments requiring low latency and high uptime performance." project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" +project_deprecation_status: true +project_deprecation_message: | + We recommend our unifi-network-application image instead: + https://github.com/linuxserver/docker-unifi-network-application + # supported architectures available_architectures: - { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"} @@ -75,6 +80,7 @@ app_setup_block: | # changelog changelogs: + - { date: "01.01.24:", desc: "Deprecate."} - { date: "05.09.23:", desc: "Add deprecation warning as per [https://info.linuxserver.io/issues/2023-09-06-unifi-controller](https://info.linuxserver.io/issues/2023-09-06-unifi-controller)."} - { date: "04.09.23:", desc: "Bump JRE to 17 to support v7.5."} - { date: "02.05.23:", desc: "Cleanup `apt-get install` during build to reduce image size."} diff --git a/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-deprecation-config b/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-deprecation-config deleted file mode 100644 index e69de29b..00000000 diff --git a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/dependencies.d/init-unifi-controller-config b/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-unifi-controller-config similarity index 100% rename from root/etc/s6-overlay/s6-rc.d/init-deprecation-config/dependencies.d/init-unifi-controller-config rename to root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-unifi-controller-config diff --git a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/run b/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/run deleted file mode 100755 index bdf70d8a..00000000 --- a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/run +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/with-contenv bash -# shellcheck shell=bash - -echo "┌─────────────────────────────────────────────────────────────────────────────┐" -echo "│ │" -echo "| From 2024-01-01 this image will be deprecated │" -echo "| and it will no longer be updated. │" -echo "│ │" -echo "│ See: https://info.linuxserver.io/issues/2023-09-06-unifi-controller |" -echo "| for more details. │" -echo "│ │" -echo "├─────────────────────────────────────────────────────────────────────────────┤" -echo "│ │" -echo "│ Please migrate to our Unifi Network Application image instead: │" -echo "│ https://github.com/linuxserver/docker-unifi-network-application │" -echo "│ │" -echo "└─────────────────────────────────────────────────────────────────────────────┘" diff --git a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/type b/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/type deleted file mode 100644 index bdd22a18..00000000 --- a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/up b/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/up deleted file mode 100644 index 1d01d5e5..00000000 --- a/root/etc/s6-overlay/s6-rc.d/init-deprecation-config/up +++ /dev/null @@ -1 +0,0 @@ -/etc/s6-overlay/s6-rc.d/init-deprecation-config/run diff --git a/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-deprecation-config b/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-deprecation-config deleted file mode 100644 index e69de29b..00000000