Garden Linux Python Library Documentation
Welcome to the Garden Linux Python Library documentation. This library provides Python tools and utilities for working with Garden Linux features, flavors, OCI artifacts, S3 buckets, and GitHub releases.
Overview
The Garden Linux Python Library is a comprehensive toolkit for managing and interacting with Garden Linux components. It includes:
Feature Management: Parse and work with Garden Linux features and generate canonical names
Flavor Processing: Parse flavors.yaml and generate combinations
OCI Operations: Push OCI artifacts to registries and manage manifests
S3 Integration: Upload and download artifacts from S3 buckets
GitHub Integration: Create and manage GitHub releases with release notes
Quick Start
Command-Line Interface
The library provides several command-line tools for common operations. See the Command-Line Interface documentation for detailed information about all available commands.
Release Management
For information about versioning and release procedures, see the Release documentation.
API Reference
For detailed Python API documentation, including all modules, classes, and functions, see the API Reference.
Documentation Sections
Documentation:
- Command-Line Interface
- release documentation
- API Reference
DebsrcDebsrcFileGardenLinuxRepoCNameCName.archCName.cnameCName.commit_hashCName.commit_idCName.feature_setCName.feature_set_elementCName.feature_set_flagCName.feature_set_listCName.feature_set_platformCName.featuresCName.flavorCName.load_from_release_file()CName.new_from_release_file()CName.platformCName.platform_variantCName.release_metadata_stringCName.save_to_release_file()CName.versionCName.version_and_commit_idCName.version_epoch
ParserParser.filter()Parser.filter_as_dict()Parser.filter_as_list()Parser.filter_as_string()Parser.filter_based_on_feature_set()Parser.filter_graph_as_dict()Parser.filter_graph_as_list()Parser.filter_graph_as_string()Parser.get_flavor_as_feature_set()Parser.get_flavor_from_feature_set()Parser.graphParser.set_default_gardenlinux_root_dir()Parser.sort_graph_nodes()Parser.sort_reversed_graph_nodes()Parser.subset()
ParserRepositoryContainerContainer.generate_image_manifest()Container.generate_index()Container.generate_manifest()Container.get_artifacts_metadata_from_files()Container.push_index_for_tags()Container.push_index_from_directory()Container.push_manifest()Container.push_manifest_and_artifacts()Container.push_manifest_and_artifacts_from_directory()Container.push_manifest_for_tags()Container.read_or_generate_index()Container.read_or_generate_manifest()
ImageManifestIndexLayerManifest
Additional Resources
Index - Complete index of all functions, classes, and modules
Module Index - Index of all modules
Search Page - Search the documentation