Skip to content
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

ADDomainController - Added support to demote domain controller - Fixes #251 #634

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

limiteddenial
Copy link

@limiteddenial limiteddenial commented Nov 17, 2020

Pull Request (PR) description

Added support to demote domain controller when ensure is set to Absent.

This Pull Request (PR) fixes the following issues

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 added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Community Testing Guidelines.
  • [ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
  • New/changed code adheres to DSC Community Style Guidelines.

This change is Reviewable

@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #634 (dcfbf87) into main (9346a1d) will increase coverage by 0%.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##           main   #634   +/-   ##
===================================
  Coverage    98%    98%           
===================================
  Files        25     25           
  Lines      3408   3435   +27     
===================================
+ Hits       3340   3367   +27     
  Misses       68     68           

@johlju johlju added the needs review The pull request needs a code review. label Nov 23, 2020
@limiteddenial
Copy link
Author

Is there anything I can do to help this move forward in the review process?

@X-Guardian
Copy link
Contributor

Hi @limiteddenial, thankyou for your contribution and raising this PR. The current situation with this module is that there is a known issue with the ADGroup resource, #633. Until this is rectified there won't be a new full release of the module, and any time I have available to spend will be on resolving that issue. To be honest, I believe the use cases of demoting a DC through DSC as being very limited, so looking at this will be low priority for me.

Just looking at the CodeCov report, it is saying that 7 lines have been missed in this PR, so in the meantime can you please look at increasing the unit tests to cover these lines.

@johlju johlju changed the base branch from master to main January 5, 2021 16:33
@X-Guardian X-Guardian added waiting for code fix A review left open comments, and the pull request is waiting for changes to be pushed by the author. and removed needs review The pull request needs a code review. labels May 16, 2021
@stale
Copy link

stale bot commented May 30, 2021

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.

@stale stale bot added the abandoned The pull request has been abandoned. label May 30, 2021
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.

ADDomainController: Add ability to demote DCs with Ensure = Absent
3 participants