From 6205040eac625bef8b02c802ede5dc617921f33f Mon Sep 17 00:00:00 2001 From: aptalca Date: Wed, 23 Jun 2021 11:45:42 -0400 Subject: [PATCH] deprecate --- .github/ISSUE_TEMPLATE/issue.bug.md | 6 ++++++ .github/ISSUE_TEMPLATE/issue.feature.md | 6 ++++++ .github/PULL_REQUEST_TEMPLATE.md | 6 ++++++ .github/workflows/greetings.yml | 4 ++-- Jenkinsfile | 7 ++++++- README.md | 9 ++++++++- readme-vars.yml | 9 ++++++++- root/etc/cont-init.d/99-deprecation | 21 +++++++++++++++++++++ 8 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 root/etc/cont-init.d/99-deprecation diff --git a/.github/ISSUE_TEMPLATE/issue.bug.md b/.github/ISSUE_TEMPLATE/issue.bug.md index 7df1f84..12809e7 100755 --- a/.github/ISSUE_TEMPLATE/issue.bug.md +++ b/.github/ISSUE_TEMPLATE/issue.bug.md @@ -3,6 +3,12 @@ name: Bug report about: Create a report to help us improve --- +# DEPRECATION NOTICE + +This image is deprecated. We will not offer support for this image and it will not be updated. +The "bionic" tag has been deprecated. +Please use the "latest" tag instead. + [linuxserverurl]: https://linuxserver.io [![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl] diff --git a/.github/ISSUE_TEMPLATE/issue.feature.md b/.github/ISSUE_TEMPLATE/issue.feature.md index 20a91fd..e44737e 100755 --- a/.github/ISSUE_TEMPLATE/issue.feature.md +++ b/.github/ISSUE_TEMPLATE/issue.feature.md @@ -3,6 +3,12 @@ name: Feature request about: Suggest an idea for this project --- +# DEPRECATION NOTICE + +This image is deprecated. We will not offer support for this image and it will not be updated. +The "bionic" tag has been deprecated. +Please use the "latest" tag instead. + [linuxserverurl]: https://linuxserver.io [![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl] diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f8f8982..1a9e26d 100755 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,9 @@ +# DEPRECATION NOTICE + +This image is deprecated. We will not offer support for this image and it will not be updated. +The "bionic" tag has been deprecated. +Please use the "latest" tag instead. + [linuxserverurl]: https://linuxserver.io diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index edde155..0316b3b 100755 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -8,6 +8,6 @@ jobs: steps: - uses: actions/first-interaction@v1 with: - issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!' - pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/PULL_REQUEST_TEMPLATE.md)!' + issue-message: 'This image is deprecated. We will not offer support for this image and it will not be updated. The [README](https://github.com/linuxserver/docker-jellyfin/blob/bionic/README.md) may have additional information. Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!' + pr-message: 'This image is deprecated. We will not offer support for this image and it will not be updated. The [README](https://github.com/linuxserver/docker-jellyfin/blob/bionic/README.md) may have additional information. Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-jellyfin/blob/bionic/.github/PULL_REQUEST_TEMPLATE.md)!' repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Jenkinsfile b/Jenkinsfile index f69076b..970714b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,7 +55,7 @@ pipeline { env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/' env.PULL_REQUEST = env.CHANGE_ID - env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml ./root/donate.txt' + env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml ./root/donate.txt ./root/etc/cont-init.d/99-deprecation' } script{ env.LS_RELEASE_NUMBER = sh( @@ -285,6 +285,7 @@ pipeline { cd ${TEMPDIR}/docker-${CONTAINER_NAME} mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE + mkdir -p ${TEMPDIR}/repo/${LS_REPO}/root/etc/cont-init.d cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || : cd ${TEMPDIR}/repo/${LS_REPO}/ if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then @@ -315,6 +316,10 @@ pipeline { fi if [[ ("${BRANCH_NAME}" == "master") || ("${BRANCH_NAME}" == "main") ]] && [[ (! -f ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml) || ("$(md5sum ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml | awk '{ print $1 }')") ]]; then cd ${TEMPDIR}/unraid/templates/ + if ! grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then + echo "${CONTAINER_NAME}" >> ${TEMPDIR}/unraid/templates/unraid/ignore.list + git add unraid/ignore.list + fi if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then echo "Image is on the ignore list, removing Unraid template" git rm unraid/${CONTAINER_NAME}.xml || : diff --git a/README.md b/README.md index fd44bdc..ee847ff 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,12 @@ Find us at: * [GitHub](https://github.com/linuxserver) - view the source for all of our repositories. * [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget +# DEPRECATION NOTICE + +This image is deprecated. We will not offer support for this image and it will not be updated. +The "bionic" tag has been deprecated. +Please use the "latest" tag instead. + # [linuxserver/jellyfin](https://github.com/linuxserver/docker-jellyfin) [![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-jellyfin.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-jellyfin) @@ -64,7 +70,7 @@ This image provides various versions that are available via tags. `latest` tag u | Tag | Description | | :----: | --- | | latest | Stable Jellyfin releases on Focal baseimage | -| bionic | Stable Jellyfin releases on Bionic baseimage | +| bionic | DEPRECATED, no longer updated - Stable Jellyfin releases on Bionic baseimage | | nightly | Nightly Jellyfin releases | ## Application Setup @@ -325,6 +331,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **23.06.21:** - Deprecate the Bionic tag. * **23.11.20:** - Rebase to Focal, branch off Bionic. * **22.07.20:** - Ingest releases from Jellyfin repo. * **28.04.20:** - Replace MMAL/OMX dependency device `/dev/vc-mem` with `/dev/vcsm` as the former was not sufficient for raspbian. diff --git a/readme-vars.yml b/readme-vars.yml index 656f4a2..192aa44 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -7,6 +7,12 @@ project_logo: "https://raw.githubusercontent.com/jellyfin/jellyfin-ux/master/bra project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. Jellyfin is descended from Emby's 3.5.2 release and ported to the .NET Core framework to enable full cross-platform support. There are no strings attached, no premium licenses or features, and no hidden agendas: just a team who want to build something better and work together to achieve it." +project_deprecation_status: true +project_deprecation_message: | + The "bionic" tag has been deprecated. + Please use the "latest" tag instead. + + # supported architectures available_architectures: - { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"} @@ -17,7 +23,7 @@ available_architectures: development_versions: true development_versions_items: - { tag: "latest", desc: "Stable Jellyfin releases on Focal baseimage" } - - { tag: "bionic", desc: "Stable Jellyfin releases on Bionic baseimage" } + - { tag: "bionic", desc: "DEPRECATED, no longer updated - Stable Jellyfin releases on Bionic baseimage" } - { tag: "nightly", desc: "Nightly Jellyfin releases" } # container parameters @@ -114,6 +120,7 @@ app_setup_block: | # changelog changelogs: + - { date: "23.06.21:", desc: "Deprecate the Bionic tag." } - { date: "23.11.20:", desc: "Rebase to Focal, branch off Bionic." } - { date: "22.07.20:", desc: "Ingest releases from Jellyfin repo." } - { date: "28.04.20:", desc: "Replace MMAL/OMX dependency device `/dev/vc-mem` with `/dev/vcsm` as the former was not sufficient for raspbian." } diff --git a/root/etc/cont-init.d/99-deprecation b/root/etc/cont-init.d/99-deprecation new file mode 100644 index 0000000..82de7ba --- /dev/null +++ b/root/etc/cont-init.d/99-deprecation @@ -0,0 +1,21 @@ +#!/usr/bin/with-contenv bash + +echo ' +****************************************************** +****************************************************** +* * +* * +* This image is deprecated. * +* We will not offer support for this image * +* and it will not be updated. * +* * +* * +****************************************************** +****************************************************** + +The "bionic" tag has been deprecated. +Please use the "latest" tag instead. + + +****************************************************** +******************************************************'