Commit graph

314 commits

Author SHA1 Message Date
Boudewijn
4690aa29e0 tweak permissions in conf/install 2025-03-01 10:59:53 +01:00
Boudewijn
5ccc9c7b3c tweak permissions in manifest and conf/install 2025-03-01 10:57:07 +01:00
Boudewijn
fb171c8e65 switch from __variable__ to in install file 2025-03-01 09:43:16 +01:00
Boudewijn
351e4ba985 remove systemd references, restart nginx/php-fpm 2025-03-01 09:40:53 +01:00
Boudewijn
7f865c37a1 remove systemd.service 2025-03-01 09:24:30 +01:00
Boudewijn
eeb0102d9a Various alterations, deletions and additions after running my idlers successfully without path on non-Yunohost 2025-03-01 09:17:43 +01:00
Boudewijn
cb1c42cbc3 remove another lychee copy-ism, this time for a non-existant directory 2025-02-26 22:37:40 +01:00
Boudewijn
e021cda93e follow cp6's instructions for installing, not a copy of lychee: remove --force from database install via artisan to prevent errors 2025-02-26 22:35:32 +01:00
Boudewijn
9994b4f8b4 remove from install an attempt at updating composer 2025-02-26 22:32:42 +01:00
Boudewijn
6fffad8aca remove from install all references to ynh_composer_version 2025-02-26 22:25:04 +01:00
Boudewijn
21de0157b2 add ynh_composer_version in _common.sh 2025-02-26 22:22:37 +01:00
Boudewijn
717d17545a install: r34 in commentaar zetten (composer version) 2025-02-26 21:52:21 +01:00
Boudewijn
b4c78749d5 install: proberen om ynh_composer_version mee te geven, zie https://forum.yunohost.org/t/new-experimental-2-1-helpers/30114 2025-02-26 21:50:00 +01:00
Boudewijn
6504a34186 install: proberen om ynh_composer_version mee te geven, zie https://forum.yunohost.org/t/new-experimental-2-1-helpers/30114 2025-02-26 21:47:42 +01:00
Boudewijn
75a7305ce0 install: proberen om ynh_composer_version mee te geven, zie https://forum.yunohost.org/t/new-experimental-2-1-helpers/30114 2025-02-26 21:43:18 +01:00
Boudewijn
945f289d91 install: proberen om ynh_composer_version mee te geven 2025-02-26 21:26:41 +01:00
Boudewijn
36f2025a0f install: ynh_composer_update bestaat niet, verwijderd. Later alternatief zoeken 2025-02-26 11:05:24 +01:00
Boudewijn
60899342a5 php-curl aan manifest toevoegen, ynh_composer_update aan install 2025-02-26 11:02:58 +01:00
Boudewijn
63ba69359d include composer/building lines in install script 2025-02-26 10:24:13 +01:00
Boudewijn
e2c6566a94 some_config_file does not seem to be needed, was commented out - mostly. Last occurence not, causing install failure. Now commented as well 2025-02-25 15:13:56 +01:00
Boudewijn
e3e68e2e17 Commit first changes to example package for My Idlers 2025-02-25 14:30:31 +01:00
eric_G
f51a66b246 cleaning 2025-01-22 09:54:07 +01:00
yalh76
a5e09ee273 Update backup 2024-12-30 00:57:17 +01: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
eric_G
59d36cab56
Merge branch 'master' into fix-SC2086 2024-01-10 23:14:35 +01:00
Félix Piédallu
1098a892c1 Reorganize steps in scripts to have more coherent scripts one to another 2024-01-10 22:29:09 +01:00
OniriCorpe
2dc14b8b50
Merge branch 'master' into fix-SC2086 2023-12-31 22:51:37 +01:00
Alexandre Aubin
87b615fd55
Update scripts/config: make sure to use keyword args for all args 2023-12-31 22:49:46 +01:00
OniriCorpe
db8ad8dc49 add the missing --app to ynh_app_setting_set 2023-12-31 22:26:58 +01:00
OniriCorpe
d99bc6f18a fix SC2155 2023-12-30 03:04:55 +01:00
OniriCorpe
07b787b347 fix SC2290 2023-12-30 03:03:32 +01:00