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

Change upstream endpoints to new repo (develop) #23

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/external_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
echo "**** External trigger running off of develop branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_PLEX_META_MANAGER_DEVELOP\". ****"
echo "External trigger running off of develop branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_PLEX_META_MANAGER_DEVELOP\`" >> $GITHUB_STEP_SUMMARY
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/meisnate12/Plex-Meta-Manager/commits/develop" | jq -r '. | .sha' | cut -c1-8)
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/Kometa-Team/Kometa/commits/develop" | jq -r '. | .sha' | cut -c1-8)
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****"
FAILURE_REASON="Can't retrieve external version for plex-meta-manager branch develop"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ RUN \
libxslt \
python3 && \
if [ -z ${PMM_VERSION+x} ]; then \
PMM_VERSION=$(curl -s "https://api.github.com/repos/meisnate12/Plex-Meta-Manager/commits/develop" \
PMM_VERSION=$(curl -s "https://api.github.com/repos/Kometa-Team/Kometa/commits/develop" \
| jq -r '. | .sha' | cut -c1-8); \
fi && \
mkdir -p /app/pmm && \
curl -o \
/tmp/pmm.tar.gz -L \
"https://github.com/meisnate12/Plex-Meta-Manager/archive/${PMM_VERSION}.tar.gz" && \
"https://github.com/Kometa-Team/Kometa/archive/${PMM_VERSION}.tar.gz" && \
tar xf \
/tmp/pmm.tar.gz -C \
/app/pmm --strip-components=1 && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ RUN \
libxslt \
python3 && \
if [ -z ${PMM_VERSION+x} ]; then \
PMM_VERSION=$(curl -s "https://api.github.com/repos/meisnate12/Plex-Meta-Manager/commits/develop" \
PMM_VERSION=$(curl -s "https://api.github.com/repos/Kometa-Team/Kometa/commits/develop" \
| jq -r '. | .sha' | cut -c1-8); \
fi && \
mkdir -p /app/pmm && \
curl -o \
/tmp/pmm.tar.gz -L \
"https://github.com/meisnate12/Plex-Meta-Manager/archive/${PMM_VERSION}.tar.gz" && \
"https://github.com/Kometa-Team/Kometa/archive/${PMM_VERSION}.tar.gz" && \
tar xf \
/tmp/pmm.tar.gz -C \
/app/pmm --strip-components=1 && \
Expand Down
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pipeline {
GITLAB_NAMESPACE=credentials('gitlab-namespace-id')
DOCKERHUB_TOKEN=credentials('docker-hub-ci-pat')
EXT_GIT_BRANCH = 'develop'
EXT_USER = 'meisnate12'
EXT_REPO = 'Plex-Meta-Manager'
EXT_USER = 'Kometa-Team'
EXT_REPO = 'Kometa'
BUILD_VERSION_ARG = 'PMM_VERSION'
LS_USER = 'linuxserver'
LS_REPO = 'docker-plex-meta-manager'
Expand Down Expand Up @@ -531,7 +531,7 @@ pipeline {
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.title=Plex-meta-manager\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/meisnate12/Plex-Meta-Manager) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/Kometa-Team/Kometa) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
}
Expand Down Expand Up @@ -562,7 +562,7 @@ pipeline {
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.title=Plex-meta-manager\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/meisnate12/Plex-Meta-Manager) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/Kometa-Team/Kometa) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
}
Expand Down Expand Up @@ -590,7 +590,7 @@ pipeline {
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.title=Plex-meta-manager\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/meisnate12/Plex-Meta-Manager) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--label \"org.opencontainers.image.description=[Plex-meta-manager](https://github.com/Kometa-Team/Kometa) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.\" \
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
sh "docker tag ${IMAGE}:arm64v8-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}"
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Find us at:
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-plex-meta-manager%2Fjob%2Fdevelop%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-plex-meta-manager/job/develop/)
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fplex-meta-manager%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/plex-meta-manager/latest/index.html)

[Plex-meta-manager](https://github.com/meisnate12/Plex-Meta-Manager) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.
[Plex-meta-manager](https://github.com/Kometa-Team/Kometa) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki.

[![plex-meta-manager](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-meta-manager-banner.png)](https://github.com/meisnate12/Plex-Meta-Manager)
[![plex-meta-manager](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-meta-manager-banner.png)](https://github.com/Kometa-Team/Kometa)

## Supported Architectures

Expand Down Expand Up @@ -69,13 +69,13 @@ This image provides various versions that are available via tags. Please read th

## Application Setup

There is a [walkthrough](https://metamanager.wiki/en/latest/home/guides/docker.html#setting-up-the-initial-config-file) available to help get you up and running.
There is a [walkthrough](https://kometa.wiki/en/latest/home/guides/docker.html#setting-up-the-initial-config-file) available to help get you up and running.

This image supports all of the environment variables listed [here](https://metamanager.wiki/en/latest/home/environmental.html) and all commandline arguments.
This image supports all of the environment variables listed [here](https://kometa.wiki/en/latest/home/environmental.html) and all commandline arguments.

To perform a one-time run use `docker run` (or `docker-compose run`) with the `--rm` and `-e PMM_RUN=True` arguments. This will cause the container to process your config immediately instead of waiting for the scheduled time, and delete the old container after completion.

For more information see the [official wiki](https://metamanager.wiki).
For more information see the [official wiki](https://kometa.wiki).

## Usage

Expand Down Expand Up @@ -298,6 +298,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **22.04.24:** - Update backend to reflect upstream repo rename.
* **23.12.23:** - Rebase to Alpine 3.19.
* **10.06.23:** - Rebase to Alpine 3.18, deprecate armhf.
* **05.03.23:** - Add nightly branch.
Expand Down
6 changes: 3 additions & 3 deletions jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ ls_branch: develop
build_armhf: false
repo_vars:
- EXT_GIT_BRANCH = 'develop'
- EXT_USER = 'meisnate12'
- EXT_REPO = 'Plex-Meta-Manager'
- EXT_USER = 'Kometa-Team'
- EXT_REPO = 'Kometa'
- BUILD_VERSION_ARG = 'PMM_VERSION'
- LS_USER = 'linuxserver'
- LS_REPO = 'docker-plex-meta-manager'
Expand All @@ -29,4 +29,4 @@ repo_vars:
- CI_AUTH=''
- CI_WEBPATH=''
sponsor_links:
- { name: "Plex-Meta-Manager", url: "https://github.com/sponsors/meisnate12" }
- { name: "Kometa", url: "https://github.com/sponsors/meisnate12" }
15 changes: 8 additions & 7 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# project information
project_name: plex-meta-manager
project_url: "https://github.com/meisnate12/Plex-Meta-Manager"
project_url: "https://github.com/Kometa-Team/Kometa"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-meta-manager-banner.png"
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a Python 3 script that can be continuously run using YAML configuration files to update on a schedule the metadata of the movies, shows, and collections in your libraries as well as automatically build collections based on various methods all detailed in the wiki."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
Expand Down Expand Up @@ -39,9 +39,9 @@ opt_param_usage_include_env: true
opt_param_env_vars:
- { env_var: "PMM_CONFIG", env_value: "/config/config.yml", desc: "Specify a custom config file to use." }
- { env_var: "PMM_TIME", env_value: "03:00", desc: "Comma-separated list of times to update each day. Format: `HH:MM`." }
- { env_var: "PMM_RUN", env_value: "False", desc: "Set to `True` to run without the scheduler." }
- { env_var: "PMM_TEST", env_value: "False", desc: "Set to `True` to run in debug mode with only collections that have `test: true`." }
- { env_var: "PMM_NO_MISSING", env_value: "False", desc: "Set to `True` to run without any of the missing movie/show functions." }
- { env_var: "PMM_RUN", env_value: "False", desc: "Set to `True` to run without the scheduler." }
- { env_var: "PMM_TEST", env_value: "False", desc: "Set to `True` to run in debug mode with only collections that have `test: true`." }
- { env_var: "PMM_NO_MISSING", env_value: "False", desc: "Set to `True` to run without any of the missing movie/show functions." }
opt_param_usage_include_vols: false
opt_param_usage_include_ports: false
opt_param_device_map: false
Expand All @@ -51,16 +51,17 @@ optional_block_1: false
# application setup block
app_setup_block_enabled: true
app_setup_block: |
There is a [walkthrough](https://metamanager.wiki/en/latest/home/guides/docker.html#setting-up-the-initial-config-file) available to help get you up and running.
There is a [walkthrough](https://kometa.wiki/en/latest/home/guides/docker.html#setting-up-the-initial-config-file) available to help get you up and running.

This image supports all of the environment variables listed [here](https://metamanager.wiki/en/latest/home/environmental.html) and all commandline arguments.
This image supports all of the environment variables listed [here](https://kometa.wiki/en/latest/home/environmental.html) and all commandline arguments.

To perform a one-time run use `docker run` (or `docker-compose run`) with the `--rm` and `-e PMM_RUN=True` arguments. This will cause the container to process your config immediately instead of waiting for the scheduled time, and delete the old container after completion.

For more information see the [official wiki](https://metamanager.wiki).
For more information see the [official wiki](https://kometa.wiki).

# changelog
changelogs:
- { 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." }
- { date: "05.03.23:", desc: "Add nightly branch." }
Expand Down
2 changes: 1 addition & 1 deletion root/donate.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Plex-Meta-Manager: https://github.com/sponsors/meisnate12
Kometa: https://github.com/sponsors/meisnate12