Release: Add dual listing mode functionality #986
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.
Pull Request: Add Dual Listing Mode Functionality
📋 Summary
This PR introduces comprehensive dual listing mode functionality to Winget-AutoUpdate, allowing simultaneous use of both whitelist and blacklist configurations with blacklist taking precedence over whitelist.
🚀 Key Features
Core Functionality
Enterprise Ready
🔧 Technical Implementation
Files Added
Sources/Winget-AutoUpdate/functions/Get-DualListApps.ps1- Core dual listing logicSources/Winget-AutoUpdate/functions/Test-DualListPath.ps1- External list handlingDUAL_LISTING_MODE.md- Comprehensive feature documentationTests/- Complete test suite (45 tests, 100% pass rate)Files Modified
Sources/Winget-AutoUpdate/Winget-Upgrade.ps1- Main integrationSources/Winget-AutoUpdate/functions/Get-WAUConfig.ps1- Enhanced error handlingSources/Winget-AutoUpdate/functions/Get-IncludedApps.ps1- Robust error handlingSources/Winget-AutoUpdate/functions/Get-ExcludedApps.ps1- Robust error handlingSources/Wix/build.wxs- MSI installer configurationSources/Policies/ADMX/WAU.admx- GPO policy templateSources/Policies/ADMX/en-US/WAU.adml- GPO localization📊 Test Coverage
Unit Tests
Integration Tests
Test Scripts
Tests/DualListingMode.Tests.ps1- Unit testsTests/DualListingMode.Integration.Tests.ps1- Integration testsTests/Test-DualListingQuick.ps1- Quick demonstration scriptTests/Test-DualListingRealWorld.ps1- Real-world scenario testing🎯 Usage Examples
Basic GPO Configuration
Decision Logic
🔍 Testing Instructions
Quick Test
Full Test Suite
Real-world Test
📖 Documentation
DUAL_LISTING_MODE.md: Complete feature documentationTests/README-DualListingMode.md: Test suite documentationTests/IMPLEMENTATION-SUMMARY.md: Implementation details🔒 Security Considerations
🎪 Backwards Compatibility
🔍 Breaking Changes
None - This is a fully backwards-compatible addition.
📋 Checklist
🎯 Related Issues
This PR addresses the requirement for dual listing functionality that enables:
📞 Support
For questions or support regarding this feature:
DUAL_LISTING_MODE.mdTests/Ready for review ✅
This implementation provides enterprise-grade dual listing functionality with comprehensive testing, documentation, and backwards compatibility.