Skip to content

Add modern local library build script and process - #789

Merged
jasonleenaylor merged 7 commits into
mainfrom
claude/vigorous-proskuriakova
Mar 30, 2026
Merged

Add modern local library build script and process#789
jasonleenaylor merged 7 commits into
mainfrom
claude/vigorous-proskuriakova

Conversation

@jasonleenaylor

@jasonleenaylorjasonleenaylor commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Remove the old bash script and add a powershell script for local library development
Document the script and process for agents and developers


This change is Reviewable

jasonleenaylorand others added 5 commits March 30, 2026 08:10
Unified PowerShell script for local NuGet feed workflow using
LOCAL_NUGET_REPO env var. Reads version from SilVersions.props,
packs with symbols, copies PDBs, clears cache. Works for liblcm,
libpalaso, and chorus. Updates nuget.config, build.ps1, and docs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pack-LocalLibrary.ps1 now appends '-local' to the version and
updates SilVersions.props so NuGet unambiguously resolves from
the local feed. Also fix dotnet pack arg order and simplify
nuget.config source mapping to use '*' on both sources.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use pipeline Copy-Item and wildcard Get-ChildItem paths to
simplify PDB copying and cache clearing loops.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Support multiple libraries per invocation, detect packed
version from output, and add set-version mode. Enforce
libpalaso-first pack order.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use explicit -Palaso/-Lcm/-Chorus switches to opt in, with
optional -PalasoPath/-LcmPath/-ChorusPath to override env vars.
Default is no local work unless a switch is set. Update docs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasonleenaylorjasonleenaylor changed the title Claude/vigorous proskuriakovaAdd modern local library build script and processMar 30, 2026
The %LOCAL_NUGET_REPO% env var expansion fails in CI when unset,
causing NU1301. Instead, Manage-LocalLibraries.ps1 now adds the
local source to nuget.config dynamically when packing. Revert
with: git checkout nuget.config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasonleenaylor
jasonleenaylor marked this pull request as ready for review March 30, 2026 17:50
@github-actions

github-actionsBot commented Mar 30, 2026

Copy link
Copy Markdown

NUnit Tests

1 files ±0 1 suites ±0 6m 14s ⏱️ +14s
4 074 tests ±0 4 003 ✅ ±0 71 💤 ±0 0 ❌ ±0 
4 083 runs ±0 4 012 ✅ ±0 71 💤 ±0 0 ❌ ±0 

Results for commit 0df11ea. ± Comparison against base commit 0a8fc9a.

♻️ This comment has been updated with latest results.

Script now uses dotnet nuget add source instead of modifying the
repo's nuget.config. Source detection matches by path to avoid
duplicates. Removed packageSourceMapping so user-level sources
work without mapping conflicts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

.EXAMPLE
.\Build\Manage-LocalLibraries.ps1 -Palaso -Chorus -ChorusPath C:\Repos\chorus
Packs libpalaso (from env var) and chorus first, then chorus.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packs libpalaso (from env var) --and chorus-- first, then chorus.

@jasonleenaylor
jasonleenaylor merged commit 90bbc7a into mainMar 30, 2026
6 checks passed
@jasonleenaylor
jasonleenaylor deleted the claude/vigorous-proskuriakova branch March 30, 2026 22:02
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jasonleenaylor@papeh