-
Notifications
You must be signed in to change notification settings - Fork 0
Prep Release 1.0.10 #23
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
Conversation
…ed behind base64 for security reasons, also updating test cases and changing the way some of the code works to support better test cases.
…de duplication and refactored some code to be less complex by splitting them into their own files.
…for psscriptanalyzer, standardizing on write-statusmessage as well
…ile so it conforms to the format expected, more test cases and some refactoring and elimination of duplicate code.
…run functionality across the various write operations
…ds 1 comment so we will use linux
1.0.10 features expanded unit tests added dryrun functionality, around 80% done added -explain command to devsetup added environment file validation removed a decent amount of code duplication
Automated Release Tagging for 1.0.10 in DevSetup.psd1
….0.100 because it lacked multiple number parsing i.e. [0-9]+
…version-numbers Fixing an issue with parsing of version numbers where 1.0.10 became 1…
…at use the new structure Added parity code to ensure dryrun works properly with powershell modules Refactored code to be more in line with our guidelines and removed code that is no longer being used, making the functions simpler in general Updated test cases to maintain 100% test coverage
…for-parity Updated powershell provider to be in parity with the other modules that use the new structure
Refactored code to be in line with the other providers Refactored the test cases to cover this new or removed functionality Ensured DryRun compatibilityAdded a new helper function to Find-Chocolatey rather then relying on Get-Command Removed all references to Invoke-Expression and replaced with Invoke-Command
The Linux and macOS test cases had some issues with lack of TestDrive and Join-Path
Corrected issue with blank paths on the test cases for linux
…parity setting up parity with other providers adjusted multiple test cases for chocolatey refactored code chocolatey code to be more efficient with less duplication added a helper function to find the choco binary rather then relying on just Get-Command or hard coding 'choco.exe' for those times when its not in the path
feat/self updater - Allows for easy upgrade to newer versions of devsetup.
Adding self updater
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PSScriptAnalyzer found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Pester test (On macOS) Results1 634 tests 1 633 ✅ 54s ⏱️ Results for commit 3dc1668. |
Summary - Pester Test Coverage ReportSummary
CoverageDevSetup - 0%
DevSetup/Private/3rdParty - 100%
DevSetup/Private/3rdParty/VisualStudio - 100%
DevSetup/Private/3rdParty/VisualStudioCode - 100%
DevSetup/Private/Commands - 100%
DevSetup/Private/Enums - 100%
DevSetup/Private/Providers/Chocolatey - 100%
DevSetup/Private/Providers/Core - 100%
DevSetup/Private/Providers/Homebrew - 100%
DevSetup/Private/Providers/Powershell - 100%
DevSetup/Private/Providers/Scoop - 100%
DevSetup/Private/Updater - 100%
DevSetup/Private/Utils - 100%
DevSetup/Public - 100%
|
Pester test (On Windows) Results1 634 tests 1 633 ✅ 54s ⏱️ Results for commit 3dc1668. |
Merging to main to release 1.0.10
feat/self-updater
feat/explain command
feat/dry run functionality
fix/test cases to achieve close to100% coverage
fix/display issues