Skip to content

Conversation

@lzap
Copy link
Contributor

@lzap lzap commented Jan 8, 2026

Converts repos from JSON to YAML, I used Python to do the job and then I created a formatting script that modifies the generated YAML because it was totally unusable (keys order, quoting, GPG keys not multi-line).

There are no changes made except I took the liberty to remove empty lists (e.g. gpgkeys: []) I quickly scanned the codebase and it should not be a problem. It looks nicer this way.

Edit: I dropped the conversion script which I initially included. Shutzbot update PR linked to this PR.

@lzap lzap requested a review from a team as a code owner January 8, 2026 08:33
@schutzbot
Copy link
Contributor

schutzbot commented Jan 8, 2026

A previous version of this PR changed the images API or behaviour causing integration issues with osbuild-composer.
This is now fixed.

lzap added 3 commits January 8, 2026 12:51
A simple script to reformat the repository YAML files for consistency and
better editing experience.

The script ensures:
- Consistent formatting
- Multi-line YAML format for gpgkey/gpgkeys fields (for easy pasting)
- Proper field ordering

The script is used in the prepare-source.sh script to reformat the repository
YAML files before committing them.
Switch from JSON to YAML for embedded repository files.
@supakeen
Copy link
Member

supakeen commented Jan 8, 2026

Needs conflict resolving and since #2114 landed those probably also want conversion? :)

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.

3 participants