Install themes from pinned archives without git clone #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Install themes from pinned archives without git clone
Problem
jigyll new --themeaccepts a Git repository URL and installs a checkout. Theme consumers should be able to install an immutable source archive without cloning repository history or keeping a.gitdirectory.Docifly is a concrete use case: it ships compiled CSS and browser scripts, so a source archive contains everything a consumer needs to build documentation.
Existing capability
The current Jigyll source already supports
remote_theme: owner/repository@<40-character-SHA>for GitHub source archives, including download, safe extraction and caching (site/remote_theme*.go). This issue concerns thenew --themeinstallation workflow and explicit archive URLs, including Forgejo-hosted archives; do not duplicate the existing resolver or imply all archive-theme support is missing.Requested behavior
Allow the theme installer to accept a versioned release archive or commit-pinned archive URL, download it, and install ordinary theme files under
_theme/<name>/without invokinggit clone.Illustrative interface (final naming to follow existing CLI conventions):
.tar.gz; document supported archive formats and URL requirements.themeconfiguration correctly; never derive the theme name from a commit SHA.Acceptance criteria
git clonesubprocess.remote_themeworkflow, with reproducible examples.Scope
Archive-based theme installation only. Automatic updates, branch/tag resolution, dependency managers and release automation are not required.