Skip to content

Add nightly Enigma2 skin catalogs - #2

Merged
Belfagor2005 merged 1 commit into
mainfrom
feature/skin-catalogs
Nov 29, 2026
Merged

Belfagor2005 merged 1 commit into
mainfrom
feature/skin-catalogs

Conversation

@Belfagor2005

Copy link
Copy Markdown
Collaborator

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.py attributes, their accepted values and legacy aliases (e.g. halign -> horizontalAlignment)
  • XML tags read by skin.py
  • renderers (GUI widget and own attributes) and converters (recognized arguments)
  • screens with the skin names they look up and the widgets they expect, plugins included
  • skin parameters and font aliases read by the code, color handling

What is added

Path Purpose
catalogs/images.json Editable list of images, branches and plugin repositories
catalogs/build_catalogs.py Fetches the sources (shallow, sparse) and builds every catalog
catalogs/e2catalog.py / e2compare.py Extractor and cross-image comparison
catalogs/README.md How it works, how to add or remove images, how to run it locally
.github/workflows/catalogs.yml Nightly and manual run

Publishing

  • On pull requests the workflow only builds and uploads the catalogs as an artifact.
  • From main (nightly at 03:17 UTC, or manual run) it also force-pushes them to a catalogs branch, so main history stays clean:
    https://raw.githubusercontent.com/OwnerPlugins/OpenSkin-Designer/catalogs/<image>.json
  • If one image fails, the others are still published and the run is marked as failed.

Current result

5 images built, no unreadable files:

openATV OpenPLi OpenViX OpenBH teamBlue common
skin.py attributes 125 63 99 75 62 52
renderers 41 20 27 28 30 18
converters 64 43 56 56 51 41

Test plan

  • Local run on all 5 images, first run and incremental update
  • Workflow run on this pull request (build and artifact only)
  • After merge: manual run from main, then check that the catalogs branch appears

OpenSkin Designer does not use the catalogs yet; that comes in a follow-up change.


Generated by Claude Code

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
@Belfagor2005
Belfagor2005 merged commit a180e02 into main Nov 29, 2026
1 check passed
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.

1 participant