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 #129 from YunoHost-Apps/testing

upgrade for v0.10.10
This commit is contained in:
yalh76 2021-02-22 20:46:10 +01:00 committed by GitHub
commit 266365ea3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 8 deletions

View file

@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
The federated image sharing service Pixelfed, for YunoHost
**Shipped version:** 0.10.9
**Shipped version:** 0.10.10
## Important points to read before installing

View file

@ -20,6 +20,8 @@
# upgrade=1 from_commit=8c5e710060da43a946336d66a30b9c311cfdbc37
# 0.10.9~ynh2
# upgrade=1 from_commit=c81ed6b760a1a68b8993917e808434166766a37a
# 0.10.9~ynh3
upgrade=1 from_commit=9c7d0ff114bb0bd3482901fde4bd82b494aa2e6d
backup_restore=1
multi_instance=1
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
@ -39,3 +41,5 @@ Notification=all
name=0.10.9~ynh1
; commit=c81ed6b760a1a68b8993917e808434166766a37a
name=0.10.9~ynh2
; commit=9c7d0ff114bb0bd3482901fde4bd82b494aa2e6d
name=0.10.9~ynh3

View file

@ -76,6 +76,7 @@ REDIS_SCHEME=tcp
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
REDIS_DATABASE=0
## EXPERIMENTS
EXP_LC=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.9.tar.gz
SOURCE_SUM=d843796473858de2f0f3cda11db2f711b8303a058660d62c6696d4cb828a8a45
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.10.tar.gz
SOURCE_SUM=096faddbf43c41552e9f03eb4b76b70a04e314ca6974d13c0f2a73c42a4aa617
OURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

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

View file

@ -5,11 +5,11 @@
#=================================================
# dependencies used by the app
pkg_dependencies="postgresql redis-server imagemagick jpegoptim optipng pngquant supervisor"
pkg_dependencies="postgresql redis-server libgd3 jpegoptim optipng pngquant ffmpeg imagemagick supervisor"
YNH_PHP_VERSION="7.3"
extra_php_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-ctype php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-iconv php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tokenizer php${YNH_PHP_VERSION}-simplexml php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-redis"
extra_php_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-ctype php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-iconv php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-redis php${YNH_PHP_VERSION}-tokenizer php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-imagick"
#=================================================
# PERSONAL HELPERS

View file

@ -153,6 +153,7 @@ ynh_script_progression --message="Deploying..."
pushd "$final_path"
php$phpversion artisan -n key:generate --force
php$phpversion artisan horizon:install
php$phpversion artisan horizon:publish
php$phpversion artisan config:clear
php$phpversion artisan config:cache
php$phpversion artisan route:cache
@ -161,7 +162,8 @@ pushd "$final_path"
php$phpversion artisan migrate --force
php$phpversion artisan update
php$phpversion artisan horizon:purge
php$phpversion artisan horizon:assets
php$phpversion artisan import:cities
php$phpversion artisan instance:actor
popd
#=================================================

View file

@ -195,6 +195,7 @@ ynh_script_progression --message="Deploying..."
pushd "$final_path"
php$phpversion artisan horizon:install
php$phpversion artisan horizon:publish
php$phpversion artisan config:clear
php$phpversion artisan config:cache
php$phpversion artisan route:clear
@ -205,7 +206,8 @@ pushd "$final_path"
php$phpversion artisan migrate --force
php$phpversion artisan update
php$phpversion artisan horizon:purge
php$phpversion artisan horizon:assets
php$phpversion artisan import:cities
php$phpversion artisan instance:actor
popd
#=================================================