mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Testing (#151)
* Auto-update README * Upgrade to upstream * Auto-update README * Bullseye (#141) * Fix * Fix * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Upgrade * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * PHP * Auto-update README * Update manifest.json * Auto-update README * Update config * Fix * Auto-update README * update * Auto-update README * Version 2 (#148) * v2 * v2 * Auto-update README * Fix * Auto-update README * fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update tests.toml * Delete check_process * Update restore * Update remove * Update install * Update upgrade * Fix * Update upgrade * Update manifest.toml * Update manifest.toml * data_migration * fix * Fix * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
46abed3d38
commit
ce93feecd5
6 changed files with 13 additions and 6 deletions
|
@ -28,7 +28,7 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- flexible article filtering
|
- flexible article filtering
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 20230311~ynh1
|
**Shipped version:** 20230321~ynh1
|
||||||
|
|
||||||
**Demo:** https://srv.tt-rss.org/tt-rss/
|
**Demo:** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux de nouvelles (RSS/Atom) bas
|
||||||
- filtrage flexible des articles
|
- filtrage flexible des articles
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 20230311~ynh1
|
**Version incluse :** 20230321~ynh1
|
||||||
|
|
||||||
**Démo :** https://srv.tt-rss.org/tt-rss/
|
**Démo :** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
// if you experience weird errors and tt-rss failing to start, blank pages
|
// if you experience weird errors and tt-rss failing to start, blank pages
|
||||||
// after login, or content encoding errors, disable it.
|
// after login, or content encoding errors, disable it.
|
||||||
|
|
||||||
putenv('TTRSS_PLUGINS=auth_internal, note');
|
putenv('TTRSS_PLUGINS=auth_internal, note, data_migration');
|
||||||
// Comma-separated list of plugins to load automatically for all users.
|
// Comma-separated list of plugins to load automatically for all users.
|
||||||
// System plugins have to be specified here. Please enable at least one
|
// System plugins have to be specified here. Please enable at least one
|
||||||
// authentication plugin here (auth_*).
|
// authentication plugin here (auth_*).
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Tiny Tiny RSS"
|
||||||
description.en = "News feed (RSS/Atom) reader and aggregator"
|
description.en = "News feed (RSS/Atom) reader and aggregator"
|
||||||
description.fr = "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
description.fr = "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
||||||
|
|
||||||
version = "20230311~ynh1"
|
version = "20230321~ynh1"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ admindoc = "https://tt-rss.org/wiki.php"
|
||||||
code = "https://git-gitea.tt-rss.org/fox/tt-rss"
|
code = "https://git-gitea.tt-rss.org/fox/tt-rss"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.14"
|
yunohost = ">= 11.1.15"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
|
@ -43,6 +43,10 @@ ram.runtime = "50M"
|
||||||
url = "https://git-gitea.tt-rss.org/fox/tt-rss/archive/cddbf5bf5a7e2c433275a3bec089f318d4f211af.tar.gz"
|
url = "https://git-gitea.tt-rss.org/fox/tt-rss/archive/cddbf5bf5a7e2c433275a3bec089f318d4f211af.tar.gz"
|
||||||
sha256 = "41df4c5902a7604acbe330f70a2fbef961338f6cf8798156de10adbc321f8e37"
|
sha256 = "41df4c5902a7604acbe330f70a2fbef961338f6cf8798156de10adbc321f8e37"
|
||||||
|
|
||||||
|
[resources.sources.data_migration]
|
||||||
|
url = "https://dev.tt-rss.org/tt-rss/ttrss-data-migration/archive/6dac32af20dc303ea2e6e03f3a9492ee3ace6a8a.tar.gz"
|
||||||
|
sha256 = "dba5638f44820393e795e8dbf5ffdafeb061913aef245ce630ddddfbc26c32c4"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
|
@ -32,6 +32,7 @@ ynh_script_progression --message="Setting up source files..." --weight=7
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration"
|
||||||
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
|
@ -61,6 +61,7 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration"
|
||||||
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -97,7 +98,8 @@ then
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading the database..." --weight=2
|
ynh_script_progression --message="Upgrading the database..." --weight=2
|
||||||
ynh_exec_as $app php${phpversion} ${install_dir}/update.php --update-schema=force-yes
|
|
||||||
|
ynh_exec_as $app php$phpversion $install_dir/update.php --update-schema=force-yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
|
|
Loading…
Reference in a new issue