Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/actions/features_parse/action.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/actions/flavors_parse/action.yml

This file was deleted.

16 changes: 8 additions & 8 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ Available command-line tools provided by the Garden Linux Python Library
Features Commands
-----------------

gl-cname
~~~~~~~~

Generate a canonical name (cname) from feature sets.

.. autoprogram:: gardenlinux.features.cname_main:get_parser()

gl-features-parse
~~~~~~~~~~~~~~~~~

Parse and extract information from GardenLinux features.
Parse and extract information from Garden Linux features.

.. autoprogram:: gardenlinux.features.__main__:get_parser()

gl-features-metadata
~~~~~~~~~~~~~~~~~~~~

Provides Garden Linux release metadata file handling.

.. autoprogram:: gardenlinux.features.metadata_main:get_parser()

Flavors Commands
----------------

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gardenlinux"
version = "0.10.19"
version = "1.0.0"
description = "Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames"
authors = ["Garden Linux Maintainers <contact@gardenlinux.io>"]
license = "Apache-2.0"
Expand Down Expand Up @@ -45,12 +45,12 @@ sphinxcontrib-autoprogram = "^0.1.8"
sphinx-markdown-builder = "^0.6.10"

[tool.poetry.scripts]
gl-cname = "gardenlinux.features.cname_main:main"
gl-feature-fs-diff = "gardenlinux.features.reproducibility.__main__:main"
gl-features-parse = "gardenlinux.features.__main__:main"
gl-flavors-parse = "gardenlinux.flavors.__main__:main"
gl-gh-release = "gardenlinux.github.release.__main__:main"
gl-oci = "gardenlinux.oci.__main__:main"
gl-metadata = "gardenlinux.features.metadata_main:main"
gl-s3 = "gardenlinux.s3.__main__:main"

[tool.pytest.ini_options]
Expand Down
5 changes: 3 additions & 2 deletions src/gardenlinux/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
ARCHS = ["amd64", "arm64"]

# GardenLinux "bare" feature
BARE_FLAVOR_FEATURE_CONTENT = {"description": "Bare flavor", "type": "platform"}
BARE_CNAME_FEATURE_CONTENT = {"description": "Bare flavor", "type": "platform"}

BARE_FLAVOR_LIBC_FEATURE_CONTENT = {
BARE_CNAME_LIBC_FEATURE_CONTENT = {
"description": "Bare libc feature",
"type": "element",
}
Expand Down Expand Up @@ -147,6 +147,7 @@

GL_BUG_REPORT_URL = "https://github.com/gardenlinux/gardenlinux/issues"
GL_COMMIT_SPECIAL_VALUES = ("local",)
GL_VERSION_SPECIAL_VALUES = ("today",)
GL_CONTAINER_REGISTRY_BASE_URL = "ghcr.io/gardenlinux/gardenlinux"
GL_DEB_REPO_BASE_URL = "https://packages.gardenlinux.io/gardenlinux"
GL_DISTRIBUTION_NAME = "Garden Linux"
Expand Down
7 changes: 5 additions & 2 deletions src/gardenlinux/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
Features module
"""

from .cname import CName
from .artifact_base_name import ArtifactBaseName
from .c_name import CName
from .flavor import Flavor
from .parser import Parser
from .versioned_flavor import VersionedFlavor

__all__ = ["CName", "Parser"]
__all__ = ["ArtifactBaseName", "CName", "Flavor", "Parser", "VersionedFlavor"]
Loading
Loading