Directory structure and filename refactoring. (0.20.5)
This commit is contained in:
parent
16d7ef94f3
commit
0c2c0917b2
53 changed files with 177 additions and 90 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE.txt (MIT license).
|
||||
See LICENSE (MIT license).
|
||||
"""
|
||||
# TODO: VERY IMPORTANT! IMPLEMENT ERROR HANDLING ALL THE WAY...!!!
|
||||
# Only exit execution on critical core errors. Do not exit when monitors are failing on
|
||||
|
|
@ -11,13 +11,13 @@ import argparse
|
|||
import signal
|
||||
import sys
|
||||
|
||||
from linspector.core.configuration import Configuration
|
||||
from linspector.core.environment import Environment
|
||||
from linspector.core.linspector import Linspector
|
||||
from linspector.core.logger import Log
|
||||
from linspector.core.monitors import Monitors
|
||||
from linspector.configuration import Configuration
|
||||
from linspector.environment import Environment
|
||||
from linspector.linspector import Linspector
|
||||
from linspector.logger import Log
|
||||
from linspector.monitors import Monitors
|
||||
|
||||
__version__ = '0.20.4'
|
||||
__version__ = '0.20.5'
|
||||
__author__ = 'Johannes Findeisen <you@hanez.org>'
|
||||
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ def main():
|
|||
# daemon initialization
|
||||
if args.daemon:
|
||||
try:
|
||||
from linspector.core.linspectord import Linspectord
|
||||
from linspector.linspectord import Linspectord
|
||||
linspectord = Linspectord(configuration, environment, linspector, log)
|
||||
# do handling of restart, start and stop commands but for now "start" is enough... ;)
|
||||
if args.kill:
|
||||
|
|
|
|||
13
bin/lish
13
bin/lish
|
|
@ -2,7 +2,7 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE.txt (MIT license).
|
||||
See LICENSE (MIT license).
|
||||
"""
|
||||
# TODO: Make use of the "rich" library to for rich text and beautiful formatting in the terminal.
|
||||
import argparse
|
||||
|
|
@ -14,11 +14,10 @@ import logging.handlers
|
|||
import os
|
||||
import sys
|
||||
|
||||
from linspector.core.configuration import Configuration
|
||||
from linspector.core.environment import Environment
|
||||
from linspector.core.linspector import Linspector
|
||||
from linspector.core.logger import Log
|
||||
from linspector.core.monitors import Monitors
|
||||
from linspector.configuration import Configuration
|
||||
from linspector.environment import Environment
|
||||
from linspector.linspector import Linspector
|
||||
from linspector.monitors import Monitors
|
||||
|
||||
logger = logging.getLogger('linspector')
|
||||
|
||||
|
|
@ -146,7 +145,7 @@ def main():
|
|||
# daemon initialization
|
||||
if args.daemon:
|
||||
try:
|
||||
from linspector.core.linspectord import Linspectord
|
||||
from linspector.linspectord import Linspectord
|
||||
linspectord = Linspectord(configuration, environment, linspector, log)
|
||||
# do handling of restart, start and stop commands but for now "start" is enough... ;)
|
||||
if args.kill:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2023 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE.txt for more details.
|
||||
See LICENSE for more details.
|
||||
"""
|
||||
# TODO: Make this a curses style TUI interface for Linspector using urwid or maybe some more modern
|
||||
# framework like textual. Look at the Lish code for more details about backend implementation and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue