Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Retain corresponding-source notice in the complete desktop bundle
Yuechen Lib86c8ec2d59f
diff --git a/docs/public/cadmata/portable-windows.md b/docs/public/cadmata/portable-windows.mdindex 9c71c4b0..efa909ca 100644--- a/docs/public/cadmata/portable-windows.md+++ b/docs/public/cadmata/portable-windows.md@@ -36,6 +36,6 @@ Aetheris is AGPL-3.0-only; the managed Copeland compiler retains GPLv3.See LICENSE and licenses/ for bundled dependency notices.CORRESPONDING-SOURCE.md supplies exact source revisions and downloadable sourcearchives for both projects. Source: https://github.com/yuechen-li-dev/Aetheris.-BUILD-METADATA.json identifies the source revision, modifications and files.+BUILD-METADATA.json identifies the source revision, modifications and browser pin.A package marked `modifiedSource` is a local qualification candidate, not apublished source-identical release.diff --git a/scripts/Publish-CadmataDesktop.ps1 b/scripts/Publish-CadmataDesktop.ps1index f110b166..75b2f758 100644--- a/scripts/Publish-CadmataDesktop.ps1+++ b/scripts/Publish-CadmataDesktop.ps1@@ -64,5 +64,22 @@ if (-not (Test-Path -LiteralPath (Join-Path $frontend 'bundled-packages.json')))New-Item -ItemType Directory -Force -Path (Join-Path $bundle 'wwwroot') | Out-NullGet-ChildItem -LiteralPath $frontend | ForEach-Object { Copy-Item -LiteralPath $_.FullName -Destination (Join-Path $bundle 'wwwroot') -Recurse -Force }$modified = [bool](git -C $repo status --porcelain)-@{version=$Version;identity="$Version+$(git -C $repo rev-parse HEAD)" + $(if ($modified) { '.modified' } else { '' });modifiedSource=$modified;webviewVersion=$runtimeVersion;webviewCabUrl=$runtimeUrl;webviewCabSha256=$runtimeHash} | ConvertTo-Json | Set-Content -LiteralPath (Join-Path $bundle 'BUILD-METADATA.json')+$sourceRevision = git -C $repo rev-parse HEAD+$compilerRevision = (Get-Content -LiteralPath (Join-Path $PSScriptRoot 'managed-wgsl-commit-pin.txt') -Raw).Trim()+@{version=$Version;identity="$Version+$sourceRevision" + $(if ($modified) { '.modified' } else { '' });sourceRevision=$sourceRevision;modifiedSource=$modified;webviewVersion=$runtimeVersion;webviewCabUrl=$runtimeUrl;webviewCabSha256=$runtimeHash} | ConvertTo-Json | Set-Content -LiteralPath (Join-Path $bundle 'BUILD-METADATA.json')+@"+# Corresponding source++Aetheris / Cadmata (AGPL-3.0-only):+https://github.com/yuechen-li-dev/Aetheris/tree/$sourceRevision+https://github.com/yuechen-li-dev/Aetheris/archive/$sourceRevision.zip++Copeland managed WGSL compiler (GPL-3.0):+https://github.com/yuechen-li-dev/Copeland/tree/$compilerRevision+https://github.com/yuechen-li-dev/Copeland/archive/$compilerRevision.zip++Build scripts and exact compiler source pins are in the Aetheris revision above.+The projects retain their licenses and are combined under GPLv3 / AGPLv3+section 13. Full dependency notices are under licenses/.+"@ | Set-Content -LiteralPath (Join-Path $bundle 'CORRESPONDING-SOURCE.md') -Encoding utf8node (Join-Path $repo 'scripts/collect-cadmata-licenses.mts') $repo $bundle (Join-Path $repo 'Aetheris.Cadmata.Desktop/obj/project.assets.json')diff --git a/scripts/Test-CadmataBundle.ps1 b/scripts/Test-CadmataBundle.ps1index 023a63c0..3a2b6c02 100644--- a/scripts/Test-CadmataBundle.ps1+++ b/scripts/Test-CadmataBundle.ps1@@ -7,6 +7,9 @@ $ErrorActionPreference = 'Stop'$bundle = (Resolve-Path -LiteralPath $BundleDirectory).Pathif (Test-Path -LiteralPath (Join-Path $bundle 'cadmata')) { throw 'Obsolete duplicated server publish directory is present.' }if (-not (Test-Path -LiteralPath (Join-Path $bundle 'Cadmata.Desktop.dll'))) { throw 'The actual desktop host is missing.' }+if (-not (Test-Path -LiteralPath (Join-Path $bundle 'CORRESPONDING-SOURCE.md'))) { throw 'The desktop corresponding-source notice is missing.' }+$licenseAudit = Get-Content -LiteralPath (Join-Path $bundle 'licenses/AUDIT.json') -Raw | ConvertFrom-Json+if (-not $licenseAudit.redistributionNoticesComplete) { throw 'Desktop redistribution notices are incomplete.' }$step = (Resolve-Path -LiteralPath $StepPath).Path$output = [IO.Path]::GetFullPath($OutputDirectory)if (Test-Path -LiteralPath $output) { throw 'Use a fresh smoke output directory.' }