1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

Upgrade to v0.24.1 (#63)

* Upgrade to v0.24.1

* Auto-update READMEs

* Update manifest.toml

* Auto-update READMEs

* Update manifest.toml

* Update install

* Update upgrade

* Update upgrade

* Update _common.sh

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
YunoHost Bot 2024-05-18 17:01:29 +02:00 committed by Félix Piédallu
parent c41ed54892
commit 4c04607855
4 changed files with 12 additions and 18 deletions

View file

@ -7,7 +7,7 @@ name = "Movim"
description.en = "Decentralized social platform based on XMPP"
description.fr = "Plateforme sociale décentralisée basée sur XMPP"
version = "0.19~ynh6"
version = "0.24.1~ynh1"
maintainers = []
@ -25,6 +25,7 @@ architectures = "all"
multi_instance = false
ldap = false
sso = true
disk = "50M"
@ -51,9 +52,8 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
url = "https://github.com/movim/movim/archive/v0.19.tar.gz"
sha256 = "df98b5b0df6fd6bfa5fda88f387ac017bc7bcead42c462745296604f3e0ee501"
url = "https://github.com/movim/movim/archive/refs/tags/v0.24.1.tar.gz"
sha256 = "4a596a2aae517be58f185dfd56a182235a9373d524b7e3272d044d4c9805b940"
autoupdate.strategy = "latest_github_tag"
[resources.ports]
@ -67,12 +67,12 @@ ram.runtime = "50M"
[resources.apt]
packages = [
"php7.4-curl",
"php7.4-mbstring",
"php7.4-imagick",
"php7.4-gd",
"php7.4-pgsql",
"php7.4-xml",
"php8.2-curl",
"php8.2-mbstring",
"php8.2-imagick",
"php8.2-gd",
"php8.2-pgsql",
"php8.2-xml",
"postgresql",
"postgresql-contrib",
"apt-transport-https",

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
YNH_COMPOSER_VERSION="2.2.5"
YNH_COMPOSER_VERSION="2.6.5"
#=================================================
# PERSONAL HELPERS

View file

@ -34,9 +34,6 @@ ynh_script_progression --message="Setting up source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for()
ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"

View file

@ -45,9 +45,6 @@ ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/db.inc.php"
# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for()
ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
@ -64,7 +61,7 @@ chown "$app:$app" "$install_dir/config/db.inc.php"
#=================================================
# BUILD MOVIM
#=================================================
ynh_script_progression --message="Building Movim..."
ynh_script_progression --message="Building $app..."
ynh_exec_warn_less ynh_install_composer