Repository navigation
Add VERSIONS.txt step to the native-dependency-update skill - #4215
Merged
Merged
Conversation
The harfbuzz 14.2.1 bump (#4167) updated cgmanifest.json and the externals/skia submodule but left scripts/VERSIONS.txt stale at 14.2.0, because the skill never listed VERSIONS.txt as a step. The prior bump (#4035, 8.3.1 -> 14.2.0) did update it; this restores that as an explicit, documented step so it can't be missed again. * Phase 3: add the VERSIONS.txt step with a harfbuzz lines + soname-formula table. * Add it to the Pre-Flight checklist, the Phase 5 completion checklist, and the NEVER table. * Scope it to independently-versioned deps (only harfbuzz); the statically-linked deps (libpng, zlib, expat, libwebp, freetype, libjpeg-turbo) have no VERSIONS.txt entry and are explicitly excluded. Co-authored-by: Copilot <[email protected]>
Contributor
📦 Try the packages from this PRWarning Do not run these scripts without first reviewing the code in this PR. Step 1 — Download the packages bash / macOS / Linux: curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4215PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4215"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4215/packages --name skiasharp-pr-4215More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4215 |
mattleibow
added a commit
that referenced
this pull request
Jun 22, 2026
Sync VERSIONS.txt with harfbuzz 14.2.1 (#4214) Changes: harfbuzz/harfbuzz@14.2.0...14.2.1 Context: #4167 The harfbuzz 14.2.1 bump (#4167) advanced the externals/skia submodule and cgmanifest.json to 14.2.1 but left scripts/VERSIONS.txt at 14.2.0. As a result the native soname, the HarfBuzzSharp DLL FileVersion, and the published NuGet versions were all out of sync with the bundled binary. This is not cosmetic: the soname/file lines feed the native build, so Linux produced libHarfBuzzSharp.so.0.61420.0 and the DLL reported FileVersion 14.2.0 for a 14.2.1 binary. Bring all harfbuzz entries to 14.2.1 to match DEPS and cgmanifest.json: release, soname (0.61421.0, per the in-file 60000 + major*100 + minor*10 + micro formula), HarfBuzzSharp file, and the HarfBuzzSharp + 9 NativeAssets nuget lines. The skill gap that caused the miss is fixed separately in #4215. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot <[email protected]>
Contributor
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When bumping an independently-versioned native dependency,
scripts/VERSIONS.txtmust be updated alongsideDEPS/submodule andcgmanifest.json. Thenative-dependency-updateskill never listed that step, so the harfbuzz 14.2.1 bump (#4167) leftVERSIONS.txtstale at 14.2.0 (corrected in #4214). The previous bump (#4035, 8.3.1 → 14.2.0) did update it — this makes that an explicit, documented step so it can't be missed again.Changes
.agents/skills/native-dependency-update/SKILL.md:scripts/VERSIONS.txtstep, with a harfbuzz lines + soname-formula table (release,soname,file, allnugetlines).VERSIONS.txtentries and are explicitly excluded.Docs-only change to a skill file — no build/test impact.
Companion data fix: #4214.