Commit graph

25 commits

Author SHA1 Message Date
Maniack Crudelis
08e51f2680
Do not show errors about log not existing yet. 2019-03-03 18:58:38 +01:00
Maniack Crudelis
337a065b4a
Print progression only after 3s 2019-03-03 18:57:41 +01:00
Maniack Crudelis
12c61eeb65
Use printers 2019-03-03 16:38:54 +01:00
Maniack Crudelis
f51101152a
Missing } 2019-02-26 15:37:50 +01:00
Alexandre Aubin
9cb71e61f4
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-22 12:38:43 +01:00
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
631ca47636
Be sure to get the correct PID 2019-02-18 00:12:01 +01:00
Maniack Crudelis
9052bb0b78
Do not pipe into less 2019-02-18 00:11:04 +01:00
Maniack Crudelis
9f3bf11fd0
Add warning about --line_match usage 2019-02-18 00:04:55 +01:00
Josué Tille
af82be4ffd
Check if file exist 2019-02-16 15:43:09 +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
Alexandre Aubin
508439b112
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-08 19:45:19 +01:00
Maniack Crudelis
1895e1ac63
since 0 instead of since 45 2019-02-06 11:18:16 +01:00
Maniack Crudelis
2e1ccf2b99
Add ynh_systemd_action helper 2019-01-28 16:20:47 +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