Skip to content

Commit bfd41fc

Browse files
committed
Implement changes for ADR034 and 035.
Signed-off-by: Tobias Wolf <wolf@b1-systems.de> On-behalf-of: <tobias.wolf@sap.com>
1 parent 6ae8adc commit bfd41fc

36 files changed

Lines changed: 1999 additions & 1649 deletions

‎pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ sphinxcontrib-autoprogram = "^0.1.8"
4545
sphinx-markdown-builder = "^0.6.10"
4646

4747
[tool.poetry.scripts]
48-
gl-cname = "gardenlinux.features.cname_main:main"
4948
gl-feature-fs-diff = "gardenlinux.features.reproducibility.__main__:main"
5049
gl-features-parse = "gardenlinux.features.__main__:main"
5150
gl-flavors-parse = "gardenlinux.flavors.__main__:main"

‎src/gardenlinux/constants.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
ARCHS = ["amd64", "arm64"]
55

66
# GardenLinux "bare" feature
7-
BARE_FLAVOR_FEATURE_CONTENT = {"description": "Bare flavor", "type": "platform"}
7+
BARE_CNAME_FEATURE_CONTENT = {"description": "Bare flavor", "type": "platform"}
88

9-
BARE_FLAVOR_LIBC_FEATURE_CONTENT = {
9+
BARE_CNAME_LIBC_FEATURE_CONTENT = {
1010
"description": "Bare libc feature",
1111
"type": "element",
1212
}
@@ -147,6 +147,7 @@
147147

148148
GL_BUG_REPORT_URL = "https://github.com/gardenlinux/gardenlinux/issues"
149149
GL_COMMIT_SPECIAL_VALUES = ("local",)
150+
GL_VERSION_SPECIAL_VALUES = ("today",)
150151
GL_CONTAINER_REGISTRY_BASE_URL = "ghcr.io/gardenlinux/gardenlinux"
151152
GL_DEB_REPO_BASE_URL = "https://packages.gardenlinux.io/gardenlinux"
152153
GL_DISTRIBUTION_NAME = "Garden Linux"

‎src/gardenlinux/features/__init__.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
Features module
55
"""
66

7-
from .cname import CName
7+
from .artifact_base_name import ArtifactBaseName
8+
from .c_name import CName
9+
from .flavor import Flavor
810
from .parser import Parser
11+
from .versioned_flavor import VersionedFlavor
912

10-
__all__ = ["CName", "Parser"]
13+
__all__ = ["ArtifactBaseName", "CName", "Flavor", "Parser", "VersionedFlavor"]

0 commit comments

Comments
 (0)