mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[ref] Deprecate and rename regenconf action to regen-conf
This commit is contained in:
parent
91856cb770
commit
a7657c1a39
4 changed files with 11 additions and 4 deletions
|
@ -150,6 +150,11 @@ def _init_moulinette(debug=False, verbose=False, quiet=False):
|
||||||
'handlers': [],
|
'handlers': [],
|
||||||
'propagate': True,
|
'propagate': True,
|
||||||
},
|
},
|
||||||
|
'moulinette.interface': {
|
||||||
|
'level': level,
|
||||||
|
'handlers': handlers,
|
||||||
|
'propagate': False,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'root': {
|
'root': {
|
||||||
'level': level,
|
'level': level,
|
||||||
|
|
|
@ -956,8 +956,8 @@ service:
|
||||||
default: 50
|
default: 50
|
||||||
type: int
|
type: int
|
||||||
|
|
||||||
### service_regenconf()
|
### service_regen_conf()
|
||||||
regenconf:
|
regen-conf:
|
||||||
action_help: >
|
action_help: >
|
||||||
Regenerate the configuration file(s) for a service and compare the result
|
Regenerate the configuration file(s) for a service and compare the result
|
||||||
with the existing configuration file.
|
with the existing configuration file.
|
||||||
|
@ -965,6 +965,8 @@ service:
|
||||||
api: PUT /services/regenconf
|
api: PUT /services/regenconf
|
||||||
configuration:
|
configuration:
|
||||||
lock: false
|
lock: false
|
||||||
|
deprecated:
|
||||||
|
- regenconf
|
||||||
arguments:
|
arguments:
|
||||||
-s:
|
-s:
|
||||||
full: --service
|
full: --service
|
||||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -10,7 +10,7 @@ Homepage: https://yunohost.org/
|
||||||
Package: yunohost
|
Package: yunohost
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${python:Depends}, ${misc:Depends}
|
Depends: ${python:Depends}, ${misc:Depends}
|
||||||
, moulinette (>= 2.3.4)
|
, moulinette (>= 2.3.5)
|
||||||
, python-psutil, python-requests, python-dnspython
|
, python-psutil, python-requests, python-dnspython
|
||||||
, python-apt, python-miniupnpc
|
, python-apt, python-miniupnpc
|
||||||
, glances
|
, glances
|
||||||
|
|
|
@ -273,7 +273,7 @@ def service_log(name, number=50):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def service_regenconf(service=None, force=False):
|
def service_regen_conf(service=None, force=False):
|
||||||
"""
|
"""
|
||||||
Regenerate the configuration file(s) for a service and compare the result
|
Regenerate the configuration file(s) for a service and compare the result
|
||||||
with the existing configuration file.
|
with the existing configuration file.
|
||||||
|
|
Loading…
Add table
Reference in a new issue