From a3cfd34a43c8d77b029a47316ea78a4a729b6a31 Mon Sep 17 00:00:00 2001 From: Mamie <693751+supermamie@users.noreply.github.com> Date: Thu, 16 May 2024 09:53:43 +0200 Subject: [PATCH 1/5] add mineclone2 --- manifest.toml | 8 +++++++- scripts/install | 3 +++ scripts/upgrade | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index a9db551..0ae4836 100644 --- a/manifest.toml +++ b/manifest.toml @@ -38,7 +38,7 @@ ram.runtime = "50M" ask.en = "Choose a game for your server" ask.fr = "Choissisez un jeu pour votre serveur" type = "select" - choices = ["minetest_game", "capturetheflag", "mineclonia"] + choices = ["minetest_game", "capturetheflag", "mineclonia", "mineclone2"] default = "minetest_game" [install.servername] @@ -97,6 +97,12 @@ ram.runtime = "50M" autoupdate.upstream = "https://codeberg.org/mineclonia/mineclonia" autoupdate.strategy = "latest_forgejo_release" + [resources.sources.mineclone2] + url = "https://git.minetest.land/VoxeLibre/VoxeLibre/archive/0.86.2.tar.gz" + sha256 = "97536a9e36482363112185ab936532d034163e3dc1ebd3cb365d018fc14b810d" + autoupdate.upstream = "https://git.minetest.land/VoxeLibre/VoxeLibre" + autoupdate.strategy = "latest_forgejo_release" + [resources.system_user] [resources.install_dir] diff --git a/scripts/install b/scripts/install index 65fc7af..24b7d83 100755 --- a/scripts/install +++ b/scripts/install @@ -31,6 +31,9 @@ if [ $game = "capturetheflag" ]; then elif [ $game = "mineclonia" ]; then # Download Mineclonia ynh_setup_source --dest_dir=$install_dir/games/mineclonia --source_id=mineclonia +elif [ $game = "mineclone2" ]; then + # Download Mineclone2 + ynh_setup_source --dest_dir=$install_dir/games/mineclone2 --source_id=mineclone2 else # Download Minetest Game ynh_setup_source --dest_dir=$install_dir/games/minetest_game --source_id=minetest_game diff --git a/scripts/upgrade b/scripts/upgrade index f0a3307..52215f3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,6 +64,9 @@ if [ $game = "capturetheflag" ]; then elif [ $game = "mineclonia" ]; then # Download Mineclonia ynh_setup_source --dest_dir=$install_dir/games/mineclonia --source_id=mineclonia +elif [ $game = "mineclone2" ]; then + # Download Mineclone2 + ynh_setup_source --dest_dir=$install_dir/games/mineclone2 --source_id=mineclone2 else # Download Minetest Game ynh_setup_source --dest_dir=$install_dir/games/minetest_game --source_id=minetest_game From 487c67b0b83ccc13c567e3dccd81e8abf54d89e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 16 May 2024 11:41:40 +0200 Subject: [PATCH 2/5] add test --- manifest.toml | 2 +- tests.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 0ae4836..3cb97ff 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Minetest" description.en = "Voxel game engine and game. Need a client to connect to the server" description.fr = "Moteur de jeu de type « bac à sable ». Nécessite un client pour se connecter au serveur" -version = "5.8.0~ynh3" +version = "5.8.0~ynh4" maintainers = [] diff --git a/tests.toml b/tests.toml index d2e4846..e616f26 100644 --- a/tests.toml +++ b/tests.toml @@ -33,3 +33,8 @@ test_format = 1.0 only = ["install.root", "backup_restore", "upgrade"] args.game = "mineclonia" + + ["Test-mineclone2"] + + only = ["install.root", "backup_restore", "upgrade"] + args.game = "mineclone2" From 6526d15f65a3a48329ffd93c1dc55d771559a97b Mon Sep 17 00:00:00 2001 From: Mamie <693751+supermamie@users.noreply.github.com> Date: Fri, 17 May 2024 11:24:12 +0200 Subject: [PATCH 3/5] clean commit --- manifest.toml | 2 +- tests.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3cb97ff..0ae4836 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Minetest" description.en = "Voxel game engine and game. Need a client to connect to the server" description.fr = "Moteur de jeu de type « bac à sable ». Nécessite un client pour se connecter au serveur" -version = "5.8.0~ynh4" +version = "5.8.0~ynh3" maintainers = [] diff --git a/tests.toml b/tests.toml index e616f26..22d6335 100644 --- a/tests.toml +++ b/tests.toml @@ -34,7 +34,8 @@ test_format = 1.0 only = ["install.root", "backup_restore", "upgrade"] args.game = "mineclonia" + ["Test-mineclone2"] only = ["install.root", "backup_restore", "upgrade"] - args.game = "mineclone2" + args.game = "mineclone2" \ No newline at end of file From 4131053872027bc81fd050c870a8791f632c0894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 May 2024 12:47:41 +0200 Subject: [PATCH 4/5] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 0ae4836..3cb97ff 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Minetest" description.en = "Voxel game engine and game. Need a client to connect to the server" description.fr = "Moteur de jeu de type « bac à sable ». Nécessite un client pour se connecter au serveur" -version = "5.8.0~ynh3" +version = "5.8.0~ynh4" maintainers = [] From 680515f9dae220d19b620bc1d6413e6dcaa516df Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 May 2024 10:47:46 +0000 Subject: [PATCH 5/5] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3c802cf..4b224a9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Shipped version:** 5.8.0~ynh3 +**Shipped version:** 5.8.0~ynh4 ## Screenshots diff --git a/README_es.md b/README_es.md index d68183d..7c9a2ea 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Versión actual:** 5.8.0~ynh3 +**Versión actual:** 5.8.0~ynh4 ## Capturas diff --git a/README_eu.md b/README_eu.md index 52ef9f0..8e941ff 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Paketatutako bertsioa:** 5.8.0~ynh3 +**Paketatutako bertsioa:** 5.8.0~ynh4 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 54de58b..14432bb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Minetest est un moteur de jeu voxel open-source avec modding et création de jeux faciles. -**Version incluse :** 5.8.0~ynh3 +**Version incluse :** 5.8.0~ynh4 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 55277d6..2bc06e2 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Versión proporcionada:** 5.8.0~ynh3 +**Versión proporcionada:** 5.8.0~ynh4 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 3290491..4bf8fd6 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Minetest is a free open-source voxel game engine with easy modding and game creation. -**分发版本:** 5.8.0~ynh3 +**分发版本:** 5.8.0~ynh4 ## 截图