1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Merge pull request #197 from YunoHost-Apps/testing

Upgrade composer to v2 (fix broken script + php8.0 compatibility)
This commit is contained in:
Éric Gaspar 2022-12-24 22:02:56 +01:00 committed by GitHub
commit eba4402f3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 8 deletions

View file

@ -24,7 +24,7 @@ In addition to taking over the functionality of Instagram, the functioning of Pi
It is also possible to import your data from Instagram.
**Shipped version:** 0.11.4~ynh3
**Shipped version:** 0.11.4~ynh4
## Screenshots
@ -42,7 +42,7 @@ After being first registered, you need to execute the folloing command to promot
**Run:**
$ sudo php7.4 /var/www/pixelfed/artisan user:admin 1
$ sudo php8.0 /var/www/pixelfed/artisan user:admin 1
and respond yes to the question ` Add admin privileges to this user?`.

View file

@ -25,7 +25,7 @@ En plus de reprendre les fonctionnalités d'Instagram, le fonctionnement de Pixe
Il est également possible d'importer ses données depuis Instagram.
**Version incluse :** 0.11.4~ynh3
**Version incluse :** 0.11.4~ynh4
## Captures d'écran
@ -43,7 +43,7 @@ Après avoir été enregistré pour la première fois, vous devez exécuter la c
**Entrez la commande:**
$ php7.4 /var/www/pixelfed/artisan user:admin 1
$ php8.0 /var/www/pixelfed/artisan user:admin 1
et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? »

View file

@ -8,7 +8,7 @@ After being first registered, you need to execute the folloing command to promot
**Run:**
$ sudo php7.4 /var/www/pixelfed/artisan user:admin 1
$ sudo php8.0 /var/www/pixelfed/artisan user:admin 1
and respond yes to the question ` Add admin privileges to this user?`.

View file

@ -8,7 +8,7 @@ Après avoir été enregistré pour la première fois, vous devez exécuter la c
**Entrez la commande:**
$ php7.4 /var/www/pixelfed/artisan user:admin 1
$ php8.0 /var/www/pixelfed/artisan user:admin 1
et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? »

View file

@ -6,7 +6,7 @@
"en": "ActivityPub Federated Image Sharing",
"fr": "Logiciel de partage d'image fédéré via ActivityPub"
},
"version": "0.11.4~ynh3",
"version": "0.11.4~ynh4",
"url": "https://pixelfed.org/",
"upstream": {
"license": "AGPL-3.0-or-later",

View file

@ -125,7 +125,7 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Installing composer dependencies..." --weight=1
ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --composerversion="$YNH_COMPOSER_VERSION" --workdir="$final_path"
#=================================================
# CREATE LOG FILE

View file

@ -183,6 +183,10 @@ ynh_add_nginx_config
#=================================================
# UPDATE COMPOSER DEPENDENCIES
#=================================================
ynh_script_progression --message="Updating composer..." --weight=1
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="self-update"
ynh_script_progression --message="Updating composer dependencies..." --weight=1
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"