Commit graph

321 commits

Author SHA1 Message Date
818bc8b5cd Update scripts/backup 2024-11-15 18:59:39 -05:00
0dbc0bdab4 Update scripts/upgrade 2024-11-15 18:35:15 -05:00
06fb2582de Update scripts/change_url 2024-11-15 18:30:51 -05:00
76620cdcce Delete scripts/config 2024-11-15 18:30:14 -05:00
236402a0df Update scripts/restore 2024-11-15 18:29:45 -05:00
486b7f2be5 Update scripts/remove 2024-11-15 18:28:12 -05:00
afd3ea99ed Update scripts/backup 2024-11-15 18:17:03 -05:00
7cce865935 Update scripts/install 2024-11-15 18:15:14 -05:00
1bcf87c5f6 Update scripts/install 2024-11-15 17:49:34 -05:00
8b16d85b14 Update scripts/install 2024-11-15 17:46:08 -05:00
12bc5aaa97 Update scripts/install 2024-11-15 17:43:51 -05:00
7ae4661772 Update scripts/_common.sh 2024-11-15 17:32:50 -05:00
dcdd774b67 Update scripts/install 2024-11-15 17:32:41 -05:00
3475ae1eac Update scripts/install 2024-11-15 12:55:16 -05:00
05c26013b5 Update scripts/install 2024-11-15 12:53:12 -05:00
a5ded78bc6 Update scripts/install 2024-11-15 12:25:52 -05:00
2963637e66 Update scripts/install 2024-11-15 12:24:14 -05:00
0fc5df949e Update scripts/install 2024-11-15 12:21:46 -05:00
62b341441c Update scripts/remove 2024-11-15 12:21:11 -05:00
9a02b145e2 Update scripts/install 2024-11-15 12:18:46 -05:00
2604c082f9 Update scripts/install 2024-11-15 12:15:51 -05:00
b079255f93 Update scripts/install 2024-11-15 12:06:47 -05:00
ffdab037f9 Update scripts/install 2024-11-15 12:04:44 -05:00
d49ca3b92f Update scripts/install 2024-11-15 12:02:59 -05:00
f499db9f8f Update scripts/restore 2024-11-15 06:18:44 -05:00
4571fe0343 Update scripts/remove 2024-11-15 06:17:23 -05:00
f19ffda5ff Update scripts/install 2024-11-07 04:34:20 -05:00
300a1469af Update scripts/upgrade 2024-11-07 04:33:47 -05:00
a625696211 Update scripts/install 2024-11-07 04:32:23 -05:00
d779ffa406 Update scripts/install 2024-11-07 04:30:44 -05:00
Éric Gaspar
722cf4c54e fix helpers name 2024-09-03 14:19:18 +02:00
Félix Piédallu
2324dd95d2 Use ynh_app_setting_set_default 2024-09-03 14:11:28 +02:00
Éric Gaspar
f7ea228df8 minor typos 2024-09-03 14:10:51 +02:00
Félix Piédallu
cfe872b50e On upgrade, pass --full_replace, --keep to ynh_setup_source, with the according doc. 2024-09-03 13:39:06 +02:00
Alexandre Aubin
17f4953ad6 Helpers 2.1 2024-09-03 13:39:06 +02:00
OniriCorpe
02863f8a44
Do not delete logs on app removal 2024-06-20 23:18:36 +02:00
Félix Piédallu
a689b34b60 Reorder system config removal 2024-06-20 16:08:54 +02:00
Félix Piédallu
bd4d08752e Reorganize a bit the scripts:
* Add configuration files before system configuration in install and upgrade scripts
* In upgrade scripts, stop systemd service before 'ensure downward compatibility' because most apps need a stopped service before moving files around
2024-02-21 16:34:51 +01:00
Félix Piédallu
48b7d28c35 Remove double header comments, since packagingv2 there are less and less 'specific steps' and 'generic steps'.
I feel like they don't make much sense anymore.
2024-02-21 16:33:41 +01:00
Félix Piédallu
0907459b4e Use less generic messages for progression 2024-02-21 16:26:17 +01:00
eric_G
d35266b80e
Update upgrade 2024-02-10 21:57:32 +01:00
Mateusz
ecba16cd5c
Explain change_url a little bit. 2024-01-28 23:40:59 +01:00
Félix Piédallu
45e8243ab8 oops, restore script restores the mysql database twice 2024-01-15 22:06:48 +01:00
Félix Piédallu
9dd25c37a0 Rework upgrade, remove the 'if upgrade_type == UPGRADE_APP' test.
Indeed, even if the upgrade is only a 'ynh revision', this revision might actually be fixing
what *is* inside this if test.
So we can't discriminate generic things in the script according to the upgrade_type.

The ynh_check_app_version_changed helper is now a simple shim that reads YNH_APP_UPGRADE_TYPE.
The rest of its old logic is now handled by the core.
So instead of calling it, we can just read YNH_APP_UPGRADE_TYPE and add some documentation about
possible values.
2024-01-11 10:29:35 +01:00
eric_G
bbbc1df6dd
Merge pull request #224 from Salamandar/codingstyle
Codingstyle
2024-01-10 23:57:58 +01:00
eric_G
744c3fd04f
Merge pull request #210 from YunoHost/simplified-add-fpm-config
Simplified add fpm config
2024-01-10 23:57:45 +01:00
Félix Piédallu
2bce5bbc26 Fix comments: # for real scripts comments, ### for app packaging doc 2024-01-10 23:53:14 +01:00
Félix Piédallu
2a9127168e Change tabs to spaces, move 'if, then' on a single line instead of splitted lines 2024-01-10 23:34:28 +01:00
eric_G
021125aa33
Merge pull request #217 from Salamandar/backuplog
Backup and restore the log directory
2024-01-10 23:15:29 +01:00
Félix Piédallu
1b9796fb2b Backup and restore the log directory 2024-01-10 23:14:52 +01:00