Skip to content

update_schutzfile.py: support YAML repositories#151

Closed
lzap wants to merge 1 commit intoosbuild:mainfrom
lzap:yaml-repos1
Closed

update_schutzfile.py: support YAML repositories#151
lzap wants to merge 1 commit intoosbuild:mainfrom
lzap:yaml-repos1

Conversation

@lzap
Copy link
Copy Markdown

@lzap lzap commented Jan 8, 2026

Adds support for YAML repositories while keeping JSON repositories supported. Uses ruamel.yaml to load and dump the repositories.


I tried to use ruamel without any configuration but it was messing up the YAML, I had to play around with the width and then indentation quite a bit in order to get it right for YAML that conforms to yamllint.

The conversion PR: osbuild/images#2119

Adds support for YAML repositories while keeping JSON repositories supported.
Uses ruamel.yaml to load and dump the repositories.
@lzap lzap requested a review from a team as a code owner January 8, 2026 11:47
@lzap lzap requested review from achilleas-k, croissanne and ondrejbudai and removed request for a team January 8, 2026 11:47
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2026

This PR is stale because it had no activity for the past 30 days. Remove the "Stale" label or add a comment, otherwise this PR will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Feb 8, 2026
@lzap lzap closed this Feb 9, 2026
@lzap lzap deleted the yaml-repos1 branch February 9, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant