From 831f0cb9c9fbdc3a46df7c19a20c2c084522ad60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 24 Jan 2024 13:40:42 +0100 Subject: [PATCH] Fix sources checksums, coding style in toml --- manifest.toml | 31 ++++++++++++++++++++++--------- tests.toml | 4 +++- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/manifest.toml b/manifest.toml index 15d4d48..7e6243b 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 = "zap" @@ -40,14 +42,14 @@ ram.runtime = "50M" [resources] [resources.sources] - [resources.sources.main] - url = "https://codeberg.org/zot-archive/zap/archive/078714b9dde991d02f8cce1183ce357d96405558.tar.gz" - sha256 = "b188872d60ef30d50686a079da03cc4cdee451729a84bcf748649bbe8b8568e6" + [resources.sources.main] + url = "https://codeberg.org/zot-archive/zap/archive/078714b9dde991d02f8cce1183ce357d96405558.tar.gz" + sha256 = "6159da945fe504bffe23f80d299bfe3e146a9d9df76412f5bea6d1d415516d34" - [resources.sources.app_addons] - url = "https://codeberg.org/zot-archive/zap-addons/archive/b2ddcc67735fb413f14efcc9c49780469b8b61cf.tar.gz" - sha256 = "05595b3baa9d08001a8f01c7d069ebfb1b325621dd75e84ebc1257769e0f2f4a" - in_subdir = false + [resources.sources.app_addons] + url = "https://codeberg.org/zot-archive/zap-addons/archive/b2ddcc67735fb413f14efcc9c49780469b8b61cf.tar.gz" + sha256 = "009f5047096fdbe3becaebfb7ac3ee34d7efd3f4f891e3a645484a7e406598a1" + in_subdir = false [resources.system_user] @@ -58,7 +60,18 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "postgresql, postgresql-contrib, php7.4-pgsql, php7.4-mbstring, php7.4-cli, php7.4-imagick, php7.4-xml, php7.4-zip, php7.4-json, php7.4-gd" - + packages = [ + "postgresql", + "postgresql-contrib", + "php7.4-pgsql", + "php7.4-mbstring", + "php7.4-cli", + "php7.4-imagick", + "php7.4-xml", + "php7.4-zip", + "php7.4-json", + "php7.4-gd", + ] + [resources.database] type = "postgresql" diff --git a/tests.toml b/tests.toml index b55cdd8..76fdb7b 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] @@ -6,4 +8,4 @@ test_format = 1.0 # Tests to run # ------------ - exclude = ["change_url"] \ No newline at end of file + exclude = ["change_url"]