Commit graph

695 commits

Author SHA1 Message Date
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
cff78f3595 Delete conf/extra_php-fpm.conf 2024-11-07 04:31:54 -05:00
59fa154472 Update conf/systemd.service 2024-11-07 04:31:44 -05:00
d779ffa406 Update scripts/install 2024-11-07 04:30:44 -05:00
a6b22647d0 Update README.md 2024-11-07 04:27:03 -05:00
a714c50ad1 Update manifest.toml 2024-11-07 04:26:54 -05:00
01b72b66db Update README.md 2024-11-07 04:17:09 -05:00
eric_G
09ce2ea730
Merge pull request #239 from YunoHost/helpers-2.1
Helpers 2.1
2024-09-06 23:26:40 +02:00
Éric Gaspar
910e85002d minor typo 2024-09-03 14:21:56 +02:00
Éric Gaspar
722cf4c54e fix helpers name 2024-09-03 14:19:18 +02:00
Éric Gaspar
cb1248a7fd Update manifest.toml 2024-09-03 14:15:46 +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
Alexandre Aubin
c692e645ae
Merge pull request #238 from YunoHost/OniriCorpe-patch-1
Do not delete logs on app removal
2024-06-20 23:19:13 +02:00
OniriCorpe
02863f8a44
Do not delete logs on app removal 2024-06-20 23:18:36 +02:00
Salamandar
2828981738
Merge pull request #237 from YunoHost/cleaner_remove
Reorder system config removal
2024-06-20 16:09:21 +02:00
Félix Piédallu
a689b34b60 Reorder system config removal 2024-06-20 16:08:54 +02:00
OniriCorpe
cd07a23a45
Add schema to config_panel.toml.example 2024-06-19 01:09:34 +02:00
OniriCorpe
67c9e49ddc Update README.md: fix 'use this template' link 2024-03-23 03:00:15 +01:00
OniriCorpe
533a705c58
Merge pull request #233 from fflorent/patch-2 2024-03-10 20:38:40 +01:00
Florent
e21572eead
Clarify README.md
- DISCLAIMER.md does not exist anymore
 - There are many files the packager can edit under the `doc/` directory
2024-03-10 20:36:08 +01:00
Alexandre Aubin
6078e5f5be
Merge pull request #232 from YunoHost/OniriCorpe-patch-1
Fix readme_generator links
2024-02-25 19:56:34 +01:00
OniriCorpe
108eda32c1
Fix readme_generator links 2024-02-25 19:55:14 +01:00
Alexandre Aubin
1235ae57a3
Merge pull request #231 from YunoHost/OniriCorpe-patch-1
add comment reffering to https://spdx.org/licenses/
2024-02-23 20:54:54 +01:00
OniriCorpe
cb1da19869
add comment reffering to https://spdx.org/licenses/ 2024-02-23 20:53:25 +01:00
Tagada
632671d76c
Merge pull request #230 from Salamandar/prettier_messages
General cleanup of scripts
2024-02-21 17:28:45 +01: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
Alexandre Aubin
58ddacbbbd
Merge pull request #228 from orhtej2/patch-2
Explain change_url a little bit.
2024-01-28 23:46:27 +01:00
Mateusz
ecba16cd5c
Explain change_url a little bit. 2024-01-28 23:40:59 +01:00
Alexandre Aubin
261e458c90
Merge pull request #227 from Salamandar/duplicate_mysql
oops, restore script restores the mysql database twice
2024-01-15 22:59:55 +01:00
Félix Piédallu
45e8243ab8 oops, restore script restores the mysql database twice 2024-01-15 22:06:48 +01:00
Alexandre Aubin
baab7fbd76
Merge pull request #226 from Salamandar/remove_if_upgrade_type
Rework upgrade, remove the 'if upgrade_type == UPGRADE_APP' test.
2024-01-11 14:13:16 +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
1e50c6141d manifest: deindent resources.sources.main 2024-01-10 23:54:47 +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
9b0f4dcaae
Merge pull request #221 from OniriCorpe/fix-SC2086
Fix SC2086 and various other shellcheck errors
2024-01-10 23:14:41 +01:00
eric_G
59d36cab56
Merge branch 'master' into fix-SC2086 2024-01-10 23:14:35 +01:00
eric_G
0a732cbcc4
Merge pull request #215 from Salamandar/reorg
Reorganize steps in scripts to have more coherent scripts one to another
2024-01-10 23:13:36 +01:00