Commit graph

4906 commits

Author SHA1 Message Date
Alexandre Aubin
2f31cb6463 Make sure to handle symlinks when fetching logfiles 2020-05-07 22:37:57 +02:00
Alexandre Aubin
f25e07fd82
Update src/yunohost/service.py 2020-05-06 20:18:49 +02:00
Alexandre Aubin
58a29f218e
Update src/yunohost/service.py
Co-authored-by: Kayou <pierre@kayou.io>
2020-05-06 20:06:16 +02:00
Alexandre Aubin
6fc5b41302 Add a few tests for services add/remove/status ... 2020-05-06 18:53:51 +02:00
Alexandre Aubin
e74f49f001 Simplify log list management because log type is deprecated now that we always fetch journalctl 2020-05-06 18:46:44 +02:00
Alexandre Aubin
95dd1e2707 service -> infos ... + misc small syntax improvements 2020-05-06 18:20:03 +02:00
Alexandre Aubin
199258166e services[name] -> service 2020-05-06 18:12:55 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Kayou
ea7594ac78
Merge pull request #974 from YunoHost/test_apps_cleanup_and_automation
Test apps cleanup and automation
2020-05-04 00:58:42 +02:00
Laurent Peuch
121b40879f [tests/fix] add markers to pytest.ini to please pytest 2020-05-04 00:21:02 +02:00
Laurent Peuch
e80fe075e6 [tests/mod] auto clone/pull the test app when running tests 2020-05-03 23:08:52 +02:00
Laurent Peuch
f760d6aa0f [mod] remove unused import 2020-05-03 20:15:33 +02:00
Laurent Peuch
67fe8545dc [mod] remove useless import 2020-05-03 20:14:54 +02:00
Laurent Peuch
b4447bf2b7 [pep8] black test_apps.py 2020-05-03 20:14:42 +02:00
Alexandre Aubin
d29bf04e7c Add a timeout to wget in helpers 2020-05-03 17:37:33 +02:00
Alexandre Aubin
f21b85640b
Merge pull request #969 from YunoHost/ynh_get_ram-improvement
[enh] ynh_get_ram
2020-05-03 16:44:00 +02:00
Alexandre Aubin
b10b9b50a1
Merge pull request #970 from YunoHost/ynh_install_app_dependencies
[Epic Fix] ynh_install_app_dependencies
2020-05-03 16:42:22 +02:00
Kayou
cab6fb8b78
Update logging 2020-05-03 12:11:47 +02:00
Alexandre Aubin
71e30f5b1b Simplify / improve robustness of backup list, follow-up of issue reported on the forum... 2020-05-03 00:55:53 +02:00
Alexandre Aubin
25a1e56921 Misc tweak for disk usage diagnosis, some values were inconsistent / bad UX / ... 2020-05-03 00:17:01 +02:00
Bram
94c9bf0f6d
Merge pull request #939 from YunoHost/nodejs_helper
Make nodejs helpers easier to use
2020-05-02 23:10:39 +02:00
Kayou
843e88c67d
[Epic Fix] ynh_install_app_dependencies 2020-05-02 14:50:00 +02:00
Kayou
8559fb6465
[enh] ynh_get_ram 2020-05-02 14:21:29 +02:00
Alexandre Aubin
e85a29fbf3
Typo zblerg ~.~ 2020-05-02 02:34:28 +02:00
Alexandre Aubin
7edbb2c953
Merge pull request #965 from YunoHost/add-linter
Add linter
2020-05-02 02:29:02 +02:00
Alexandre Aubin
a7d52af77e
Merge pull request #960 from YunoHost/smarter-debug-logs
Try to show smarter / more useful logs by filtering irrelevant lines like set +x etc
2020-05-02 02:14:52 +02:00
Alexandre Aubin
acba1c4bc8
Comment about why not using ynh_die 2020-05-02 02:13:09 +02:00
Alexandre Aubin
6bd7eb64bd Assert slapd is running to avoid miserably crashing with weird ldap errors 2020-05-01 17:53:07 +02:00
Kay0u
3b93ba4772
use tox 2020-05-01 01:27:31 +02:00
Kay0u
4dccab9819
linter on all the repo 2020-05-01 00:45:13 +02:00
Kay0u
81bdb33824
disable black until buster 2020-05-01 00:41:50 +02:00
Kay0u
18580803e6
use python3 for linter 2020-05-01 00:09:19 +02:00
Kay0u
d6095a3c0f
Add linter 2020-04-30 21:16:41 +02:00
ljf
572feafc80 [fix] Remove point in reverse DNS 2020-04-30 20:06:43 +02:00
Alexandre Aubin
f358bdde19 Update changelog for 3.8.2.2 2020-04-30 18:05:55 +02:00
Alexandre Aubin
15807c411c Bad parenthesis positioning 2020-04-30 18:05:55 +02:00
Alexandre Aubin
86810fb68a Goddamit Aleks, check your damn code before release yo 2020-04-30 18:03:44 +02:00
Alexandre Aubin
c33e61ab2e Update changelog for 3.8.2.1 2020-04-30 17:32:29 +02:00
ljf
65d54ba6b9 [fix] Blacklist false positive 2020-04-30 17:16:20 +02:00
Alexandre Aubin
be883c3aef Let's have the short option be -i instead of -f 2020-04-30 05:23:23 +02:00
Alexandre Aubin
bb82c41db6 Apparently set +x is set +o xtrace now ;P 2020-04-30 05:21:42 +02:00
Alexandre Aubin
e9f359e5f0 Call exit 1 directly instead of ynh_die to avoid a full arg parse just to exit.. 2020-04-30 05:14:29 +02:00
Alexandre Aubin
a51478dc40 declare -Ar -> local -A 2020-04-30 05:09:56 +02:00
Alexandre Aubin
9a7b9b0b32 declare -Ar -> local -A 2020-04-30 05:09:56 +02:00
Alexandre Aubin
1cb330823d Try to show smarter / more useful logs by filtering irrelevant lines like 'set +x' etc 2020-04-30 05:09:56 +02:00
Alexandre Aubin
ba27c2ad05
Merge pull request #964 from YunoHost/fix-reversednscheck
[fix] Reverse DNS check
2020-04-30 03:13:21 +02:00
ljf
8de8d0ad6f [fix] Reverse DNS check 2020-04-30 02:44:51 +02:00
Alexandre Aubin
aaccb54775 Hmf, comparison return a warning if swap is exactly 512.. 2020-04-30 02:40:22 +02:00
Alexandre Aubin
4f8aa5e338 Propagate route check to ip diagnoser as well :/ 2020-04-30 02:38:27 +02:00
Alexandre Aubin
7ce56cd867 Bad french translation 2020-04-30 02:34:48 +02:00