From d7eb6c78730d44d546e75a1c2fcfdf1ba781ce93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:00:53 +0100 Subject: [PATCH 01/10] 0.9.0 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index 735f010..6d85208 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Garage" description.en = "S3 storage" description.fr = "stockage S3" -version = "0.8.2~ynh1" +version = "0.9.0~ynh1" maintainers = ["oiseauroch"] @@ -59,14 +59,14 @@ ram.runtime = "50M" [resources.sources.main] in_subdir = false - amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.8.2/x86_64-unknown-linux-musl/garage" - amd64.sha256 = "c15aa223b0fffb856c6e16276d1e77b0e94eb783a26eaeb7de80324f7c8b23c5" - arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.8.2/aarch64-unknown-linux-musl/garage" - arm64.sha256 = "9c419d47e87ac254a96cda6476e3c5c9102a9a2ea1ec1dc65d338bb46e415d78" - i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.8.2/i686-unknown-linux-musl/garage" - i386.sha256 = "a733fcd9b0a0f6271960f0d65978b8a8474317fa41325595aa4825764b71f089" - armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.8.2/armv6l-unknown-linux-musleabihf/garage" - armhf.sha256 = "1eb79aa8fff6c00bd1dd5da53dedd04685fe28b3402476a3b10b1b66aa10f80a" + amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/x86_64-unknown-linux-musl/garage" + amd64.sha256 = "3ae4ecb2a75610ab7bfe77bfac7a5c7a8834a0544158ac8ee37723e6d8fd1859" + arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/aarch64-unknown-linux-musl/garage" + arm64.sha256 = "b4db67a618ed493e1803d8bae83e8ea091703763b182d4c62fa1896179b17b9b" + i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/i686-unknown-linux-musl/garage" + i386.sha256 = "fcec4c6918ac5ae04829ed9c4f20c7eef0966194eabfe961e6d7f8aee14b0108" + armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/armv6l-unknown-linux-musleabihf/garage" + armhf.sha256 = "8f04a38fcafc2ccda652738f2e80b0d2b6443150db0d7165db2de6c75035b4e3" [resources.ports] main.default = 4000 From 9fc625df31f961ef7ae5f64ca06d84e4aa518a9d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 10 Dec 2023 14:00:58 +0000 Subject: [PATCH 02/10] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31f8f08..7474101 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Shipped version:** 0.8.2~ynh1 +**Shipped version:** 0.9.0~ynh1 ## Disclaimers / important information * Limitations : diff --git a/README_fr.md b/README_fr.md index ff14725..f0ac369 100644 --- a/README_fr.md +++ b/README_fr.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Version incluse :** 0.8.2~ynh1 +**Version incluse :** 0.9.0~ynh1 ## Avertissements / informations importantes * Limitations : From 6f145ca3c7587619297521ef370376459c0728d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:15:39 +0100 Subject: [PATCH 03/10] cleaning --- manifest.toml | 1 + scripts/install | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 6d85208..fdeee40 100644 --- a/manifest.toml +++ b/manifest.toml @@ -59,6 +59,7 @@ ram.runtime = "50M" [resources.sources.main] in_subdir = false + extract = false amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/x86_64-unknown-linux-musl/garage" amd64.sha256 = "3ae4ecb2a75610ab7bfe77bfac7a5c7a8834a0544158ac8ee37723e6d8fd1859" arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.0/aarch64-unknown-linux-musl/garage" diff --git a/scripts/install b/scripts/install index 78dd45a..da24ba1 100755 --- a/scripts/install +++ b/scripts/install @@ -39,7 +39,8 @@ ynh_app_setting_set --app=$app --key=bootstrap_peers --value=$bootstrap_peers ynh_script_progression --message="Setting up source files..." ynh_setup_source --dest_dir="$install_dir" -# chmod +x $install_dir/garage # this file doesnt seem to exist ... remove this line ? + +chmod +x $install_dir/garage #================================================= # NGINX CONFIGURATION From 9dfe0785db2a28b19032bbab62c358f4bab69ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:23:59 +0100 Subject: [PATCH 04/10] cleaning --- check_process | 32 ----------------------------- conf/mount_disk.sh | 1 - manifest.toml | 1 + scripts/_common.sh | 7 ++++--- scripts/backup | 5 ----- scripts/change_url | 8 ++++---- scripts/install | 17 ++-------------- scripts/remove | 50 ++-------------------------------------------- scripts/restore | 37 ++-------------------------------- scripts/upgrade | 28 +++----------------------- 10 files changed, 18 insertions(+), 168 deletions(-) delete mode 100644 check_process diff --git a/check_process b/check_process deleted file mode 100644 index 45831c9..0000000 --- a/check_process +++ /dev/null @@ -1,32 +0,0 @@ -# See here for more information -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - -;; Test complet - ; Manifest - domain="domain.tld" - rpc_secret="" - bootstrap_peers="" - weight="10" - datadir="" - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=0 - setup_nourl=1 - setup_private=0 - setup_public=0 - upgrade=1 - upgrade=0 from_commit=CommitHash - backup_restore=1 - multi_instance=1 - port_already_use=0 - change_url=1 -;;; Options -Email= -Notification=none -;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. - manifest_arg=domain=DOMAIN&rpc_secret=RPC_SECRET&bootstrap_peers=BOOTSTRAP_PEERS&weight=WEIGHT&datadir=DATADIR diff --git a/conf/mount_disk.sh b/conf/mount_disk.sh index 0c09ab1..53f2acc 100755 --- a/conf/mount_disk.sh +++ b/conf/mount_disk.sh @@ -18,7 +18,6 @@ then echo "formatting /dev/nbd$i" mkfs.ext4 /dev/nbd$i fi - mkdir -p $data_dir/data chown __APP__:__APP__ $data_dir/data mount /dev/nbd$i $data_dir/data/ fi diff --git a/manifest.toml b/manifest.toml index fdeee40..af0af6f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -79,6 +79,7 @@ ram.runtime = "50M" [resources.install_dir] [resources.data_dir] + subdirs = ["data", "metadata"] [resources.permissions] main.url = "/" diff --git a/scripts/_common.sh b/scripts/_common.sh index ae268d3..55ecd08 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -GARAGE_VERSION="0.8.2" +GARAGE_VERSION="0.9.0" if systemd-detect-virt -c -q then @@ -32,7 +32,7 @@ garage_connect() { i=$(( i + 1 )) if [ $i -gt 30 ] then - ynh_die --message="unable to get layout from remote peer" + ynh_die --message="Unable to get layout from remote peer" fi sleep 1 done @@ -48,10 +48,11 @@ apply_layout() { then $garage_command layout apply --version $layout_version else - ynh_print_warn --message="unable to apply layout. No enough nodes" + ynh_print_warn --message="Unable to apply layout. No enough nodes" return 0 fi } + #================================================= # EXPERIMENTAL HELPERS #================================================= diff --git a/scripts/backup b/scripts/backup index 6524c9b..80e2ce2 100755 --- a/scripts/backup +++ b/scripts/backup @@ -15,11 +15,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_print_info --message="Declaring files to be backed up..." -### N.B. : the following 'ynh_backup' calls are only a *declaration* of what needs -### to be backuped and not an actual copy of any file. The actual backup that -### creates and fill the archive with the files happens in the core after this -### script is called. Hence ynh_backups calls takes basically 0 seconds to run. - #================================================= # BACKUP THE APP MAIN DIR #================================================= diff --git a/scripts/change_url b/scripts/change_url index 643b687..8361d45 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -14,14 +14,14 @@ source /usr/share/yunohost/helpers #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Stopping a systemd service..." --time +ynh_script_progression --message="Stopping a systemd service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" #================================================= # MODIFY URL IN NGINX CONF #================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --time +ynh_script_progression --message="Updating NGINX web server configuration..." ynh_change_url_nginx_config @@ -30,7 +30,7 @@ ynh_change_url_nginx_config #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --time +ynh_script_progression --message="Starting a systemd service..." ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" @@ -38,4 +38,4 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" --time --last +ynh_script_progression --message="Change of URL completed for $app"--last diff --git a/scripts/install b/scripts/install index da24ba1..b5836f0 100755 --- a/scripts/install +++ b/scripts/install @@ -32,7 +32,6 @@ ynh_script_progression --message="Storing installation settings..." ynh_app_setting_set --app=$app --key=rpc_secret --value=$rpc_secret ynh_app_setting_set --app=$app --key=bootstrap_peers --value=$bootstrap_peers - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -70,7 +69,7 @@ ynh_script_progression --message="Creating a data directory..." --weight=5 if [[ "$system_is_inside_container" == "true" ]] then - ynh_print_warn --message="This may take time regarding disk size…" + ynh_print_warn --message="This may take time regarding disk size..." # to be sure to not exceed size limit, i use a virtual disk with a fix size to have a max limit size. qemu-img create -f qcow2 $data_dir/garage_data.qcow2 "$weight"G @@ -94,22 +93,10 @@ ynh_script_progression --message="Configuring a systemd service..." # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# GENERIC FINALIZATION -#================================================= -# SETUP LOGROTATE -#================================================= -ynh_script_progression --message="Configuring log rotation..." - # Use logrotate to manage application logfile(s) ynh_use_logrotate -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add --needs_exposed_ports $port --description="s3 storage" --log="/var/log/$app/$app.log" $app +yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.log" --needs_exposed_ports $port #================================================= # START SYSTEMD SERVICE diff --git a/scripts/remove b/scripts/remove index 806a3f4..872de97 100755 --- a/scripts/remove +++ b/scripts/remove @@ -9,13 +9,10 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# LOAD SETTINGS -#================================================= - #================================================= # REMOVE NODE CONFIGURATION #================================================= + $install_dir/garage -c $install_dir/garage.toml layout remove "$node_id" apply_layout "$install_dir/garage -c $install_dir/garage.toml " @@ -24,7 +21,6 @@ then ynh_print_warn --message="unable to remove the node. Maybe the number of node staying alive is not enough" fi - #================================================= # STANDARD REMOVE #================================================= @@ -38,43 +34,23 @@ then yunohost service remove $app fi -#================================================= -# STOP AND REMOVE SERVICE -#================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." - # Remove the dedicated systemd config ynh_remove_systemd_config -#================================================= -# REMOVE LOGROTATE CONFIGURATION -#================================================= -ynh_script_progression --message="Removing logrotate configuration..." - # Remove the app-specific logrotate config ynh_remove_logrotate - if [[ "$system_is_inside_container" == "true" ]] then #================================================= # REMOVE VIRTUAL DISK #================================================= - ynh_script_progression --message="umount virtual disk..." + ynh_script_progression --message="Umount virtual disk..." # Remove the app directory securely $install_dir/umount_disk.sh fi -#================================================= -# REMOVE NGINX HOOK -#================================================= - -#================================================= -# REMOVE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." - # Remove the dedicated NGINX config ynh_remove_nginx_config @@ -82,31 +58,9 @@ ynh_remove_nginx_config ynh_replace_string --replace_string="server_name $domain" --match_string="server_name $domain *.$domain" --target_file="/etc/nginx/conf.d/$domain.conf" ynh_store_file_checksum --file="/etc/nginx/conf.d/$domain.conf" - -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - -#================================================= -# SPECIFIC REMOVE -#================================================= -# REMOVE VARIOUS FILES -#================================================= -ynh_script_progression --message="Removing various files..." - # Remove the log files ynh_secure_remove --file="/var/log/$app" -#================================================= -# GENERIC FINALIZATION -#================================================= - ynh_secure_remove --file="/usr/share/yunohost/hooks/conf_regen/98-nginx_$app" yunohost tools regen-conf nginx diff --git a/scripts/restore b/scripts/restore index 69c72dc..3f8f6c0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -24,8 +24,6 @@ chown -R $app:$app "$install_dir" #================================================= ynh_script_progression --message="Restoring the data directory..." -mkdir -p "$data_dir/data" - if [[ "$system_is_inside_container" == "true" ]] then # to be sure to not exceed size limit, i use a virtual disk with a fix size to have a max limit size. @@ -33,25 +31,8 @@ then $install_dir/mount_disk.sh true fi - -# # FIXME: this should be managed by the core in the future -# Here, as a packager, you may have to tweak the ownerhsip/permissions -# such that the appropriate users (e.g. maybe www-data) can access -# files in some cases. -# But FOR THE LOVE OF GOD, do not allow r/x for "others" on the entire folder - -# this will be treated as a security issue. -chmod 750 "$data_dir" -chmod -R o-rwx "$data_dir" chown -R $app:$app "$data_dir" -#================================================= -# SPECIFIC RESTORATION -#================================================= - -# Open the port - ynh_script_progression --message="Configuring firewall..." - ynh_exec_warn_less yunohost firewall allow TCP $port - #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= @@ -63,27 +44,12 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/usr/share/yunohost/hooks/conf_regen/98-nginx_$app" yunohost tools regen-conf nginx -#================================================= -# RESTORE SYSTEMD -#================================================= -ynh_script_progression --message="Restoring the systemd configuration..." - ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet -#================================================= -# RESTORE THE LOGROTATE CONFIGURATION -#================================================= -ynh_script_progression --message="Restoring the logrotate configuration..." - ynh_restore_file --origin_path="/etc/logrotate.d/$app" -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add --needs_exposed_ports $port --description="s3 storage" --log="/var/log/$app/$app.log" $app +yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.log" --needs_exposed_ports $port #================================================= # START SYSTEMD SERVICE @@ -94,6 +60,7 @@ ynh_script_progression --message="Starting a systemd service..." mkdir /var/log/$app ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" + #================================================= # RECREATE CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 74305e6..bf7a341 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,43 +48,21 @@ ynh_add_nginx_config ynh_add_config --template="regenconf_nginx_garage" --destination="/usr/share/yunohost/hooks/conf_regen/98-nginx_$app" yunohost tools regen-conf nginx -#================================================= -# SETUP SYSTEMD -#================================================= -ynh_script_progression --message="Upgrading systemd configuration..." - # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# GENERIC FINALIZATION -#================================================= -# SETUP LOGROTATE -#================================================= -ynh_script_progression --message="Upgrading logrotate configuration..." - # Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --non-append -ynh_script_progression --message="Updating a configuration file..." +yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.log" --needs_exposed_ports $port #================================================= # UPDATE A CONFIG FILE #================================================= -### Same as during install -### -### The file will automatically be backed-up if it's found to be manually modified (because -### ynh_add_config keeps track of the file's checksum) +ynh_script_progression --message="Updating a configuration file..." + ynh_add_config --template="garage.toml" --destination="$install_dir/garage.toml" - -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service add --needs_exposed_ports $port --description="s3 storage" --log="/var/log/$app/$app.log" $app - #================================================= # START SYSTEMD SERVICE #================================================= From 372de747a8ac3427fd3e9d883679a2127d2f8774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:34:23 +0100 Subject: [PATCH 05/10] cleaning --- doc/{DISCLAIMER.md => ADMIN.md} | 0 tests.toml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename doc/{DISCLAIMER.md => ADMIN.md} (100%) create mode 100644 tests.toml diff --git a/doc/DISCLAIMER.md b/doc/ADMIN.md similarity index 100% rename from doc/DISCLAIMER.md rename to doc/ADMIN.md diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..e69de29 From d31371694bc940376e936e70ec28694e9d25b715 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 10 Dec 2023 19:34:28 +0000 Subject: [PATCH 06/10] Auto-update README --- README.md | 15 --------------- README_fr.md | 15 --------------- 2 files changed, 30 deletions(-) diff --git a/README.md b/README.md index 7474101..18ab4b4 100644 --- a/README.md +++ b/README.md @@ -36,21 +36,6 @@ Garage is designed for storage clusters composed of nodes running at different p **Shipped version:** 0.9.0~ynh1 -## Disclaimers / important information - -* Limitations : - * This application is not usable if you're not part of a cluster with minimun 3 other nodes - * If you are behind a nat and use upnp to configure your port redirection, you may need to add peers via config panel instead of during installation and/or create a permanent redirection in your router/box - -* infos you should be aware of: - * This application provide a node that you can connect to a garage cluster. Few option are manageable by the config panel for the current node but IT DOESN'T offer simpler way to manage bucket and keys. You have to do it by command line or let an other node managing it. - * This application consider that the weight of the node is the size reserved to garage in G - * This application will try to create a virtual disk to ensure garage doesn't use more than allowed. If virtualisation is not available your responsible to check space used by garage. - -# How to run commands for Garage -1. Use `yunohost app shell garage` to use the command line in Garage own environnement (don't forget to `exit` at the end). You will be located in `/opt/yunohost/garage/` own directory. -2. Then for each use of the `garage` command, you need to specify the config file as a parameter `garage -c garage.toml [the actions you wish to run]`. - ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index f0ac369..388ea98 100644 --- a/README_fr.md +++ b/README_fr.md @@ -36,21 +36,6 @@ Garage is designed for storage clusters composed of nodes running at different p **Version incluse :** 0.9.0~ynh1 -## Avertissements / informations importantes - -* Limitations : - * This application is not usable if you're not part of a cluster with minimun 3 other nodes - * If you are behind a nat and use upnp to configure your port redirection, you may need to add peers via config panel instead of during installation and/or create a permanent redirection in your router/box - -* infos you should be aware of: - * This application provide a node that you can connect to a garage cluster. Few option are manageable by the config panel for the current node but IT DOESN'T offer simpler way to manage bucket and keys. You have to do it by command line or let an other node managing it. - * This application consider that the weight of the node is the size reserved to garage in G - * This application will try to create a virtual disk to ensure garage doesn't use more than allowed. If virtualisation is not available your responsible to check space used by garage. - -# How to run commands for Garage -1. Use `yunohost app shell garage` to use the command line in Garage own environnement (don't forget to `exit` at the end). You will be located in `/opt/yunohost/garage/` own directory. -2. Then for each use of the `garage` command, you need to specify the config file as a parameter `garage -c garage.toml [the actions you wish to run]`. - ## Documentations et ressources * Site officiel de l’app : From 10f25ee54f2219b3109747157d2c8cbed81c173d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 10 Dec 2023 19:35:46 +0000 Subject: [PATCH 07/10] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 7176552..18ab4b4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ Garage is designed for storage clusters composed of nodes running at different p **Shipped version:** 0.9.0~ynh1 - ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index c6acc98..388ea98 100644 --- a/README_fr.md +++ b/README_fr.md @@ -36,7 +36,6 @@ Garage is designed for storage clusters composed of nodes running at different p **Version incluse :** 0.9.0~ynh1 - ## Documentations et ressources * Site officiel de l’app : From f84c1b3a223dc8a2809f699237ddf08112c63b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:36:43 +0100 Subject: [PATCH 08/10] Update manifest.toml --- manifest.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.toml b/manifest.toml index 178276f..9aa4d92 100644 --- a/manifest.toml +++ b/manifest.toml @@ -33,6 +33,10 @@ ram.runtime = "50M" [install.domain] type = "domain" + [install.init_main_permission] + type = "group" + default = "visitors" + [install.rpc_secret] ask.en = "UUID of the network (rpc-secret) " ask.fr = "UUID de l'ilot (rpc-secret)" From 490ccfde42012859bd0d99ad13cca8125c6d00df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:38:16 +0100 Subject: [PATCH 09/10] Update tests.toml --- tests.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index 91daf17..c653a24 100644 --- a/tests.toml +++ b/tests.toml @@ -4,4 +4,6 @@ test_format = 1.0 # ------------ # Tests to run - # ------------ \ No newline at end of file + # ------------ + + args.weight = 2 \ No newline at end of file From 073c935d099700abc515daee9b1a7878cc6a8523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:39:14 +0100 Subject: [PATCH 10/10] Update tests.toml --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index c653a24..8282c93 100644 --- a/tests.toml +++ b/tests.toml @@ -6,4 +6,4 @@ test_format = 1.0 # Tests to run # ------------ - args.weight = 2 \ No newline at end of file + args.weight = "10" \ No newline at end of file