From 641f6636b6ffc2cf7c9b94bc5f4cd3c0a0948e50 Mon Sep 17 00:00:00 2001 From: brother7 <7brother7@gmail.com> Date: Mon, 24 Aug 2026 14:15:41 +0800 Subject: [PATCH] fix: add Linux package homepage metadata --- .../tasks/20260824-pi-release-proof-3e725ac7.md | 8 ++++++++ package.json | 1 + tests/unit/pi-runtime-bundle.test.ts | 2 ++ 3 files changed, 11 insertions(+) diff --git a/.project-docs/30-worklog/tasks/20260824-pi-release-proof-3e725ac7.md b/.project-docs/30-worklog/tasks/20260824-pi-release-proof-3e725ac7.md index f995b4c..3803a50 100644 --- a/.project-docs/30-worklog/tasks/20260824-pi-release-proof-3e725ac7.md +++ b/.project-docs/30-worklog/tasks/20260824-pi-release-proof-3e725ac7.md @@ -118,6 +118,14 @@ four Skills, empty product-owned OpenCode paths, the explicit upstream Pi exception list, empty development-path residue, and actual `get_state`/ lifecycle execution. +- WSL2 Ubuntu 24.04 independently cloned `0d03d00` into its Linux filesystem, + verified Node `22.22.2`, pnpm `10.33.4`, and passed frozen install with 999 + packages. Pi staging passed for Linux x64 and arm64 (131 applicable packages, + six assets each), and electron-builder produced `linux-unpacked` plus the x64 + AppImage. The full `package:linux` command then failed while building deb + targets because package metadata lacked `homepage`; this is a real release + packaging blocker. The verified origin URL is being added as the minimal fpm + metadata fix before rebuilding both Windows and Linux from one final commit. ## Follow-ups diff --git a/package.json b/package.json index 840e08d..61599ff 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ } }, "description": "Makelore - AI creation workspace", + "homepage": "https://git.nianxx.cn/wangxuming/makelore", "main": "dist-electron/main/index.js", "author": "Makelore Team", "license": "MIT", diff --git a/tests/unit/pi-runtime-bundle.test.ts b/tests/unit/pi-runtime-bundle.test.ts index 04af983..8e4a969 100644 --- a/tests/unit/pi-runtime-bundle.test.ts +++ b/tests/unit/pi-runtime-bundle.test.ts @@ -92,6 +92,7 @@ describe('Pi runtime production bundler', () => { it('wires every package target to its matching staged Pi runtime', async () => { const packageJson = JSON.parse(await readFile('package.json', 'utf8')) as { + homepage: string; scripts: Record; }; const builder = YAML.parse(await readFile('electron-builder.yml', 'utf8')) as Record< @@ -109,6 +110,7 @@ describe('Pi runtime production bundler', () => { .toBe('node scripts/smoke-pi-real.mjs'); expect(packageJson.scripts['perf:pi:release']) .toBe('node scripts/run-pi-release-performance.mjs'); + expect(packageJson.homepage).toBe('https://git.nianxx.cn/wangxuming/makelore'); expect(builder.mac.extraResources).toContainEqual({ from: 'build/pi-runtime/darwin-${arch}', to: 'pi-runtime',