Compare commits

..

No commits in common. "5b3fd6201f708ecd18e35c1a74656b1cf5d2e2e7" and "2c1f2e7d9b417d6b7a9c0498a4fbb76f0980a84f" have entirely different histories.

8 changed files with 13 additions and 29 deletions

View file

@ -1,10 +1,3 @@
## 1.2.0rc4 (2026-06-21)
### Feat
- add secret_manager information
- tags for family
## 1.2.0rc3 (2026-06-18)
### Fix

View file

@ -1,6 +1,6 @@
[project]
name = "rougail"
version = "1.2.0rc4"
version = "1.2.0rc3"
[tool.commitizen]
name = "cz_conventional_commits"

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail-base"
version = "1.2.0rc4"
version = "1.2.0rc3"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "A consistency handling system that was initially designed in the configuration management"

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail"
version = "1.2.0rc4"
version = "1.2.0rc3"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "A consistency handling system that was initially designed in the configuration management"
@ -25,9 +25,9 @@ classifiers = [
]
dependencies = [
"ruamel.yaml ~= 0.19.1", # same version as rougail-user-data-yaml
"ruamel.yaml ~= 0.19.1",
"pydantic ~= 2.13.4",
"rougail-base == 1.2.0rc4",
"rougail-base == 1.2.0rc3",
]
[tool.flit.sdist]

View file

@ -1 +1 @@
__version__ = "1.2.0rc4"
__version__ = "1.2.0rc3"

View file

@ -77,7 +77,6 @@ class Annotator(Walk):
"""convert families"""
for family in self.get_families():
self.family_variable_property(family)
self.convert_tag(family)
# collect for force_default_on_freeze
if family.hidden:
if family.hidden is True:
@ -165,17 +164,13 @@ class Annotator(Walk):
self.objectspace.properties.add(path, "notunique", True)
if variable.auto_save:
self.objectspace.properties.add(path, "force_store_value", True)
self.convert_tag(variable)
def convert_tag(self, variable):
if not variable.tags:
return
for tag in 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)
)
if variable.tags:
for tag in 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(
self,

View file

@ -106,9 +106,6 @@ class Annotator(Walk): # pylint: disable=R0903
'the variable "{0}" has attribute "secret_manager" so must not have default value'
)
raise DictConsistencyError(msg.format(path), 59, variable.xmlfiles)
self.objectspace.informations.add(
path, "secret_manager", True
)
def convert_variable(self):
"""convert variable"""

View file

@ -1063,7 +1063,6 @@ class Family(BaseModel):
# properties
hidden: Union[bool, Calculation] = False
disabled: Union[bool, Calculation] = False
tags: Optional[List[StrictStr]] = None
# others
namespace: Optional[StrictStr]
path: StrictStr