1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Merge pull request #43 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-09-21 07:27:21 +02:00 committed by GitHub
commit 08cfb4ee4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 8 additions and 48 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Hosting platform made for podcasters
**Shipped version:** 1.0.0-70~ynh1
**Shipped version:** 1.0.0-72~ynh1
**Demo:** https://podcast.podlibre.org/@podlibre_fr

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Plateforme d'hébergement conçue pour les podcasteurs
**Version incluse :** 1.0.0-70~ynh1
**Version incluse :** 1.0.0-72~ynh1
**Démo :** https://podcast.podlibre.org/@podlibre_fr

View file

@ -1,7 +1,6 @@
SOURCE_URL=https://code.podlibre.org/podlibre/castopod-host/uploads/d979ccf46d8426ccdbb838d460698f7d/castopod-host-1.0.0-alpha.70.zip
SOURCE_SUM=5628536dd692893a33ac09a1e46b90f59a9303f31bf0d2b42b15102ee2f51ef5
SOURCE_URL=https://code.podlibre.org/podlibre/castopod-host/uploads/738e79d4c97aa975a245ccd3dc8c9a95/castopod-host-1.0.0-alpha.72.zip
SOURCE_SUM=afb25e17f68b68190a73499a370de0f1ca8755dfed9e3b3482359ff3fd23b2fd
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -6,7 +6,7 @@
"en": "Hosting platform made for podcasters",
"fr": "Plateforme d'hébergement conçue pour les podcasteurs"
},
"version": "1.0.0-70~ynh1",
"version": "1.0.0-72~ynh1",
"url": "https://podlibre.org/",
"upstream": {
"license": "GPL-3.0-only",
@ -37,13 +37,11 @@
"help": {
"en": "Castopod needs to be installed in a dedicated domain or sub-domain.",
"fr": "Castopod doit être installé dans un domaine ou sous-domaine dédié."
},
"example": "podcast.example.com"
}
},
{
"name": "admin",
"type": "user",
"example": "johndoe"
"type": "user"
},
{
"name": "is_public",
@ -56,8 +54,7 @@
},
{
"name": "password",
"type": "password",
"example": "Choose a password"
"type": "password"
}
]
}

View file

@ -8,8 +8,6 @@ YNH_PHP_VERSION="8.0"
extra_php_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mysqlnd"
pkg_dependencies="redis-server redis-tools"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -57,13 +57,6 @@ ynh_script_progression --message="Configuring system user..." --weight=1
# Create a system user
ynh_system_user_create --username=$app --home_dir=$final_path
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# CREATE A MYSQL DATABASE
#=================================================

View file

@ -37,14 +37,6 @@ ynh_script_progression --message="Removing the Redis database..." --weight=1
ynh_redis_remove_db "$redis_db"
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..." --weight=1
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE APP MAIN DIR
#=================================================

View file

@ -14,9 +14,6 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@ -75,18 +72,9 @@ chown -R $app:www-data "$final_path"
#ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --package="$extra_php_dependencies"
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================

View file

@ -102,13 +102,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# PHP-FPM CONFIGURATION
#=================================================