From 4976431397f6e9824526276bdd94d62cefb3548a Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 30 Aug 2025 14:41:25 +0200 Subject: ruby and nodejs resources --- manifest.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'manifest.toml') diff --git a/manifest.toml b/manifest.toml index 7f0b634..152433a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,7 +19,7 @@ cpe = "cpe:2.3:a:joinmastodon:mastodon" fund = "https://joinmastodon.org/sponsors" [integration] -yunohost = ">= 12.0.10" +yunohost = ">= 12.1.15" helpers_version = "2.1" architectures = "all" multi_instance = true @@ -87,3 +87,10 @@ ram.runtime = "500M" [resources.database] type = "postgresql" + + [resources.nodejs] + version = "20" + + [resources.ruby] + version = "3.4.5" + -- cgit v1.2.3-70-g09d2 From 8924efedabefe76a7c4f327952a0e850611da8ee Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 1 Sep 2025 11:34:17 +0200 Subject: cleaning --- manifest.toml | 3 ++- scripts/install | 4 ---- scripts/upgrade | 4 ---- 3 files changed, 2 insertions(+), 9 deletions(-) (limited to 'manifest.toml') diff --git a/manifest.toml b/manifest.toml index 3575af5..7fc0329 100644 --- a/manifest.toml +++ b/manifest.toml @@ -67,7 +67,8 @@ ram.runtime = "500M" allow_email = true [resources.install_dir] - + group = "www-data:r-x" + [resources.permissions] main.url = "/" diff --git a/scripts/install b/scripts/install index 7e400d5..315cca6 100644 --- a/scripts/install +++ b/scripts/install @@ -25,10 +25,6 @@ ynh_setup_source --dest_dir="$install_dir/live" # Download redis migration script ynh_setup_source --source_id=redis_migration --dest_dir="$install_dir/live" -chmod -R 775 "$install_dir" -chmod o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # ADD SWAP IF NEEDED #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 3b8f6e8..735ecc2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,10 +64,6 @@ ynh_setup_source --dest_dir="$install_dir/live" --full_replace --keep="public/sy # Download redis migration script ynh_setup_source --source_id=redis_migration --dest_dir="$install_dir/live" -chmod -R 775 "$install_dir" -chmod o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # BUILD ASSETS #================================================= -- cgit v1.2.3-70-g09d2 From be2718c43687ff875fd7696cde4b98681c17d0eb Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:00:09 +0200 Subject: Update manifest.toml --- manifest.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'manifest.toml') diff --git a/manifest.toml b/manifest.toml index 066569a..bdb7071 100644 --- a/manifest.toml +++ b/manifest.toml @@ -88,8 +88,7 @@ ram.runtime = "500M" type = "postgresql" [resources.nodejs] - version = "20" + version = "22" [resources.ruby] version = "3.4.5" - -- cgit v1.2.3-70-g09d2 From e95f8793985aa958fcc909acedf075e73a0f9a48 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 24 Sep 2025 00:20:55 +0200 Subject: Upgrade sources - `main` v4.4.5: https://github.com/mastodon/mastodon/releases/tag/v4.4.5 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifest.toml') diff --git a/manifest.toml b/manifest.toml index f85d5c0..03fe662 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Mastodon" description.en = "Libre and federated social network" description.fr = "Réseau social libre et fédéré" -version = "4.4.4~ynh1" +version = "4.4.5~ynh1" maintainers = [] @@ -52,8 +52,8 @@ ram.runtime = "500M" [resources] [resources.sources] [resources.sources.main] - url = "https://github.com/mastodon/mastodon/archive/refs/tags/v4.4.4.tar.gz" - sha256 = "1df58eec7da0c47767493ec3ec3ec2225a0bcca94871d1d6615ee324aaed91ba" + url = "https://github.com/mastodon/mastodon/archive/refs/tags/v4.4.5.tar.gz" + sha256 = "add9ee5caae722549a2f7ed2129ecaed0945a1b2f942afbdbb7bd8ab73961fe6" autoupdate.strategy = "latest_github_release" [resources.sources.redis_migration] -- cgit v1.2.3-70-g09d2