diff --git a/manifest.toml b/manifest.toml index 55fd9de..c5fc3df 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,17 +4,16 @@ packaging_format = 2 id = "rsshub" name = "RSSHub" -description.en = "Explain in *a few (10~15) words* the purpose of the app or what it actually does (it is meant to give a rough idea to users browsing a catalog of 100+ apps)" -description.fr = "Expliquez en *quelques* (10~15) mots l'utilité de l'app ou ce qu'elle fait (l'objectif est de donner une idée grossière pour des utilisateurs qui naviguent dans un catalogue de 100+ apps)" +description.en = "Extensible RSS feed aggregator" +description.fr = "Agrégateur de flux RSS extensible" -version = "1.0~ynh1" +version = "2023.10.05~ynh1" -maintainers = ["johndoe"] +maintainers = ["eric_G"] [upstream] license = "MIT" -website = "https://example.com" -demo = "https://demo.example.com" +website = "https://docs.rsshub.app/" admindoc = "https://docs.rsshub.app/install/" code = "https://github.com/DIYgod/RSSHub" @@ -52,8 +51,6 @@ ram.runtime = "50M" [resources.install_dir] - #[resources.data_dir] - [resources.permissions] main.url = "/" diff --git a/scripts/backup b/scripts/backup index 4606e12..f8e82aa 100755 --- a/scripts/backup +++ b/scripts/backup @@ -21,13 +21,6 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" -#================================================= -# BACKUP THE DATA DIR -#================================================= - -# Only relevant if there is a "data_dir" resource for this app -ynh_backup --src_path="$data_dir" --is_big - #================================================= # BACKUP THE NGINX CONFIGURATION #================================================= @@ -40,13 +33,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/systemd/system/$app.service" -#================================================= -# BACKUP THE MYSQL DATABASE -#================================================= -ynh_print_info --message="Backing up the MySQL database..." - -ynh_mysql_dump_db --database="$db_name" > db.sql - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index 2ed831b..3115979 100755 --- a/scripts/restore +++ b/scripts/restore @@ -19,23 +19,6 @@ ynh_restore_file --origin_path="$install_dir" chown -R $app:www-data "$install_dir" -#================================================= -# RESTORE THE DATA DIRECTORY -#================================================= -ynh_script_progression --message="Restoring the data directory..." --weight=1 - -ynh_restore_file --origin_path="$data_dir" --not_mandatory - -# (Same as for install dir) -chown -R $app:www-data "$data_dir" - -#================================================= -# RESTORE THE MYSQL DATABASE -#================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 - -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql - #================================================= # REINSTALL DEPENDENCIES #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0393df2..edf8502 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,12 +50,12 @@ yunohost service add $app --description="A short description of the app" --log=" #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +#ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file" +#ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file" -chmod 400 "$install_dir/some_config_file" -chown $app:$app "$install_dir/some_config_file" +#chmod 400 "$install_dir/some_config_file" +#chown $app:$app "$install_dir/some_config_file" #================================================= # START SYSTEMD SERVICE diff --git a/tests.toml.example b/tests.toml similarity index 100% rename from tests.toml.example rename to tests.toml