From 115452365a80fd4a381d02429d4207dcc3cbfb20 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 17 Aug 2022 12:49:00 +0200 Subject: [PATCH 1/4] Fix --keep path to relative --- scripts/install | 5 ++--- scripts/upgrade | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index e0705af..65739c5 100755 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,6 @@ path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC admin=$YNH_APP_ARG_ADMIN password=$YNH_APP_ARG_PASSWORD -architecture=$YNH_ARCH app=$YNH_APP_INSTANCE_NAME @@ -86,8 +85,8 @@ ynh_script_progression --message="Setting up source files..." --weight=10 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" -ynh_setup_source --dest_dir="$mc_path" --source_id="mc_$architecture" +ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" +ynh_setup_source --dest_dir="$mc_path" --source_id="mc_$YNH_ARCH" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index e54c3c6..a620f00 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -26,7 +26,6 @@ password=$(ynh_app_setting_get --app=$app --key=password) port=$(ynh_app_setting_get --app=$app --key=port) console_port=$(ynh_app_setting_get --app=$app --key=console_port) datadir=$(ynh_app_setting_get --app=$app --key=datadir) -architecture=$YNH_ARCH #================================================= # CHECK VERSION @@ -81,8 +80,8 @@ then ynh_script_progression --message="Upgrading source files..." --weight=5 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" --keep="$final_path/.env" - ynh_setup_source --dest_dir="$mc_path" --source_id="mc_$architecture" + ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" --keep=".env" + ynh_setup_source --dest_dir="$mc_path" --source_id="mc_$YNH_ARCH" fi chmod 750 "$final_path" From 653fba1e5e9d6358ef833afd9df84c7e35e1ccf3 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Aug 2022 10:49:05 +0000 Subject: [PATCH 2/4] Auto-update README --- README.md | 1 + README_fr.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6556e0..3e544fc 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ MinIO is a High Performance Object Storage released under GNU Affero General Pub **Shipped version:** 2022.07.17~ynh1 + ## Screenshots ![Screenshot of MinIO server](./doc/screenshots/minio-browser.png) diff --git a/README_fr.md b/README_fr.md index 738ad2a..0ed3371 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. -**Version incluse :** 2022.07.17~ynh1 +**Version incluse :** 2022.07.17~ynh1 + ## Captures d'écran From 504fca9d656450910ae334ffc79109b88e24a525 Mon Sep 17 00:00:00 2001 From: Limezy Date: Tue, 23 Aug 2022 08:10:32 +0700 Subject: [PATCH 3/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 3d605a7..1d90274 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "High Performance, Kubernetes Native Object Storage", "fr": "Serveur de stockage d'objets hautes performances" }, - "version": "2022.07.17~ynh1", + "version": "2022.07.17~ynh2", "url": "https://min.io/", "upstream": { "license": "AGPL-3.0-only", From 9fb8a0ae3851c68b6e2f61b124eb7a415d2ee722 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 23 Aug 2022 01:10:38 +0000 Subject: [PATCH 4/4] 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 3e544fc..155def4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. -**Shipped version:** 2022.07.17~ynh1 +**Shipped version:** 2022.07.17~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 0ed3371..940448b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. -**Version incluse :** 2022.07.17~ynh1 +**Version incluse :** 2022.07.17~ynh2 ## Captures d'écran