diff --git a/manifest.toml b/manifest.toml index a27b12c..b139caf 100644 --- a/manifest.toml +++ b/manifest.toml @@ -27,9 +27,9 @@ yunohost = ">= 11.1.14" # FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"] architectures = "all" multi_instance = true -# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials. -ldap = "?" -# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal. +# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key: the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials. +ldap = "?" +# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key: the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal. sso = "?" # FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G... disk = "50M" @@ -108,5 +108,5 @@ ram.runtime = "50M" packages = "deb1, deb2, php8.0-foo, php8.0-bar" [resources.database] - # This will automatically provision/deprovison a mysql DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd + # This will automatically provision/deprovison a MySQL DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd type = "mysql" diff --git a/scripts/install b/scripts/install index 4ffc34e..4245199 100755 --- a/scripts/install +++ b/scripts/install @@ -52,7 +52,7 @@ chown -R $app:www-data "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_script_progression --message="Adding system configurations related to $app ..." --weight=1 +ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 ### `ynh_add_fpm_config` is used to set up a PHP config. ### You can remove it if your app doesn't use PHP. diff --git a/scripts/remove b/scripts/remove index f314aa1..097c3f4 100755 --- a/scripts/remove +++ b/scripts/remove @@ -27,7 +27,6 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEMD SERVICE #================================================= - ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 # This should be a symetric version of what happens in the install script diff --git a/scripts/upgrade b/scripts/upgrade index 7018949..a6b3f17 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,7 +63,7 @@ ynh_script_progression --message="Stopping a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" #================================================= -# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD, ETC...) +# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -101,7 +101,7 @@ ynh_use_logrotate --non-append ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login" #================================================= -# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS, ...) +# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...) #================================================= # UPDATE A CONFIG FILE #================================================= diff --git a/tests.toml.example b/tests.toml.example index b5d9242..3a732e4 100644 --- a/tests.toml.example +++ b/tests.toml.example @@ -13,7 +13,8 @@ test_format = 1.0 # # You can also decide (though this is discouraged!) to ban/ignore some tests, - exclude = ["install.private", "install.multi"] # NB : you should NOT need this except if you really have a good reason ... + exclude = ["install.private", "install.multi"] # The test IDs to be used in only/exclude statements are: install.root, install.subdir, install.nourl, install.multi, backup_restore, upgrade, upgrade.someCommitId change_url + # NB: you should NOT need this except if you really have a good reason... # For special usecases, sometimes you need to setup other things on the machine # prior to installing the app (such as installing another app) @@ -32,7 +33,7 @@ test_format = 1.0 # and also install args with a "default" provided in the manifest.. # It should only make sense to declare custom args here for args with no default values - args.language = "fr_FR" # NB : you should NOT need those lines unless for custom questions with no obvious/default value + args.language = "fr_FR" # NB: you should NOT need those lines unless for custom questions with no obvious/default value args.multisite = 0 # -------------------------------