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:
commit
eba4402f3f
7 changed files with 12 additions and 8 deletions
|
@ -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.
|
It is also possible to import your data from Instagram.
|
||||||
|
|
||||||
**Shipped version:** 0.11.4~ynh3
|
**Shipped version:** 0.11.4~ynh4
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ After being first registered, you need to execute the folloing command to promot
|
||||||
|
|
||||||
**Run:**
|
**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?`.
|
and respond yes to the question ` Add admin privileges to this user?`.
|
||||||
|
|
||||||
|
|
|
@ -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.
|
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
|
## 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:**
|
**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 ? »
|
et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? »
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ After being first registered, you need to execute the folloing command to promot
|
||||||
|
|
||||||
**Run:**
|
**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?`.
|
and respond yes to the question ` Add admin privileges to this user?`.
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Après avoir été enregistré pour la première fois, vous devez exécuter la c
|
||||||
|
|
||||||
**Entrez la commande:**
|
**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 ? »
|
et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? »
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "ActivityPub Federated Image Sharing",
|
"en": "ActivityPub Federated Image Sharing",
|
||||||
"fr": "Logiciel de partage d'image fédéré via ActivityPub"
|
"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/",
|
"url": "https://pixelfed.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|
|
@ -125,7 +125,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing composer dependencies..." --weight=1
|
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
|
# CREATE LOG FILE
|
||||||
|
|
|
@ -183,6 +183,10 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE COMPOSER DEPENDENCIES
|
# 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_script_progression --message="Updating composer dependencies..." --weight=1
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"
|
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"
|
||||||
|
|
Loading…
Add table
Reference in a new issue