Change: Project name to Albero
This commit is contained in:
parent
d32878fc2e
commit
6cc7a84716
@ -9,8 +9,8 @@ import yaml
|
||||
import anyconfig
|
||||
from pprint import pprint
|
||||
|
||||
from ansible_tree.query import Query
|
||||
from ansible_tree.utils import schema_validate
|
||||
from albero.query import Query
|
||||
from albero.utils import schema_validate
|
||||
import anyconfig
|
||||
# from box import Box
|
||||
from pathlib import Path
|
||||
@ -16,7 +16,7 @@ import sys
|
||||
# Devel tmp
|
||||
sys.path.append("/home/jez/prj/bell/training/tiger-ansible/ext/ansible-tree")
|
||||
|
||||
import ansible_tree.app as Albero
|
||||
import albero.app as Albero
|
||||
|
||||
class CmdApp:
|
||||
"""Main CmdApp"""
|
||||
@ -25,7 +25,7 @@ class CmdApp:
|
||||
"""Start new App"""
|
||||
|
||||
self.get_args()
|
||||
self.get_logger(verbose=self.args.verbose, logger_name="ansible_tree")
|
||||
self.get_logger(verbose=self.args.verbose, logger_name="albero")
|
||||
self.cli()
|
||||
|
||||
def get_logger(self, logger_name=None, create_file=False, verbose=0):
|
||||
@ -12,8 +12,8 @@ from pprint import pprint
|
||||
import collections
|
||||
|
||||
|
||||
from ansible_tree.utils import schema_validate, str_ellipsis
|
||||
import ansible_tree.plugin as TreePlugins
|
||||
from albero.utils import schema_validate, str_ellipsis
|
||||
import albero.plugin as TreePlugins
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -2,15 +2,15 @@
|
||||
|
||||
import copy
|
||||
# from pathlib import Path
|
||||
# from ansible_tree.utils import render_template
|
||||
# from ansible_tree.plugin.common import PluginBackendClass
|
||||
# from albero.utils import render_template
|
||||
# from albero.plugin.common import PluginBackendClass
|
||||
# from pprint import pprint
|
||||
#
|
||||
# import logging
|
||||
# import anyconfig
|
||||
# import textwrap
|
||||
|
||||
from ansible_tree.plugin.common import PluginBackendClass
|
||||
from albero.plugin.common import PluginBackendClass
|
||||
from pprint import pprint
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
from ansible_tree.plugin.common import PluginBackendClass
|
||||
from albero.plugin.common import PluginBackendClass
|
||||
from pprint import pprint
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
import copy
|
||||
from pathlib import Path
|
||||
from ansible_tree.utils import render_template
|
||||
from ansible_tree.plugin.common import PluginBackendClass
|
||||
from albero.utils import render_template
|
||||
from albero.plugin.common import PluginBackendClass
|
||||
from pprint import pprint
|
||||
|
||||
import logging
|
||||
@ -11,7 +11,7 @@ import json
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
from ansible_tree.utils import schema_validate
|
||||
from albero.utils import schema_validate
|
||||
import copy
|
||||
|
||||
# Candidate Classes
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
from pathlib import Path
|
||||
from ansible_tree.utils import render_template
|
||||
from ansible_tree.plugin.common import PluginEngineClass, PluginFileGlob, Candidate
|
||||
from albero.utils import render_template
|
||||
from albero.plugin.common import PluginEngineClass, PluginFileGlob, Candidate
|
||||
from pprint import pprint
|
||||
|
||||
import logging
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
import logging
|
||||
from ansible_tree.plugin.common import PluginStrategyClass
|
||||
from albero.plugin.common import PluginStrategyClass
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
|
||||
|
||||
import logging
|
||||
from ansible_tree.plugin.common import PluginStrategyClass
|
||||
from ansible_tree.utils import schema_validate, str_ellipsis
|
||||
from albero.plugin.common import PluginStrategyClass
|
||||
from albero.utils import schema_validate, str_ellipsis
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -9,8 +9,8 @@ import yaml
|
||||
import anyconfig
|
||||
from pprint import pprint
|
||||
|
||||
from ansible_tree.managers import BackendsManager, RulesManager
|
||||
from ansible_tree.utils import schema_validate
|
||||
from albero.managers import BackendsManager, RulesManager
|
||||
from albero.utils import schema_validate
|
||||
import anyconfig
|
||||
# from box import Box
|
||||
from pathlib import Path
|
||||
@ -1,5 +1,5 @@
|
||||
[tool.poetry]
|
||||
name = "ansible-tree"
|
||||
name = "albero"
|
||||
version = "0.1.0"
|
||||
description = "Data trees for Ansible"
|
||||
authors = ["Robin Cordier"]
|
||||
@ -20,4 +20,4 @@ requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
albero = "ansible_tree.cli:CmdApp"
|
||||
albero = "albero.cli:CmdApp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user