Skip to content

Implement changes defined in ADR034 and 035 - #393

Open
NotTheEvilOne wants to merge 2 commits into
mainfrom
feature/adr34
Open

NotTheEvilOne wants to merge 2 commits into
mainfrom
feature/adr34

Conversation

@NotTheEvilOne

@NotTheEvilOne NotTheEvilOne commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
This PR implements changes required to suit ADR034 and 035.

Main changes

  • Implementation of ADR 034 and 035. This requires renaming and introducing inherited classes for Flavor, VersionedFlavor and ArtifactBaseName in gardenlinux.features`.
  • Fixing sorting of feature lists for flavors.yaml parser in gardenlinux.flavors.Parser
  • Changes to various classes utilizing gardenlinux.features
  • Implement changed naming to gl-features-parse and remove shortcut command line tool gl-cname.

Which issue(s) this PR fixes:
Fixes #376
Fixes #377
Requires #390

@NotTheEvilOne
NotTheEvilOne force-pushed the feature/adr34 branch 4 times, most recently from 82428ae to 0efc342 Compare September 18, 2026 12:06
@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.23355% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.77%. Comparing base (acc50b5) to head (3871196).
⚠️ Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
src/gardenlinux/features/artifact_base_name.py 86.98% 19 Missing ⚠️
src/gardenlinux/features/__main__.py 82.55% 15 Missing ⚠️
src/gardenlinux/features/c_name.py 94.18% 5 Missing ⚠️
src/gardenlinux/oci/container.py 66.66% 4 Missing ⚠️
src/gardenlinux/features/parser.py 88.88% 2 Missing ⚠️
src/gardenlinux/oci/image_manifest.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
+ Coverage   91.28%   91.77%   +0.49%     
==========================================
  Files          49       51       +2     
  Lines        2971     3004      +33     
==========================================
+ Hits         2712     2757      +45     
+ Misses        259      247      -12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@NotTheEvilOne
NotTheEvilOne force-pushed the feature/adr34 branch 16 times, most recently from 62064c1 to bfd41fc Compare September 29, 2026 08:24
@NotTheEvilOne
NotTheEvilOne requested a review from a team September 29, 2026 08:46
@NotTheEvilOne NotTheEvilOne self-assigned this Sep 29, 2026
@NotTheEvilOne
NotTheEvilOne marked this pull request as ready for review September 29, 2026 08:46
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
@NotTheEvilOne
NotTheEvilOne force-pushed the feature/adr34 branch 3 times, most recently from d8d08bd to 3871196 Compare September 29, 2026 10:36
@gardenlinux-docs-bot

Copy link
Copy Markdown

📚 Documentation Preview PR: gardenlinux/docs#184
😎 Deploy Preview: https://deploy-preview-184--gardenlinux-docs.netlify.app

A PR has been created/updated to preview the documentation changes from this PR.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: <tobias.wolf@sap.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align cname and flavor handling with ADR 0035 Align platform resolution with ADR 0034

1 participant