fix: point GPL corresponding-source URLs at the PCBJam org
Every repo moved from emergence-engineering/ to PCBJam/, but the published source pointers still named the old org. GitHub's transfer redirect resolves them (all six checked, 301 -> 200), so nothing is broken today — but it stops working the moment anyone creates a repo at an old path, and a GPLv3 corresponding-source pointer is a poor thing to leave depending on a redirect. CI never passes --repo, so the hardcoded default is what actually ships: the editor's version badge on editor.pcbjam.com has been linking users to the old org for their source. Covers the source pointers (licenses.md, terms.md 12.4, REPO_URL and its doc comment, the three build-script --repo defaults, the site footer's build-commit link) and the two "our GitHub" org links. Bumps the pcbjam-shared pointer for the same fix there. Deliberately untouched: emergence-engineering.com, the company domain behind contact@ and the EE credit block — the trailing slash in the substitution keeps it out. And docs/security-audit-glm/, which describes a finding rather than linking anywhere. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3ba436d1a8
commit
20e5eb941c
9 changed files with 13 additions and 13 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 5a83ed091d3d9d2ff15c3b71bbc8740f71cfc0ec
|
||||
Subproject commit 22217c90ec521adbc637d937f2e272b3a4ad59d4
|
||||
|
|
@ -41,7 +41,7 @@ export const APP_GIT_SHA = import.meta.env.VITE_GIT_SHA || null;
|
|||
|
||||
/** Public source repository for the GPL editor (no trailing slash). */
|
||||
export const REPO_URL = (
|
||||
import.meta.env.VITE_REPO_URL || "https://github.com/emergence-engineering/pcbjam"
|
||||
import.meta.env.VITE_REPO_URL || "https://github.com/PCBJam/pcbjam"
|
||||
).replace(/\/+$/, "");
|
||||
|
||||
/** Marketing / landing page (no trailing slash). The version badge links here so
|
||||
|
|
|
|||
2
web/standalone/src/vite-env.d.ts
vendored
2
web/standalone/src/vite-env.d.ts
vendored
|
|
@ -10,7 +10,7 @@ interface ImportMetaEnv {
|
|||
readonly VITE_APP_TAG?: string;
|
||||
/** Source commit this build was made from; the badge links to it as the GPLv3 corresponding-source pointer. */
|
||||
readonly VITE_GIT_SHA?: string;
|
||||
/** Public source repo URL for the GPL editor (default github.com/emergence-engineering/pcbjam). */
|
||||
/** Public source repo URL for the GPL editor (default github.com/PCBJam/pcbjam). */
|
||||
readonly VITE_REPO_URL?: string;
|
||||
/** @deprecated legacy alias for VITE_WASM_ROOT. */
|
||||
readonly VITE_WASM_ASSET_BASE_URL?: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue