From ed88a654fe5ed94f3f798a0aba27820bb1e1161f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 31 Mar 2024 23:46:55 +0200 Subject: [PATCH] TOML style, add toml schemas --- manifest.toml | 33 ++++++++++++++++++++++++++++----- tests.toml | 2 ++ 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5b15a0a..3d240e8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -1,3 +1,5 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json + packaging_format = 2 id = "immich" @@ -11,7 +13,7 @@ maintainers = ["ewilly"] [upstream] license = "AGPL-3.0-or-later" -website = "https://www.immich.app" +website = "https://immich.app" admindoc = "https://github.com/immich-app/immich#getting-started" userdoc = "https://github.com/immich-app/immich#getting-started" code = "https://github.com/immich-app/immich" @@ -66,11 +68,32 @@ ram.runtime = "500M" api.protected = true [resources.apt] - packages = ["python3-venv", "python3-dev", "ffmpeg", "postgresql", "wget", "build-essential", "libreadline-dev", "libncursesw5-dev", "libssl-dev", "libsqlite3-dev", "tk-dev", "libgdbm-dev", "libc6-dev", "libbz2-dev", "libffi-dev", "zlib1g-dev", "unzip"] + packages = [ + "python3-venv", + "python3-dev", + "ffmpeg", + "postgresql", + "wget", + "build-essential", + "libreadline-dev", + "libncursesw5-dev", + "libssl-dev", + "libsqlite3-dev", + "tk-dev", + "libgdbm-dev", + "libc6-dev", + "libbz2-dev", + "libffi-dev", + "zlib1g-dev", + "unzip" + ] - extras.postgresql.repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16" - extras.postgresql.key = "https://www.postgresql.org/media/keys/ACCC4CF8.asc" - extras.postgresql.packages = ["libllvm13", "libpq5", "libpq-dev" , "postgresql-16", "postgresql-16-pgvector", "postgresql-client-16", "postgresql-common", "postgresql-client-common"] + [resources.apt.extras.postgresql] + repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16" + key = "https://www.postgresql.org/media/keys/ACCC4CF8.asc" + packages = [ + "libllvm13", "libpq5", "libpq-dev" , "postgresql-16", "postgresql-16-pgvector", "postgresql-client-16", "postgresql-common", "postgresql-client-common" + ] [resources.database] type = "postgresql" diff --git a/tests.toml b/tests.toml index cbbeef1..94abb79 100644 --- a/tests.toml +++ b/tests.toml @@ -1,3 +1,5 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json + test_format = 1.0 [default]