Commit graph

13 commits

Author SHA1 Message Date
Alexandre Aubin
fbedd9b419
Merge pull request #521 from YunoHost/add_ynh_check_app_version_changed
Add ynh_check_app_version_changed
2019-02-18 16:33:28 +01:00
Maniack Crudelis
b62d72f77b
Factorize into ynh_read_manifest 2019-02-16 00:28:27 +01:00
Maniack Crudelis
2065b89142
Use jq instead of python3 2019-02-12 00:28:39 +01:00
Maniack Crudelis
9fb302fe04
[fix] Replace manifest_path by manifest
manifest_path isn't defined
2019-01-13 14:24:17 +01:00
Maniack Crudelis
976f160afb Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
Alexandre Aubin
e0533a1a6a
Really important contribution to the PR 🥷 2018-08-28 00:29:24 +02:00
Maniack Crudelis
0fd9e179f1
Add ynh_check_app_version_changed
- Add the new helper ynh_check_app_version_changed to check the version before an upgrade
- Add also the helpers ynh_read_manifest, ynh_app_upstream_version and ynh_app_package_version.
- These previous helper have been modified (from the experimental version) to support getopts
- ynh_check_app_version_changed has been modified to use ynh_app_upstream_version
2018-08-28 00:14:37 +02:00
Alexandre Aubin
af22474a50 Add some [internal] flags in the comment to hide a few helpers from autodoc 2018-03-10 19:01:37 +01:00
Alexandre Aubin
935b972d6e Misc fixes in the helpers to clean the autodoc 2018-03-09 17:55:07 +01:00
Laurent Peuch
92a3caa8b2
Merge pull request #373 from YunoHost/enh-phpfpm-helper-php7-stretch
Update php-fpm helpers to handle stretch/php7 and a smooth migration
2018-02-08 00:08:40 +01:00
Maniack Crudelis
3a3ec7d9b5 [fix/enh] Use local variables 2017-12-17 20:26:52 +01:00
Jimmy Monin
330a6fb9a7 Add and use ynh_get_debian_release 2017-09-25 21:59:55 +02:00
Maniack Crudelis
9d44e1d84b [enh] New helper ynh_abort_if_errors (#245)
* New helper ynh_check_error

Helpers to implemente trap and set -eu.

Simply to use, you only add `ynh_check_error` in your script.

* Change helper's name

* Propagate new name in comments
2017-03-17 16:16:36 +01:00