From 95d8cbf671cc71bc096f95c57ee2c4a2b15b9f7f Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Mon, 27 Apr 2020 15:20:11 +1200 Subject: [PATCH 1/4] Fix Issue #75 and #76 --- CHANGELOG.md | 75 +++++++++++++++++++++++++++++++++++++++++ HISTORIC_CHANGELOG.md | 78 ------------------------------------------- RequiredModules.psd1 | 2 +- azure-pipelines.yml | 2 +- 4 files changed, 77 insertions(+), 80 deletions(-) delete mode 100644 HISTORIC_CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 98b49f1..d068a31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ```powershell .\build.ps1 -Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0 ``` +- Change Azure DevOps Pipeline definition to include `source/*` - Fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). +- Updated pipeline to use `latest` version of `ModuleBuilder` - Fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). +- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - Fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). ## [3.1.1] - 2020-01-31 @@ -90,3 +93,75 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security - None + +## [2.4.1.0] - 2019-10-25 + +### Changed + +- Changes to WSManDsc + - Added .VSCode settings for applying DSC PSSA rules - fixes [Issue #32](https://github.com/dsccommunity/WSManDsc/issues/32). + - Fix minor style issues in hashtable layout. + - Added .gitattributes file to fix bug publishing examples - Fixes [Issue #34](https://github.com/dsccommunity/WSManDsc/issues/34). + - WSManConfig: + - Added new resource to allow configuration of core WS-Man + settings - Fixes [Issue #40](https://github.com/dsccommunity/WSManDsc/issues/40). + - WSManServiceConfig: + - Updated integration tests to latest version of template. + +## [2.4.0.0] - 2019-10-15 + +### Changed + +- Changes to WSManDsc + - Enabled PSSA rule violations to fail build - Fixes [Issue #14](https://github.com/dsccommunity/WSManDsc/issues/14). + - Added Open Code of Conduct. + - Refactored module folder structure to move resource + to root folder of repository and remove test harness - Fixes [Issue #19](https://github.com/dsccommunity/WSManDsc/issues/19). + - Converted Examples to support format for publishing to PowerShell + Gallery. + - Change `Find-Certificate` in `WSManListener` to return entire certificate + instead of just thumbprint. + - Fix `Get-TargetResource` in `WSManListener` to ensure all MOF parameters are + returned - Fixes [Issue #21](https://github.com/dsccommunity/WSManDsc/issues/21). + - Minor style corrections to comment based help. + - Correct configuration names in Examples - fixes [Issue #24](https://github.com/dsccommunity/WSManDsc/issues/24). + - Opt-in to common tests: + - Common Tests - Validate Example Files To Be Published + - Common Tests - Validate Markdown Links + - Common Tests - Relative Path Length + - Opt-in to example publishing. + - Update to new format LICENSE. + +## [2.2.0.0] - 2018-01-13 + +### Changed + +- Changes to WSManDsc + - WSManListener: + - Added support for setting the Hostname of the listener will if the + subject of the certificate does not match the machine name - Fixes [Issue #11](https://github.com/dsccommunity/WSManDsc/issues/11). + +## [2.1.0.0] - 2018-01-02 + +### Changed + +- Changes to WSManDsc + - Updated tests to meet Pester v4 standard. + - Removed DSCResourceKit tag from manifest tags. + - Added support for selecting a certificate to use by Thumbprint. + +## [2.0.0.0] - 2017-09-02 + +### Changed + +- Changes to WSManDsc + - Added WSManServiceConfig resource. + - Prepare module for moving over to DSC community resources. + - Fixes WSManListener when Compatibility Listeners are enabled. + - Updated readme.md to follow standard layout defined in DSCResources. + - WSManListener: + - Refactored to move certificate lookup to Find-Certificate cmdlet. + - Improved unit test coverage. + - Exception now thrown if certificate can't be found for HTTPS listener. + - Added integration tests for WS-Man HTTPS listener. + - Additional logging information added for certificate detection for HTTPS listener. diff --git a/HISTORIC_CHANGELOG.md b/HISTORIC_CHANGELOG.md deleted file mode 100644 index b4482dd..0000000 --- a/HISTORIC_CHANGELOG.md +++ /dev/null @@ -1,78 +0,0 @@ -# Historic change log for WSManDsc - -The release notes in the PowerShell Module manifest cannot exceed 10000 -characters. Due to a bug in the CI deploy pipeline this is not handled. -This file is to temporary move the older change log history to keep the -change log short. - -## [2.4.1.0] - 2019-10-25 - -### Changed - -- Changes to WSManDsc - - Added .VSCode settings for applying DSC PSSA rules - fixes [Issue #32](https://github.com/dsccommunity/WSManDsc/issues/32). - - Fix minor style issues in hashtable layout. - - Added .gitattributes file to fix bug publishing examples - Fixes [Issue #34](https://github.com/dsccommunity/WSManDsc/issues/34). - - WSManConfig: - - Added new resource to allow configuration of core WS-Man - settings - Fixes [Issue #40](https://github.com/dsccommunity/WSManDsc/issues/40). - - WSManServiceConfig: - - Updated integration tests to latest version of template. - -## [2.4.0.0] - 2019-10-15 - -### Changed - -- Changes to WSManDsc - - Enabled PSSA rule violations to fail build - Fixes [Issue #14](https://github.com/dsccommunity/WSManDsc/issues/14). - - Added Open Code of Conduct. - - Refactored module folder structure to move resource - to root folder of repository and remove test harness - Fixes [Issue #19](https://github.com/dsccommunity/WSManDsc/issues/19). - - Converted Examples to support format for publishing to PowerShell - Gallery. - - Change `Find-Certificate` in `WSManListener` to return entire certificate - instead of just thumbprint. - - Fix `Get-TargetResource` in `WSManListener` to ensure all MOF parameters are - returned - Fixes [Issue #21](https://github.com/dsccommunity/WSManDsc/issues/21). - - Minor style corrections to comment based help. - - Correct configuration names in Examples - fixes [Issue #24](https://github.com/dsccommunity/WSManDsc/issues/24). - - Opt-in to common tests: - - Common Tests - Validate Example Files To Be Published - - Common Tests - Validate Markdown Links - - Common Tests - Relative Path Length - - Opt-in to example publishing. - - Update to new format LICENSE. - -## [2.2.0.0] - 2018-01-13 - -### Changed - -- Changes to WSManDsc - - WSManListener: - - Added support for setting the Hostname of the listener will if the - subject of the certificate does not match the machine name - Fixes [Issue #11](https://github.com/dsccommunity/WSManDsc/issues/11). - -## [2.1.0.0] - 2018-01-02 - -### Changed - -- Changes to WSManDsc - - Updated tests to meet Pester v4 standard. - - Removed DSCResourceKit tag from manifest tags. - - Added support for selecting a certificate to use by Thumbprint. - -## [2.0.0.0] - 2017-09-02 - -### Changed - -- Changes to WSManDsc - - Added WSManServiceConfig resource. - - Prepare module for moving over to DSC community resources. - - Fixes WSManListener when Compatibility Listeners are enabled. - - Updated readme.md to follow standard layout defined in DSCResources. - - WSManListener: - - Refactored to move certificate lookup to Find-Certificate cmdlet. - - Improved unit test coverage. - - Exception now thrown if certificate can't be found for HTTPS listener. - - Added integration tests for WS-Man HTTPS listener. - - Additional logging information added for certificate detection for HTTPS listener. diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index adb36d7..b38fe95 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -11,7 +11,7 @@ PSScriptAnalyzer = 'latest' Pester = 'latest' Plaster = 'latest' - ModuleBuilder = '1.0.0' + ModuleBuilder = 'latest' ChangelogManagement = 'latest' Sampler = 'latest' 'DscResource.Test' = 'latest' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 92e606b..75c2db6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,7 +4,7 @@ trigger: - master paths: include: - - source/**/* + - source/* tags: include: - "v*" From 3102b8f03045d9fa1bd11db82ab7e83ffc85a636 Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Mon, 27 Apr 2020 16:30:58 +1200 Subject: [PATCH 2/4] Minor tweak to CHANGELOG.md style --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d068a31..b9dae46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ```powershell .\build.ps1 -Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0 ``` -- Change Azure DevOps Pipeline definition to include `source/*` - Fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). -- Updated pipeline to use `latest` version of `ModuleBuilder` - Fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). -- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - Fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). +- Change Azure DevOps Pipeline definition to include `source/*` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). +- Updated pipeline to use `latest` version of `ModuleBuilder` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). +- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). ## [3.1.1] - 2020-01-31 From 244f1e268fdea691caf218fb60fb13a729071269 Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Mon, 27 Apr 2020 16:35:07 +1200 Subject: [PATCH 3/4] Trigger pipeline --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9dae46..8363938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ``` - Change Azure DevOps Pipeline definition to include `source/*` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). - Updated pipeline to use `latest` version of `ModuleBuilder` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). -- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). +- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - Fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). ## [3.1.1] - 2020-01-31 From 42c9fb2c171e3c6db3d649b8d5f9fcf834e9fa75 Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Mon, 27 Apr 2020 16:36:52 +1200 Subject: [PATCH 4/4] Trigger pipelien --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8363938..b9dae46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ``` - Change Azure DevOps Pipeline definition to include `source/*` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). - Updated pipeline to use `latest` version of `ModuleBuilder` - fixes [Issue #75](https://github.com/dsccommunity/WSManDsc/issues/75). -- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - Fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). +- Merge `HISTORIC_CHANGELOG.md` into `CHANGELOG.md` - fixes [Issue #76](https://github.com/dsccommunity/WSManDsc/issues/76). ## [3.1.1] - 2020-01-31