Prepare Linux delivery and correct lifecycle rendering build types

This commit is contained in:
2026-09-11 07:53:42 -07:00
parent cb611a71df
commit 29084050a7
41 changed files with 1120 additions and 25 deletions
+4 -4
View File
@@ -29,7 +29,7 @@ $imports = [ordered]@{}
$evidence = $null
if (-not $ServerNoticesOnly) {
$binaryHashes = [ordered]@{}
foreach ($name in @('arcadia-studio', 'arcadia-server')) {
foreach ($name in @('arcadia-studio', 'arcadia-server', 'arcadia')) {
$path = [IO.Path]::GetFullPath((Join-Path $BinaryDirectory $name))
$elf = Invoke-PackageHelper $Python @('elf', $path)
$inputs[$name] = $path
@@ -40,7 +40,7 @@ if (-not $ServerNoticesOnly) {
$evidence = Read-PackageBuildEvidence $BuildEvidence $Target $binaryHashes
$documentation = Get-PackageDocumentation $repository 'linux' $Python
foreach ($name in $documentation.Keys) { $inputs[$name] = $documentation[$name] }
$notices = Get-ArcadiaNotices $repository $Target $NoticeManifest ''
$notices = Get-ArcadiaNotices $repository $Target $NoticeManifest '' @('oa-desktop', 'oa-server', 'oa-cli')
} else {
if ($BuildEvidence) { throw '-BuildEvidence applies to a binary package, not a notice-only bundle.' }
$notices = Get-ArcadiaNotices $repository $Target $NoticeManifest '' @('oa-server')
@@ -77,10 +77,10 @@ try {
acceptance = 'Packaging integrity only; current-tree native Linux acceptance required.'
build = 'Prebuilt inputs; no build profile, source identity or compiler inferred.'
build_evidence = $evidence; imports = $imports; input_sha256 = $inputHashes
runtime = 'Ubuntu 24.04 x86-64 is the validation baseline. Direct ELF dependencies only are inspected; graphics/window/portal dynamic loads must be verified on the actual runtime.'
runtime = 'Ubuntu 24.04 x86-64 is the validation baseline. Direct ELF dependencies only are inspected; graphics/window dynamic loads must be verified on the actual runtime. Linux Open/Save uses application path entry.'
}
[IO.File]::WriteAllText((Join-Path $stage 'package.json'), ($metadata | ConvertTo-Json -Depth 14) + "`n", $encoding)
[IO.File]::WriteAllText((Join-Path $stage 'START-HERE.txt'), "Arcadia Studio portable Linux bundle`nRun ./arcadia-studio. Keep examples/release1 beside the executable.`nRead README.md and docs/linux-packaging.md. The optional server is ./arcadia-server.`nSource checkout required for Cargo/Docker instructions. Packaging is not runtime acceptance.`n", $encoding)
[IO.File]::WriteAllText((Join-Path $stage 'START-HERE.txt'), "Arcadia Studio portable Linux bundle`nRun ./arcadia-studio. Keep examples/release1 beside the executable.`nRead README.md and docs/linux-packaging.md. The optional server is ./arcadia-server.`nThe source authoring CLI is ./arcadia; run ./arcadia --help for check, stabilization and alias rename commands.`nSource checkout required for Cargo/Docker instructions. Packaging is not runtime acceptance.`n", $encoding)
$documentCheck = Invoke-PackageHelper $Python @('check-docs', '--stage', $stage)
[IO.File]::WriteAllText((Join-Path $stage 'documentation-check.json'), ($documentCheck | ConvertTo-Json) + "`n", $encoding)
}