<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/Build-Samples.ps1, branch copilot/analyze-develop-branch</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/windows-driver-samples.git/atom/Build-Samples.ps1?h=copilot%2Fanalyze-develop-branch</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/Build-Samples.ps1?h=copilot%2Fanalyze-develop-branch'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/'/>
<updated>2026-03-30T22:43:16Z</updated>
<entry>
<title>Support wildcard patterns in -Samples parameter</title>
<updated>2026-03-30T22:43:16Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:43:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=83cfa72cc265ab052100563cfc2e8c9d9b6020ba'/>
<id>urn:sha1:83cfa72cc265ab052100563cfc2e8c9d9b6020ba</id>
<content type='text'>
- When -Samples contains wildcards (* or ?), discover all samples first
  then filter with -like (same pattern style as exclusions.csv)
- Exact sample names still work as before without discovery overhead
- Update parameter docs, examples, and Building-Locally.md
</content>
</entry>
<entry>
<title>Merge Build-Sample.ps1 into Build-Samples.ps1 as internal function</title>
<updated>2026-03-30T22:32:35Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:32:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=bc6b2708d9d762dde716a2af7c8fa08534c1afcc'/>
<id>urn:sha1:bc6b2708d9d762dde716a2af7c8fa08534c1afcc</id>
<content type='text'>
- Inline Build-Sample.ps1 logic as Build-SingleSample function in Build-Samples.ps1
- Pass function definition into parallel runspaces via $using: pattern
- Replace exit codes with return values for in-process execution
- Delete Build-Sample.ps1 (no longer needed as a separate script)
- Update Build-ChangedSamples.ps1 trigger file list
</content>
</entry>
<entry>
<title>Remove Samples.txt: discover samples dynamically via ListAllSamples</title>
<updated>2026-03-27T23:04:47Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-27T23:04:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=302d18984142a22d5195105fe0347eb5b145d859'/>
<id>urn:sha1:302d18984142a22d5195105fe0347eb5b145d859</id>
<content type='text'>
- ListAllSamples.ps1: output sorted sample names to stdout instead of
  writing Samples.txt. The file output is replaced with Write-Output
  so callers can capture results via pipeline or command substitution.
- Build-Samples.ps1: remove SampleListPath parameter. Default discovery
  now calls ListAllSamples.ps1 at runtime and consumes its stdout.
  Explicit -Samples array still works and is sorted alphabetically.
  Both paths guarantee a consistent alphabetical sample ordering.
- Samples.txt: deleted. No longer needed as a pre-generated artifact.

WDS_TestPass.cs is unaffected - it only passes -LogFilesDirectory and
-InfOptions, neither of which changed.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Refactor Build-Samples.ps1 and fix ListAllSamples NuGet filter</title>
<updated>2026-03-20T22:09:27Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-20T22:09:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=9cd8d031aa48669e9e3cc11886d856ce52d6ce20'/>
<id>urn:sha1:9cd8d031aa48669e9e3cc11886d856ce52d6ce20</id>
<content type='text'>
Build-Samples.ps1:
- Extract helper functions for readability (Resolve-BuildEnvironment,
  Import-SampleExclusions, Initialize-DevShell, Assert-MsBuildAvailable,
  Get-DiskFreeGB)
- Add #Requires -Version 7.0
- Fix build_number to explicit [int] cast (was string from regex)
- Fix multi-socket CPU handling (sum LogicalProcessors)
- Fix NuGet path detection to use absolute repo root path
- Support wildcard patterns in exclusion paths (-like vs ContainsKey)
- Guard Invoke-Item for CI/automation (skip in non-interactive sessions)
- Validate sample directories exist before building
- Wrap Get-Volume in try/catch for UNC/network drives
- Use Write-Host with carriage return for progress (Write-Progress
  unreliable in -Parallel runspaces)
- Clean up variable names and add section comments
- Use switch instead of if/elseif for exit codes

ListAllSamples.ps1:
- Fix NuGet packages filter regex to catch packages anywhere in path
  (was only matching paths starting with packages)

Samples.txt:
- Regenerated with fixed filter, remove BOM

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Add Build-Samples.ps1, ListAllSamples.ps1, fix Build-Sample retry bug</title>
<updated>2026-03-19T22:36:29Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-19T22:36:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=1c9d80c06621274f3c3db9315678695de9c4514e'/>
<id>urn:sha1:1c9d80c06621274f3c3db9315678695de9c4514e</id>
<content type='text'>
- ListAllSamples.ps1: Enumerates .sln files and writes Samples.txt
- Build-Samples.ps1: Unified build script reading Samples.txt with
  exclusion support, parallel execution, and report generation
- Build-Sample.ps1: Fix retry bug where all-fail exits 0 instead of 1

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
</feed>
