-
Notifications
You must be signed in to change notification settings - Fork 104
feat: support stampinf version override #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gurry
merged 38 commits into
microsoft:main
from
krishnakumar4a4:436-support-stampinf-version-override
Oct 11, 2025
Merged
Changes from 6 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
595097b
feat: use STAMPINF_VERSION for stamping DriverVer when available
krishnakumar4a4 a6b6693
feat: introduce allow_stampinf_version_env_override cfg and make Driv…
krishnakumar4a4 a958433
test: add parameterized test for run_stampinf with env overrides
krishnakumar4a4 0e67838
refactor: improve comments and formatting in run_stampinf function an…
krishnakumar4a4 d952b48
refactor: update package name and working directory in run_stampinf test
krishnakumar4a4 2355f0d
style: format check-cfg section for better readability in Cargo.toml
krishnakumar4a4 0c8e516
Update crates/cargo-wdk/src/actions/build/package_task.rs
krishnakumar4a4 e5edc09
Update crates/cargo-wdk/src/actions/build/package_task.rs
krishnakumar4a4 bf82cd6
feat: add cfg-if dependency and refactor run_stampinf for improved cf…
krishnakumar4a4 a0e8e08
fix: improve STAMPINF_VERSION handling and update target directory in…
krishnakumar4a4 f366e22
test: rename and enhance run_stampinf test for clarity and environmen…
krishnakumar4a4 affb3ee
refactor: remove cfg-if dependency and streamline STAMPINF_VERSION ha…
krishnakumar4a4 aa9872f
test: refactor stampinf_version_overrides_with_env_var test and add w…
krishnakumar4a4 a45f04c
refactor(tests): reorganize imports for clarity and consistency in pa…
krishnakumar4a4 5ee5782
feat(tests): add regex dependency and enhance driver build tests with…
krishnakumar4a4 bea38ff
Merge branch 'main' into 436-support-stampinf-version-override
krishnakumar4a4 9fba0d6
refactor(tests): enhance with_file_lock to support environment variab…
krishnakumar4a4 b121954
refactor(tests): improve test setup by adding clean command execution…
krishnakumar4a4 4cc71ef
refactor(tests): replace run_clean_cmd with run_cargo_clean for consi…
krishnakumar4a4 88e8c44
Merge branch 'main' into 436-support-stampinf-version-override
krishnakumar4a4 9afb175
refactor(tests): remove cleanup code for STAMPINF_VERSION environment…
krishnakumar4a4 3cb6427
refactor(tests): simplify assert_driver_ver by improving line search …
krishnakumar4a4 df7726b
refactor: improve INF file reading in assert_driver_ver to handle UTF…
krishnakumar4a4 47607c2
refactor(tests): streamline environment variable handling in test cases
krishnakumar4a4 b946542
Merge branch 'main' into 436-support-stampinf-version-override
krishnakumar4a4 1a1e6cf
Merge branch 'main' into 436-support-stampinf-version-override
krishnakumar4a4 13f48fa
Refactor build tests to reduce duplication and improve readability
krishnakumar4a4 a3fcbf9
refactor(tests): simplify build action expectations by introducing de…
krishnakumar4a4 f111a15
refactor: remove TestSetupPackageExpectations trait
krishnakumar4a4 f27b56a
refactor: improve logging and regex handling for DriverVer in packagi…
krishnakumar4a4 359c9ae
refactor: organize imports for improved readability in build tests
krishnakumar4a4 5546bb2
refactor: simplify regex handling for driver version in assert_driver…
krishnakumar4a4 b9f4e56
refactor: improve comments for clarity in packaging and driver versio…
krishnakumar4a4 7e9942d
Merge branch 'main' into 436-support-stampinf-version-override
krishnakumar4a4 8b37bce
refactor: streamline file lock usage and enhance environment variable…
krishnakumar4a4 9b8d022
refactor: replace common module with _test_utils for test utility fun…
krishnakumar4a4 246949a
refactor: replace _test_utils module with test_utils for consistency …
krishnakumar4a4 1ca8dc3
refactor: update dead code allowance for with_env function to clarify…
krishnakumar4a4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.