From 1685c57b461ba1d11b5dbd4341e5a2def9c65c83 Mon Sep 17 00:00:00 2001 From: thelamer Date: Wed, 2 Feb 2022 14:05:32 -0800 Subject: [PATCH] deprecate --- .github/ISSUE_TEMPLATE/issue.bug.md | 9 +++++++++ .github/ISSUE_TEMPLATE/issue.feature.md | 9 +++++++++ .github/PULL_REQUEST_TEMPLATE.md | 9 +++++++++ .github/workflows/greetings.yml | 4 ++-- Jenkinsfile | 8 +++++++- README.md | 10 ++++++++++ readme-vars.yml | 9 +++++++++ root/etc/cont-init.d/99-deprecation | 24 ++++++++++++++++++++++++ 8 files changed, 79 insertions(+), 3 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 6db579a..bd5c49f 100755 --- a/.github/ISSUE_TEMPLATE/issue.bug.md +++ b/.github/ISSUE_TEMPLATE/issue.bug.md @@ -3,6 +3,15 @@ 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. +Please use the official IPFS container here: +https://hub.docker.com/r/ipfs/go-ipfs +When this project started the web interface was not integrated well +with the default IPFS server. Now it is great and well maintained, hosting +it on a static webserver does not make much sense anymore. + [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..a76e386 100755 --- a/.github/ISSUE_TEMPLATE/issue.feature.md +++ b/.github/ISSUE_TEMPLATE/issue.feature.md @@ -3,6 +3,15 @@ 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. +Please use the official IPFS container here: +https://hub.docker.com/r/ipfs/go-ipfs +When this project started the web interface was not integrated well +with the default IPFS server. Now it is great and well maintained, hosting +it on a static webserver does not make much sense anymore. + [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 bd60199..0592dba 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,12 @@ +# DEPRECATION NOTICE + +This image is deprecated. We will not offer support for this image and it will not be updated. +Please use the official IPFS container here: +https://hub.docker.com/r/ipfs/go-ipfs +When this project started the web interface was not integrated well +with the default IPFS server. Now it is great and well maintained, hosting +it on a static webserver does not make much sense anymore. + [linuxserverurl]: https://linuxserver.io diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 4d37a1f..0545dbe 100644 --- 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-ipfs/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-ipfs/blob/master/.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-ipfs/blob/master/.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-ipfs/blob/master/README.md) may have additional information. Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-ipfs/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-ipfs/blob/master/.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-ipfs/blob/master/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-ipfs/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!' repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Jenkinsfile b/Jenkinsfile index 6a3e3f8..95a2e56 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,7 +59,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 .editorconfig ./.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' + env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.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/etc/cont-init.d/99-deprecation' } script{ env.LS_RELEASE_NUMBER = sh( @@ -322,6 +322,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 @@ -329,6 +330,7 @@ pipeline { git add .gitignore fi git add ${TEMPLATED_FILES} + git rm ${TEMPDIR}/repo/${LS_REPO}/.github/workflows/{external_trigger,external_trigger_scheduler,package_trigger,package_trigger_scheduler}.yml || : git commit -m 'Bot Updating Templated Files' git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER} @@ -352,6 +354,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 58a9c40..1a6e00d 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,15 @@ 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. +Please use the official IPFS container here: +https://hub.docker.com/r/ipfs/go-ipfs +When this project started the web interface was not integrated well +with the default IPFS server. Now it is great and well maintained, hosting +it on a static webserver does not make much sense anymore. + # [linuxserver/ipfs](https://github.com/linuxserver/docker-ipfs) [![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fipfs?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fipfs) @@ -242,6 +251,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **02.02.22:** - Deprecate. * **19.09.21:** - Build webui from source. Update code formatting. Rebase to Alpine 3.14. * **01.04.21:** - Add migration bins to image to support upgrades. * **24.02.20:** - Rebase to Alpine 3.13. diff --git a/readme-vars.yml b/readme-vars.yml index 73e3d53..b9197fb 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -8,6 +8,14 @@ project_blurb: | [{{ project_name|capitalize }}]({{ project_url }}) - A peer-to-peer hypermedia protocol designed to make the web faster, safer, and more open. project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" +project_deprecation_status: true +project_deprecation_message: | + Please use the official IPFS container here: + https://hub.docker.com/r/ipfs/go-ipfs + When this project started the web interface was not integrated well + with the default IPFS server. Now it is great and well maintained, hosting + it on a static webserver does not make much sense anymore. + # supported architectures available_architectures: - { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"} @@ -50,6 +58,7 @@ app_setup_block: | # changelog changelogs: + - { date: "02.02.22:", desc: "Deprecate." } - { date: "19.09.21:", desc: "Build webui from source. Update code formatting. Rebase to Alpine 3.14." } - { date: "01.04.21:", desc: "Add migration bins to image to support upgrades." } - { date: "24.02.20:", desc: "Rebase to Alpine 3.13." } diff --git a/root/etc/cont-init.d/99-deprecation b/root/etc/cont-init.d/99-deprecation new file mode 100644 index 0000000..774f423 --- /dev/null +++ b/root/etc/cont-init.d/99-deprecation @@ -0,0 +1,24 @@ +#!/usr/bin/with-contenv bash + +echo ' +****************************************************** +****************************************************** +* * +* * +* This image is deprecated. * +* We will not offer support for this image * +* and it will not be updated. * +* * +* * +****************************************************** +****************************************************** + +Please use the official IPFS container here: +https://hub.docker.com/r/ipfs/go-ipfs +When this project started the web interface was not integrated well +with the default IPFS server. Now it is great and well maintained, hosting +it on a static webserver does not make much sense anymore. + + +****************************************************** +******************************************************'