Commit graph

32 commits

Author SHA1 Message Date
ljf
ccb6dc54b1 [fix] Avoid warning and use safeloader 2021-08-17 17:26:00 +02:00
Laurent Peuch
97f26015c6 [fix] kill all bare exceptions 2021-02-02 14:40:29 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
49f6394233 autopep8 --in-place -a -a -a --ignore E402,E501,E722 -r src/yunohost/{__init__.py,certificate.py,diagnosis.py,domain.py,dyndns.py,firewall.py,hook.py,log.py,regenconf.py,service.py,settings.py,ssh.py,tools.py} 2020-09-03 17:37:08 +02:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00
Alexandre Aubin
60dd1fc848 [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-07-27 19:22:21 +02:00
Kay0u
7bfe564aab fix get_files_diff if {orig,new}_file is None 2020-06-30 15:46:15 +02:00
Alexandre Aubin
b970cba6c4 Following previous regenconf fixes, the regen-conf was now outputing a whole lot of 'forget-about-it' when e.g. running regen-conf for nginx because of files flagged as 'should-not-exists'... so this is a dirty workaround 2020-06-17 17:37:54 +02:00
Alexandre Aubin
5a003291bc
Merge branch 'stretch-unstable' into fix-regen-conf-for-ssh 2020-06-06 01:57:03 +02:00
Alexandre Aubin
0a9875b607 Fix regen-conf mechanism for SSH 2020-06-03 20:17:49 +02:00
Alexandre Aubin
b9bf558b19 Properly handle stale hashes of files even when file got manually removed/modified 2020-05-28 22:07:12 +02:00
Alexandre Aubin
84239ac052 Get rid of old hashes of file that 'are expected to be removed' and are indeed 'already removed' 2020-05-28 21:37:15 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
Alexandre Aubin
d8c2f436f9
Merge branch 'stretch-unstable' into misc-optimizations 2020-04-29 18:14:05 +02:00
Alexandre Aubin
9ef2c60a90 Uhoh we can't call domain_list if postinstall ain't done yet 2020-04-25 05:24:27 +02:00
Alexandre Aubin
319898baf7 Feed domain list to regen-conf hooks directly through env to avoid having to call 'yunohost domain list' 2020-04-25 03:49:30 +02:00
Alexandre Aubin
99ad8cc492 Force-flush the regen-conf for nginx domain conf when adding/removing a domain... 2020-04-21 04:45:16 +02:00
Alexandre Aubin
1795e9e84b Fixing undefined string, removing old unused strings, and fixing stuff for other false-negatives 2020-03-30 20:59:05 +02:00
Alexandre Aubin
c39a1f010e Mistakes were made 2019-11-07 22:19:07 +01:00
Alexandre Aubin
fc53148070
Merge branch 'stretch-unstable' into new-diagnosis-system 2019-11-06 18:14:21 +01:00
Alexandre Aubin
e463e282f2 Yolo fix to avoid regenerating glances' conf during upgrade to 3.8 2019-11-06 17:19:28 +01:00
Alexandre Aubin
4cbd1b06c2 Add a regenconf diagnoser to report manually modified files... 2019-10-10 16:13:13 +02:00
Alexandre Aubin
6aebec4a34 Residual .migrate() -> .run() 2019-09-27 20:37:13 +02:00
Alexandre Aubin
2694a44ee7 Fix naming for operation logger 2019-04-18 17:05:41 +02:00
Alexandre Aubin
845a7796be Remove old piece of stale code (c.f. previous lines) 2019-04-18 16:38:54 +02:00
Alexandre Aubin
8e7684c7d5 Use REGEN_CONF_FILE global instead of hard-coded filename 2019-04-18 15:53:16 +02:00
Alexandre Aubin
817c3cdd41 Merge branch 'stretch-unstable' into decouple-regenconf-from-services 2019-04-18 15:33:02 +02:00
Alexandre Aubin
0ebbb83191 Add migration for services.yml on existing instance 2019-02-18 19:27:40 +01:00
Alexandre Aubin
39891b228c Inteface with regenconf.yml instead of services.yml 2019-02-18 19:27:40 +01:00
Alexandre Aubin
3067e8e897 Misc renaming for consistency, basically service->category 2019-02-18 19:27:40 +01:00
Alexandre Aubin
739bf8e559 Brutally move regenconf stuff to a new regenconf.py file 2019-02-18 19:27:40 +01:00