Commit graph

621 commits

Author SHA1 Message Date
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
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
Alexandre Aubin
1e94494f24
Merge pull request #223 from OniriCorpe/make-app-url-clickable
Make app url clickable in doc/POST_INSTALL.md
2024-01-02 01:40:18 +01:00
OniriCorpe
45bad30cc9 make app url clickable 2024-01-02 01:01:17 +01:00
OniriCorpe
2dc14b8b50
Merge branch 'master' into fix-SC2086 2023-12-31 22:51:37 +01:00
Alexandre Aubin
3efd02c447
Merge pull request #222 from OniriCorpe/fix-ynh_app_setting_set
add the missing --app to ynh_app_setting_set
2023-12-31 22:49:57 +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
OniriCorpe
a9eca3e1d5 fix SC2086 2023-12-30 03:02:42 +01:00
Alexandre Aubin
5a7f9f5c61
Merge pull request #219 from orhtej2/patch-1
Rename tests.toml.example to tests.toml
2023-12-10 00:17:28 +01:00
Mateusz
ad5800958c
Update and rename tests.toml.example to tests.toml 2023-12-08 22:39:21 +01:00
Alexandre Aubin
98b9486f88
Merge pull request #214 from mh4ckt3mh4ckt1c4s/remove-app-src
Fix outdated mentions to app.src
2023-10-08 00:52:28 +02:00
mh4ckt3mh4ckt1c4s
d9defeaa15 Fix outdated mentions to app.src 2023-10-07 23:11:13 +02:00
tituspijean
6bbf60bfe4
Merge pull request #213 from CodeShakingSheep/fix-typos
Fix typos
2023-09-13 13:37:58 +02:00
CodeShakingSheep
513c83cc11
Fix typo in restore 2023-09-13 11:25:03 +02:00
CodeShakingSheep
acb1558af0
Fix typos in config 2023-09-13 11:23:41 +02:00
CodeShakingSheep
5435af33b3
Fix typos in backup 2023-09-13 11:21:17 +02:00
CodeShakingSheep
91959234f0
Fix typos in upgrade 2023-09-13 11:13:50 +02:00
CodeShakingSheep
f080684d53
Fix typo in install 2023-09-13 11:08:42 +02:00
Tagada
e651730556
Merge pull request #212 from Salamandar/line_length
Split comment lines to reduce the line length in manifest.toml and tests.toml
2023-09-11 22:14:22 +02:00
Félix Piédallu
ad1e2d7f85 Split comment lines to reduce the line length in manifest.toml and tests.toml 2023-08-26 11:38:57 +02:00
Alexandre Aubin
159a81468c
Merge pull request #211 from Salamandar/schemas
Reference schemas in toml files
2023-08-26 11:27:14 +02:00
Félix Piédallu
52ee389cef Reference schemas in toml files 2023-08-26 11:21:42 +02:00