Skip to content

fix(catalog): retain the mirror artifact base during sync - #69

Closed
KennyMcSimpson wants to merge 1 commit into
vastsa:mainfrom
KennyMcSimpson:fix/catalog-artifact-base
Closed

KennyMcSimpson wants to merge 1 commit into
vastsa:mainfrom
KennyMcSimpson:fix/catalog-artifact-base

Conversation

@KennyMcSimpson

@KennyMcSimpson KennyMcSimpson commented Oct 7, 2026 •

Copy link
Copy Markdown

What this changes

Follow-up to #62: the committed catalog now declares artifactBaseUrl, but rewrite_for_mirror removes it on the next sync. Serving that mirror catalog from another host then makes relative package URLs resolve against the wrong origin again.

Keep the mirror's existing artifact base when syncing, including the legacy spelling, and declare this repository's raw GitHub base for a new mirror. Package downloads still use the source catalog's base; only the generated mirror points at packages/ here.

Tests cover the default base, a custom mirror base, the legacy field, unchanged source input, and staged synchronization. No catalog or published package is changed in this PR.

Checks

  • python3 scripts/security_audit.py --check-packages — zero blockers
  • python3 -m unittest discover -s tests -p 'test_*.py' -v — 17 tests passed
  • Generated catalog.json and published packages are unchanged
  • No plugin source tree (plugins/) was added

python3 scripts/sync_catalog.py --dry-run also completed against the live center (52 plugins, 90 packages staged). No repository files were replaced.

@vercel

vercel Bot commented Oct 7, 2026

Copy link
Copy Markdown

@KennyMcSimpson is attempting to deploy a commit to the vastsa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@KennyMcSimpson
KennyMcSimpson marked this pull request as ready for review October 7, 2026 17:18
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