Commit graph

5112 commits

Author SHA1 Message Date
Alexandre Aubin
17a439e9ea Update changelog for 3.8.4.2 2020-05-19 20:18:33 +02:00
Alexandre Aubin
dd3dd9569a
Merge pull request #993 from YunoHost/rework-postgresql-first-time-helper
[fix] Rework ynh_psql_test_if_first_run
2020-05-19 20:07:03 +02:00
Alexandre Aubin
d7891970c3 Clean unused code/imports 2020-05-19 19:56:04 +02:00
Alexandre Aubin
0dde1f6d4f Fix exception assertion 2020-05-18 19:57:54 +02:00
Alexandre Aubin
f9e4c96ca3 Crash early about apps already installed when attempting to restore 2020-05-18 18:49:38 +02:00
Kay0u
09ebed1d0b
change deb name 2020-05-18 16:35:50 +02:00
Kay0u
471dc025db
move debhelper install
[skip ci]
2020-05-18 15:26:01 +02:00
Kay0u
85442c42dc
fix install 2020-05-18 15:11:38 +02:00
Kay0u
09ff411664
rework build scripts 2020-05-18 15:11:31 +02:00
Alexandre Aubin
94ea826518 Most of the time there's no .ini file and it still displays an info about the file not existing when attempting to remove it 2020-05-18 01:31:37 +02:00
Alexandre Aubin
fc30d82df5 Ugly hack to workaround sury pinning issues when installing dependencies 2020-05-18 00:41:05 +02:00
Kay0u
24d83b6a97
fix avahi install 2020-05-17 20:54:15 +02:00
Kay0u
01f8ee6b7b
fix stupid fail2ban issue 2020-05-17 18:29:10 +02:00
Alexandre Aubin
f73c34bfc1 Tell systemctl to stfu when enabling/disabling services, just do it 2020-05-17 17:00:33 +02:00
Kay0u
7f4b0ce6e3
Add YNH repo before install 2020-05-17 16:58:03 +02:00
Kay0u
7d284e8447
[enh] build and install deb 2020-05-17 14:10:27 +02:00
Alexandre Aubin
2d2b3e6bb6 Rework ynh_psql_test_if_first_run 2020-05-17 04:22:44 +02:00
Alexandre Aubin
7b4a9b57bc Stewpeed typo :| 2020-05-17 04:22:15 +02:00
Alexandre Aubin
086db7a94b Need to explicitly convert info from dbusthingy to str :/ 2020-05-17 04:10:19 +02:00
Alexandre Aubin
5c8c07b8c9 More cleaning of app install logs: we don't really care about debug for ynh_wait_dpkg_free 2020-05-17 03:24:26 +02:00
Kayou
108a3ca498
Update .gitlab-ci.yml 2020-05-16 13:31:41 +02:00
Alexandre Aubin
f8e5ea4652 Fix tests, rely on _get_service_information_from_systemd to fetch service info during service add 2020-05-16 00:53:49 +02:00
Bram
6a75716fb5
Merge pull request #989 from YunoHost/test-for-args-parsing
Test for args parsing
2020-05-16 00:41:40 +02:00
Alexandre Aubin
1cd7ffea66 Report unknown status for services as just a warning 2020-05-16 00:21:01 +02:00
Alexandre Aubin
dd608baec5 Small simplification? 2020-05-16 00:21:01 +02:00
Alexandre Aubin
1244241b3f Have an independant function for building the service status 2020-05-16 00:21:01 +02:00
Alexandre Aubin
dd09758fb5 Report the service status as unknown if service type is oneshot and status exited 2020-05-16 00:21:01 +02:00
Alexandre Aubin
c9b2213817 Don't miserably crash if doveadm fails to run 2020-05-15 17:08:23 +02:00
Laurent Peuch
fd358fdfcc [enh] start writting test for arguments parsing 2020-05-15 05:21:36 +02:00
Alexandre Aubin
413778d2bc Check if app broke something important only if install succeeded (if install fails, this check only matters *after* we remove the app which is already done) 2020-05-15 04:23:58 +02:00
Alexandre Aubin
5850bf610f Get rid of those damn warnings about file descriptors 2020-05-15 04:00:58 +02:00
Laurent Peuch
c600b3b53e [mod] rename everything in _parse_args_in_yunohost_format because I'm too old and too tired for shitty variable name, also docstring 2020-05-15 03:23:12 +02:00
Laurent Peuch
757cef32b3 [mod] remove unused import 2020-05-14 21:30:00 +02:00
Alexandre Aubin
4cd4938eb4 Change logic of --email to avoid sending empty mail is some issues are found but ignored 2020-05-14 19:32:45 +02:00
Alexandre Aubin
e140546092 Hmgn need to make sure to write this on a new line 2020-05-14 19:13:08 +02:00
Alexandre Aubin
9cbd368dca Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs 2020-05-14 04:46:18 +02:00
Alexandre Aubin
65c87d55df Try to not have weird warnings if no diagnosis ran yet... 2020-05-14 03:56:32 +02:00
Alexandre Aubin
97199d1961 Sometimes dpkg --configure -a ain't enough... 2020-05-14 03:25:24 +02:00
Alexandre Aubin
e67dc79197 Add the damn short hostname to /etc/hosts automagically 2020-05-14 01:47:34 +02:00
Alexandre Aubin
c6f184960c We don't need to display hostname when fetching logs with journalctl 2020-05-13 16:59:59 +02:00
Alexandre Aubin
09d8500fda Also run dpkg --audit to check if dpkg is in a broken state 2020-05-13 16:38:27 +02:00
Alexandre Aubin
4d734a27a0 Forcing unicode creates issue with non-ascii strings or whatever.. 2020-05-13 16:18:23 +02:00
Alexandre Aubin
26fcfed7fb Only mention packages that couldn't be upgraded during failed apt upgrades 2020-05-13 15:20:49 +02:00
Alexandre Aubin
b0136bd1aa Update changelog for 3.8.4.1 2020-05-11 00:51:01 +02:00
Alexandre Aubin
429df8c43f Ugh smaller treshold because people have exactly 500MB ... 2020-05-11 00:44:37 +02:00
Alexandre Aubin
2205515d35 Add a dummy description to avoid warning 2020-05-11 00:37:25 +02:00
Alexandre Aubin
b6631b4882 Add a test for service_log 2020-05-11 00:37:12 +02:00
Alexandre Aubin
afbeb145b6 Make sure we have a list for log_list 2020-05-11 00:36:46 +02:00
Alexandre Aubin
43facfd5b5 Again here, list.remove(foo) fails if foo ain't in list :[ 2020-05-11 00:21:25 +02:00
Alexandre Aubin
c346f5f1df This file sometimes has stupid \x00 inside ~.~ 2020-05-09 22:08:49 +02:00