Skip to content

feat: configure S3 upload metadata based on {cname}.requirements file#151

Merged
NotTheEvilOne merged 4 commits intomainfrom
feat/requirements
Aug 4, 2025
Merged

feat: configure S3 upload metadata based on {cname}.requirements file#151
NotTheEvilOne merged 4 commits intomainfrom
feat/requirements

Conversation

@nkraetzschmar
Copy link
Contributor

Use info provided by the {cname}.requirements file introduced by gardenlinux/builder#121 instead of relying on hardcoded feature mappings.

Caution

This will require both merging the builder PR and a subsequent update of the builder used in gardenlinux before we can merge this.

Also there are considerations wether this might cause issues with backwards compatibility when using this lib with patch releases for previous versions. @NotTheEvilOne I'd appreciate your input on this, wether we can merge this or if it would have unintended side effects like that.

Copy link
Contributor

@NotTheEvilOne NotTheEvilOne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - please do not merge yet as:

  • we would like to discuss if the original warning about incompatible behavior is still valid
  • I would like to address linting issues

nkraetzschmar and others added 3 commits July 31, 2025 17:40
also add fallback to feature based decision if no .requirements file or if keys are missing in order to provide backwards compatibility
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
@NotTheEvilOne NotTheEvilOne self-assigned this Aug 4, 2025
@NotTheEvilOne NotTheEvilOne added the enhancement New feature or request label Aug 4, 2025
@NotTheEvilOne NotTheEvilOne merged commit bf448cc into main Aug 4, 2025
9 checks passed
@NotTheEvilOne NotTheEvilOne deleted the feat/requirements branch August 4, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants