Skip to content

Conversation

@johlju
Copy link
Member

@johlju johlju commented Apr 15, 2023

Pull Request (PR) description

  • SqlServerDsc
    • New class-based resource:
      • SqlInstall - Handles the Microsoft SQL Server setup action Install.

This Pull Request (PR) fixes the following issues

Partly helps with #1781 .

Task list

  • Added an entry to the change log under the Unreleased section of the
    file CHANGELOG.md. Entry should say what was changed and how that
    affects users (if applicable), and reference the issue being resolved
    (if applicable).
  • Resource documentation updated in the resource's README.md.
  • Resource parameter descriptions updated in schema.mof.
  • Comment-based help updated, including parameter descriptions.
  • Localization strings updated.
  • Examples updated.
  • Unit tests updated. See DSC Community Testing Guidelines.
  • Integration tests updated (where possible). See DSC Community Testing Guidelines.
  • Code changes adheres to DSC Community Style Guidelines.

This change is Reviewable

@johlju johlju added the waiting for code fix A review left open comments, and the pull request is waiting for changes to be pushed by the author. label Apr 15, 2023
@codecov
Copy link

codecov bot commented Apr 15, 2023

Codecov Report

❌ Patch coverage is 5.57621% with 508 lines in your changes missing coverage. Please review.
✅ Project coverage is 89%. Comparing base (0688805) to head (9e4a011).

Files with missing lines Patch % Lines
source/Public/Get-SqlDscInstalledComponent.ps1 0% 131 Missing ⚠️
source/Public/Get-SqlDscInstalledComponentOld.ps1 0% 121 Missing ⚠️
source/Classes/020.SqlInstall.ps1 0% 24 Missing ⚠️
...c/Get-SqlDscMasterDataServicesInstalledSetting.ps1 0% 21 Missing ⚠️
...Test-SqlDscIsManagementStudioAdvancedInstalled.ps1 0% 21 Missing ⚠️
.../Public/Test-SqlDscIsManagementStudioInstalled.ps1 0% 21 Missing ⚠️
source/Public/Get-SqlDscServiceType.ps1 0% 17 Missing ⚠️
source/Classes/005.InstalledComponentSetting.ps1 0% 16 Missing ⚠️
...ublic/Get-SqlDscDatabaseEngineInstalledSetting.ps1 0% 15 Missing ⚠️
.../Get-SqlDscIntegrationServicesInstalledSetting.ps1 0% 15 Missing ⚠️
... and 12 more
Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##           main   #1912    +/-   ##
=====================================
- Coverage    94%     89%    -5%     
=====================================
  Files       154     179    +25     
  Lines      9338    9876   +538     
=====================================
+ Hits       8846    8876    +30     
- Misses      492    1000   +508     
Flag Coverage Δ
unit 89% <5%> (-5%) ⬇️
Files with missing lines Coverage Δ
source/Classes/011.SqlResourceBase.ps1 90% <ø> (ø)
source/DSCResources/DSC_SqlSetup/DSC_SqlSetup.psm1 98% <ø> (ø)
source/Private/ConvertFrom-ServiceStartMode.ps1 100% <100%> (ø)
source/Private/Get-InstanceId.ps1 100% <100%> (ø)
source/Public/Get-SqlDscManagedComputerService.ps1 97% <100%> (+1%) ⬆️
source/Public/Test-SqlDscIsInstalledInstance.ps1 100% <100%> (ø)
...blic/Test-SqlDscIsIntegrationServicesInstalled.ps1 0% <0%> (ø)
...ublic/Test-SqlDscIsMasterDataServicesInstalled.ps1 0% <0%> (ø)
source/Public/Test-SqlDscIsInstalledComponent.ps1 0% <0%> (ø)
...lDscIsBackwardCompatibilityComponentsInstalled.ps1 0% <0%> (ø)
... and 18 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@johlju johlju force-pushed the f/install-class-based-resource branch from 419de3c to 8088506 Compare April 16, 2023 09:41
@github-actions
Copy link

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label May 16, 2023
@johlju
Copy link
Member Author

johlju commented May 23, 2023

This is a big undertaking creating this resource and at the same time trying to re-invent the logic to be (hopefully) more efficient. But hopefully that will make it quicker to create the other setup action resources.

@github-actions github-actions bot removed the abandoned The pull request has been abandoned. label May 24, 2023
@github-actions
Copy link

github-actions bot commented Jun 7, 2023

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added abandoned The pull request has been abandoned. and removed abandoned The pull request has been abandoned. labels Jun 7, 2023
@johlju johlju force-pushed the f/install-class-based-resource branch from 66de733 to e0af130 Compare June 18, 2023 09:36
@johlju johlju force-pushed the f/install-class-based-resource branch 2 times, most recently from 66de733 to be3c785 Compare June 18, 2023 13:05
@github-actions
Copy link

github-actions bot commented Jul 3, 2023

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label Jul 3, 2023
@github-actions github-actions bot removed the abandoned The pull request has been abandoned. label Jul 11, 2023
@github-actions
Copy link

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label Jul 26, 2023
@johlju
Copy link
Member Author

johlju commented Sep 30, 2023

I'm gonna try to pick this up again, this is a very complex work, reimagine how Get-function works.

@github-actions
Copy link

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label Oct 16, 2023
@johlju johlju force-pushed the f/install-class-based-resource branch from 1dac3e7 to f568f52 Compare December 16, 2023 08:33
@github-actions github-actions bot removed the abandoned The pull request has been abandoned. label Dec 17, 2023
@github-actions
Copy link

github-actions bot commented Jan 1, 2024

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label Jan 1, 2024
johlju added 25 commits December 7, 2025 13:50
@johlju johlju force-pushed the f/install-class-based-resource branch from 9e4a011 to 8655aad Compare December 7, 2025 12:54
@github-actions
Copy link

Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.

@github-actions github-actions bot added the abandoned The pull request has been abandoned. label Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abandoned The pull request has been abandoned. waiting for code fix A review left open comments, and the pull request is waiting for changes to be pushed by the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant