Repository navigation
Add nightly Enigma2 skin catalogs - #2
Merged
Merged
Conversation
Add a catalog builder that reads the public enigma2 sources of each image (openATV, OpenPLi, OpenViX, OpenBH, teamBlue) and writes one JSON catalog per image: skin.py attributes and accepted values, legacy aliases, XML tags, renderers, converters with their arguments, screens with expected widgets, skin parameters, fonts and colors. - catalogs/images.json: editable list of images, branches and plugin repos - catalogs/build_catalogs.py: fetches the sources and builds every catalog - catalogs/e2catalog.py, catalogs/e2compare.py: extractor and comparison - .github/workflows/catalogs.yml: nightly and manual run; publishes to the "catalogs" branch from main only, pull requests just build and upload the result as an artifact OpenSkin Designer will read these catalogs in a follow-up change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EVc11N8zrA7gm5kdSWgpH9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a builder that turns the public enigma2 sources of each image into a JSON catalog that OpenSkin Designer can read: what the skin engine accepts and what every screen expects.
Per image, the catalog lists:
skin.pyattributes, their accepted values and legacy aliases (e.g.halign->horizontalAlignment)skin.pyWhat is added
catalogs/images.jsoncatalogs/build_catalogs.pycatalogs/e2catalog.py/e2compare.pycatalogs/README.md.github/workflows/catalogs.ymlPublishing
catalogsbranch, somainhistory stays clean:https://raw.githubusercontent.com/OwnerPlugins/OpenSkin-Designer/catalogs/<image>.jsonCurrent result
5 images built, no unreadable files:
Test plan
catalogsbranch appearsOpenSkin Designer does not use the catalogs yet; that comes in a follow-up change.
Generated by Claude Code