Repository navigation
build!: Remove redundant Skia bootstrapper metas (BC07) - #23712
MartinZikmund merged 2 commits into
Conversation
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23712/wasm-skia-net9/index.html |
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23712/wasm-skia-net9/index.html |
|
|
9f59ff8 to
8cb8e1e
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23712/wasm-skia-net9/index.html |
The three Uno.WinUI.Skia.{X11,MacOS,Linux.FrameBuffer} packages are
empty meta-packages that ship no code and only redirect to Uno.WinUI
plus the real Uno.WinUI.Runtime.Skia.<variant> head. In 7.0 the runtime
head is the supported reference (injected implicitly by Uno.Sdk for
executable heads), so the metas are redundant.
Delete their nuspecs and de-wire them from the pack pipeline
(_NuspecFiles, the pack steps, and the FrameBuffer package diff). Unlike
the WebAssembly meta removal, the Skia targets stay, so the two internal
Linux.FrameBuffer validation heads are repointed to
Uno.WinUI.Runtime.Skia.Linux.FrameBuffer rather than deleted.
Migration: remove an explicit Uno.WinUI.Skia.* reference (the matching
runtime head is implicit under Uno.Sdk), or for a hand-rolled head
replace it with Uno.WinUI.Runtime.Skia.<variant>.
Part of #2125 (Phase 3 breaking changes).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Four XmlPoke version-substitution steps in PrepareNuGetPackage matched
zero <dependency> nodes across the surviving nuspecs: the three
Uno.WinUI.Runtime.Skia.{Linux.FrameBuffer,MacOS,X11} pokes (orphaned by
BC07 deleting the meta nuspecs that declared them) and the pre-existing
Uno.Foundation.Runtime.WebAssembly poke (orphaned by the earlier WASM
head removal). Pure no-op removal completing BC07's pack de-wiring.
Verified by enumerating every dependency id across build/nuget/*.nuspec.
The remaining dead pokes (DevServer, XamlHost, Adapter.M.E.Logging) are
pre-existing orphans unrelated to BC07/WASM and left for a later sweep.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
8cb8e1e to
cff6708
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23712/wasm-skia-net9/index.html |
GitHub Issue: unoplatform/uno-private#2125
PR Type:
🏗️ Build or CI related changes — breaking change (removes published NuGet packages), part of the Uno 7.0 breaking-changes epic.
What changed? 🚀
Removes the three redundant Skia "bootstrapper" meta-packages (BC07) —
Uno.WinUI.Skia.X11,Uno.WinUI.Skia.MacOS, andUno.WinUI.Skia.Linux.FrameBuffer. Each shipped no code (emptylib/netstandard1.0/_._+uno.png) and only redirected toUno.WinUIplus the real, code-bearingUno.WinUI.Runtime.Skia.<variant>head. In 7.0 the runtime head is the supported reference — injected implicitly byUno.Sdkfor executable heads — so the metas are redundant. (Uno.WinUI.Runtime.Skia.Win32, the newest desktop head, never had a bootstrapper meta.)build/nuget/.build/Uno.UI.Build.csproj— the_NuspecFilesentries, thenuget packsteps, and the FrameBuffer_diffPackageentry. TheUno.WinUI.Runtime.Skia.*diff entries and theValidateNoNativeUIHeadPackagesguard are left untouched (that guard is for native UI heads, not Skia bootstrappers).UnoAppWinUI.Skia.Linux.FrameBuffer,UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer) from the meta toUno.WinUI.Runtime.Skia.Linux.FrameBuffer. Unlike the earlierUno.WinUI.WebAssemblymeta removal, the Skia targets stay, so these heads are repointed rather than deleted;Uno.WinUIstill flows in via theirProjectReferenceto the parent app.doc/articles/migrating-to-uno-7.mdand marks BC07 done inspecs/050-breaking-changes-rollup/spec.md.No in-repo breakage:
Uno.WinUI.Skia.X11and.MacOShad zero consumers in the repo; the only consumers of the FrameBuffer meta were the two internal validation heads (repointed above). Nodotnet newend-user template referenced any of the three.Validation (static): a functional-reference grep confirms no remaining
PackageReference/_NuspecFiles/_diffPackage/nuget packreference to the bare meta ids, and the diff mirrors the earlierUno.WinUI.WebAssemblymeta removal in shape (nuspecs deleted; the three wiring spots de-wired). This is Release-only pack-pipeline infrastructure that a normal solution build does not exercise — the CI Release pack is the authoritative gate: it builds the packages, runsValidatePackage, and restores/builds the two repointed FrameBuffer heads against the freshly built runtime head (also confirming noXmlPokeerror now that no remaining nuspec carries those deps).PR Checklist ✅
doc/articles/migrating-to-uno-7.md.Screenshots Compare Test Runresults.Breaking change — impact & migration path
Impact: The three packages stop being published. An app that carries an explicit
<PackageReference Include="Uno.WinUI.Skia.{X11,MacOS,Linux.FrameBuffer}" />will hit a hard NuGet restore failure (unable to find package) once 7.0 ships. Unlike the WebAssembly meta, there is no softening build diagnostic —UNOB0017is WebAssembly-specific.Migration:
Uno.Sdkapps (common case): remove the explicit reference — the matchingUno.WinUI.Runtime.Skia.*head is referenced implicitly for executable heads; there is nothing to add.Uno.Sdkheads: replace it with the correspondingUno.WinUI.Runtime.Skia.<variant>package.🤖 Generated with Claude Code