Commit graph

40 commits

Author SHA1 Message Date
Alexandre Aubin
299e04cfc7 Set yunohost(-api) bins to python3 2020-12-30 22:38:02 +01:00
Alexandre Aubin
dee08a16fe Move moulinette initialization and other stuff to src/yunohost/__init__.py 2020-05-07 22:15:51 +02:00
Alexandre Aubin
233c962710 Hmpf idk another iteration to cleaning attempt 2020-05-07 22:15:51 +02:00
Alexandre Aubin
f5c16737eb More stuff to reduce complexity 2020-05-07 22:15:51 +02:00
Alexandre Aubin
68c9244492 Remove _die, simplify creation of log dir, make linter a bit happier 2020-05-07 22:15:51 +02:00
Alexandre Aubin
31e5f7e8b5 This arg ain't meaningful anymore? 2020-05-07 22:15:51 +02:00
Alexandre Aubin
94d0e253f7 Clean usr/bin/yunohost and yunohost-api ... 2020-05-07 22:15:51 +02:00
Alexandre Aubin
b0cd37aeca Make sure we have at least the standard stuff in /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/snap/bin:/var/lib/snapd/snap/bin:/snap/bin:/var/lib/snapd/snap/bin ~.~ 2020-04-12 01:57:56 +02:00
Alexandre Aubin
9bcbedc356 Revert "[fix] moulinette logs were never displayed #lol"
This reverts commit 6a0959dd1d.
2019-11-04 23:02:04 +01:00
Laurent Peuch
6a0959dd1d [fix] moulinette logs were never displayed #lol 2019-07-20 06:32:08 +02:00
Luke Murphy
b091ab4029
Allow to display logs when postinstall fails
Closes https://github.com/YunoHost/issues/issues/1345.
2019-05-23 09:42:16 +02:00
Alexandre Aubin
e47fc937c3 Set verbose by default (and remove the corresponding option) 2018-06-01 21:52:19 +00:00
Laurent Peuch
46cb9637b2 [fix] missing m18n import 2017-07-26 05:43:08 +02:00
Laurent Peuch
12c66d1530 [enh] remove timeout from cli interface 2016-12-15 13:24:54 +01:00
Laurent Peuch
8a6b31b690 [fix] exit if not run as root instead of raising an obscur exception 2016-05-19 08:05:59 +02:00
Jérôme Lebleu
43f0fd5dbf [deb] Do not output regen-conf result at postinst 2016-04-16 20:06:45 +02:00
Jérôme Lebleu
a7657c1a39 [ref] Deprecate and rename regenconf action to regen-conf 2016-04-10 10:42:30 +02:00
Jérôme Lebleu
91856cb770 [fix] Import moulinette after dev env check in bin/yunohost{-api,} 2016-04-09 19:35:53 +02:00
Jérôme Lebleu
ee7c4e84aa [fix] Move imports at the top in yunohost and yunohost-api 2016-03-28 18:47:58 +02:00
Jérôme Lebleu
4401237a51 [fix] Check for tty in root_handlers before remove it in bin/yunohost 2016-03-26 19:14:15 +01:00
Julien Malik
160e10e5b5 [enh] dh_python2 replaces shebang during build. Using the correct one in source directly 2016-03-22 09:50:21 +01:00
Jérôme Lebleu
a9046a7200 [enh] Allow to pass the admin password as argument in the cli 2015-12-24 10:35:39 +01:00
Jérôme Lebleu
3f42d12e95 [fix] Do not modify handlers with root_handlers in bin/yunohost 2015-11-15 14:58:35 +01:00
Jérôme Lebleu
1c4bd0e796 [fix] Add tty in root handlers if debug is set in bin/yunohost 2015-11-15 01:05:22 +01:00
Jérôme Lebleu
4a071df6f7 [enh] Set custom logging formatter for the tty in case of debug 2015-11-14 19:18:03 +01:00
Jérôme Lebleu
85d579b9ff [fix] Handle moulinette logging with root logger in both api and cli 2015-11-14 10:58:12 +01:00
Jérôme Lebleu
fe6a01f206 [enh] Define root logger and clean some globals in bin/yunohost 2015-11-13 21:45:55 +01:00
Jérôme Lebleu
f0ab6776d2 [fix] Keep compat with deprecated --plain and --json in the cli 2015-11-13 14:15:22 +01:00
Jérôme Lebleu
7b88f95b1c [enh] Refactor bin/yunohost to follow moulinette changes and add help 2015-11-13 11:58:58 +01:00
Jérôme Lebleu
4978e48c9d [enh] Make use of new logging facilities with the cli in the firewall 2015-11-12 22:39:09 +01:00
Jérôme Lebleu
c9f79f7420 [enh] Add a --plain option to the cli for scripting usage 2015-09-29 14:21:24 +02:00
Jérôme Lebleu
42b1189cd1 [enh] Look for and load additional YunoHost modules 2014-11-16 13:00:08 +01:00
Jérôme Lebleu
71a145c4f1 [fix] Use stderr instead of stdout in 'console' logging handler 2014-11-09 14:11:03 +01:00
Jérôme Lebleu
8e597109be [enh] Review executables structure and add logging configuration 2014-11-01 17:51:33 +01:00
kload
f4e369d4bd [fix] Allow backup_restore action when YunoHost is not postinstalled 2014-10-26 00:03:09 +02:00
Jérôme Lebleu
cb9b038747 [clean] Clean up imports in bin/yunohost 2014-07-28 14:03:09 +02:00
Jérôme Lebleu
c47951e424 [fix] Do not force json encoding - remove previous compatibility 2014-05-30 11:27:22 +02:00
Jérôme Lebleu
fb270f7240 [enh] Reallow to print result in json and readd compatibility for apps 2014-05-17 21:52:43 +02:00
Jérôme Lebleu
46735ff231 [fix] Some fixes after successfull postinstall test 2014-05-16 21:36:49 +02:00
Kload
7c75cefede Add beans 2014-05-16 15:39:40 +02:00