Compare commits
No commits in common. "5b3fd6201f708ecd18e35c1a74656b1cf5d2e2e7" and "2c1f2e7d9b417d6b7a9c0498a4fbb76f0980a84f" have entirely different histories.
5b3fd6201f
...
2c1f2e7d9b
8 changed files with 13 additions and 29 deletions
|
|
@ -1,10 +1,3 @@
|
||||||
## 1.2.0rc4 (2026-06-21)
|
|
||||||
|
|
||||||
### Feat
|
|
||||||
|
|
||||||
- add secret_manager information
|
|
||||||
- tags for family
|
|
||||||
|
|
||||||
## 1.2.0rc3 (2026-06-18)
|
## 1.2.0rc3 (2026-06-18)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "rougail"
|
name = "rougail"
|
||||||
version = "1.2.0rc4"
|
version = "1.2.0rc3"
|
||||||
|
|
||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
name = "cz_conventional_commits"
|
name = "cz_conventional_commits"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail-base"
|
name = "rougail-base"
|
||||||
version = "1.2.0rc4"
|
version = "1.2.0rc3"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "A consistency handling system that was initially designed in the configuration management"
|
description = "A consistency handling system that was initially designed in the configuration management"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail"
|
name = "rougail"
|
||||||
version = "1.2.0rc4"
|
version = "1.2.0rc3"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "A consistency handling system that was initially designed in the configuration management"
|
description = "A consistency handling system that was initially designed in the configuration management"
|
||||||
|
|
@ -25,9 +25,9 @@ classifiers = [
|
||||||
|
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ruamel.yaml ~= 0.19.1", # same version as rougail-user-data-yaml
|
"ruamel.yaml ~= 0.19.1",
|
||||||
"pydantic ~= 2.13.4",
|
"pydantic ~= 2.13.4",
|
||||||
"rougail-base == 1.2.0rc4",
|
"rougail-base == 1.2.0rc3",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.flit.sdist]
|
[tool.flit.sdist]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "1.2.0rc4"
|
__version__ = "1.2.0rc3"
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,6 @@ class Annotator(Walk):
|
||||||
"""convert families"""
|
"""convert families"""
|
||||||
for family in self.get_families():
|
for family in self.get_families():
|
||||||
self.family_variable_property(family)
|
self.family_variable_property(family)
|
||||||
self.convert_tag(family)
|
|
||||||
# collect for force_default_on_freeze
|
# collect for force_default_on_freeze
|
||||||
if family.hidden:
|
if family.hidden:
|
||||||
if family.hidden is True:
|
if family.hidden is True:
|
||||||
|
|
@ -165,17 +164,13 @@ class Annotator(Walk):
|
||||||
self.objectspace.properties.add(path, "notunique", True)
|
self.objectspace.properties.add(path, "notunique", True)
|
||||||
if variable.auto_save:
|
if variable.auto_save:
|
||||||
self.objectspace.properties.add(path, "force_store_value", True)
|
self.objectspace.properties.add(path, "force_store_value", True)
|
||||||
self.convert_tag(variable)
|
if variable.tags:
|
||||||
|
for tag in variable.tags:
|
||||||
def convert_tag(self, variable):
|
self.check_tag(tag, variable.xmlfiles)
|
||||||
if not variable.tags:
|
self.objectspace.properties.add(variable.path, tag, True)
|
||||||
return
|
self.objectspace.informations.add(
|
||||||
for tag in variable.tags:
|
variable.path, "tags", tuple(variable.tags)
|
||||||
self.check_tag(tag, variable.xmlfiles)
|
)
|
||||||
self.objectspace.properties.add(variable.path, tag, True)
|
|
||||||
self.objectspace.informations.add(
|
|
||||||
variable.path, "tags", tuple(variable.tags)
|
|
||||||
)
|
|
||||||
|
|
||||||
def check_tag(
|
def check_tag(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
|
|
@ -106,9 +106,6 @@ class Annotator(Walk): # pylint: disable=R0903
|
||||||
'the variable "{0}" has attribute "secret_manager" so must not have default value'
|
'the variable "{0}" has attribute "secret_manager" so must not have default value'
|
||||||
)
|
)
|
||||||
raise DictConsistencyError(msg.format(path), 59, variable.xmlfiles)
|
raise DictConsistencyError(msg.format(path), 59, variable.xmlfiles)
|
||||||
self.objectspace.informations.add(
|
|
||||||
path, "secret_manager", True
|
|
||||||
)
|
|
||||||
|
|
||||||
def convert_variable(self):
|
def convert_variable(self):
|
||||||
"""convert variable"""
|
"""convert variable"""
|
||||||
|
|
|
||||||
|
|
@ -1063,7 +1063,6 @@ class Family(BaseModel):
|
||||||
# properties
|
# properties
|
||||||
hidden: Union[bool, Calculation] = False
|
hidden: Union[bool, Calculation] = False
|
||||||
disabled: Union[bool, Calculation] = False
|
disabled: Union[bool, Calculation] = False
|
||||||
tags: Optional[List[StrictStr]] = None
|
|
||||||
# others
|
# others
|
||||||
namespace: Optional[StrictStr]
|
namespace: Optional[StrictStr]
|
||||||
path: StrictStr
|
path: StrictStr
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue