Skip to content

Feature/update script#250

Merged
kmturley merged 4 commits into
mainfrom
feature/update-script
Apr 22, 2026
Merged

Feature/update script#250
kmturley merged 4 commits into
mainfrom
feature/update-script

Conversation

@kmturley
Copy link
Copy Markdown
Member

@kmturley kmturley commented Apr 21, 2026

Automated upgrade script which synchronizes the registry with the latest releases from GitHub. It effectively acts as a package updater for the registry's metadata. This script removes the manual effort required to keep the audio registry up to date as developers release new versions of their plugins, apps, or presets on GitHub.

  • Package Discovery & Version Tracking: It scans the src/ directory to identify all registered packages and their current versions, determining the "latest" local version using semantic versioning logic.
  • GitHub Integration: For packages hosted on GitHub, the script queries the GitHub Releases API to check for newer tags or releases. It includes robust error handling for API rate limits, automatically pausing and retrying when limits are reached.
  • Automated Metadata Generation: When a new version is detected, the script:
    • Normalizes the version string to follow SemVer standards.
    • Extracts release notes (for the changes field) and publication dates.
    • Identifies new binary assets (installers/archives) matching the existing package structure.
  • Integrity Validation: It automatically downloads new assets to calculate their SHA256 checksums and retrieves their file sizes, ensuring the generated metadata is accurate and secure.
  • Registry Update: Finally, it creates the necessary directory structure for the new version and generates a formatted index.yaml file, preserving the standard property order defined in the project specification.

Relates to #156

Comment thread src/upgrade.ts Fixed
@kmturley kmturley merged commit 3f8a4b1 into main Apr 22, 2026
5 of 6 checks 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.

2 participants