From 42e4320d368a2f69effa329e508cb3a8f50002c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 22 Mar 2024 15:07:19 +0100 Subject: [PATCH] Cleanup manifestv2 --- check_process | 21 --------------------- doc/DESCRIPTION.md | 1 + manifest.toml | 15 +++++++++------ tests.toml | 5 +++++ 4 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 check_process create mode 100644 doc/DESCRIPTION.md diff --git a/check_process b/check_process deleted file mode 100644 index a7958c1..0000000 --- a/check_process +++ /dev/null @@ -1,21 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - path="/catalog" - admin="john" - ; Checks - pkg_linter=1 - setup_sub_dir=1 - setup_root=0 - setup_nourl=0 - setup_private=0 - setup_public=1 - upgrade=1 - #upgrade=1 from_commit=CommitHash - backup_restore=1 - multi_instance=0 - port_already_use=0 - change_url=1 -;;; Options -Email= -Notification=none diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..bf96c2d --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1 @@ +Apache OFBiz is an open source product for the automation of enterprise processes. It includes framework components and business applications for ERP, CRM, E-Business/E-Commerce, Supply Chain Management and Manufacturing Resource Planning. OFBiz provides a foundation and starting point for reliable, secure and scalable enterprise solutions. diff --git a/manifest.toml b/manifest.toml index d141b3c..0166eb7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -1,10 +1,12 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json + packaging_format = 2 id = "ofbiz" name = "OFBiz" description.en = "Apache-OFBiz ERP" -version = "18.12.07~ynh1" +version = "18.12.07~ynh2" maintainers = ["JulienNICOLAS"] @@ -20,7 +22,6 @@ architectures = "all" multi_instance = false ldap = false - sso = false disk = "50M" @@ -35,10 +36,12 @@ ram.runtime = "50M" type = "user" [resources] - [resources.sources.main] - url = "https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.07.zip" - sha256 = "b3f7b23167cae3ccc96c3d088e42c8df600485b8b7f88ac63b834a82e19fa5de" + [resources.sources.main] + url = "https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.07.zip" + sha256 = "b3f7b23167cae3ccc96c3d088e42c8df600485b8b7f88ac63b834a82e19fa5de" + autoupdate.strategy = "latest_github_tag" + autoupdate.version_regex = "^release(.*)$" [resources.system_user] @@ -50,7 +53,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "openjdk-11-jdk, postgresql" + packages = ["openjdk-11-jdk", "postgresql"] [resources.database] type = "postgresql" diff --git a/tests.toml b/tests.toml index e69de29..94abb79 100644 --- a/tests.toml +++ b/tests.toml @@ -0,0 +1,5 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json + +test_format = 1.0 + +[default]