majestic-webui: fetch the pre-minified dist release asset - #2193
Merged
Conversation
majestic-webui CI now builds a minified distribution and publishes it as a rolling `dist` release asset (OpenIPC/majestic-webui#113). Fetch that prepared artifact instead of the raw HEAD source: the webui source stays unminified and readable, and this build stays hermetic (no JS/CSS toolchain). Saves ~12 KB off the rootfs. `dist` is a moving ref (constant asset filename), so extend the "Refresh moving-ref package downloads" step to also drop *-dist.tar.gz before each build, keeping it fresh. NOTE: merge only AFTER OpenIPC/majestic-webui#113 lands and its first `dist` artifact is published, otherwise the fetch 404s. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
majestic-webui CI now builds a minified distribution and publishes it as a rolling
distrelease asset (OpenIPC/majestic-webui#113). Point the buildroot package at that prepared artifact instead of the rawHEADsource:distfollows the webuimaster).Saves ~12 KB off the compressed rootfs (verified on hardware).
Changes
general/package/majestic-webui/majestic-webui.mk— fetchmajestic-webui-dist.tar.gzfrom the rollingdistrelease instead of$(call github,…,HEAD).build.yml+build-one.yml—distis a moving ref (constant asset filename), so extend the "Refresh moving-ref package downloads" step to also drop*-dist.tar.gz, keeping it from going stale in the monthly dl cache.🤖 Generated with Claude Code