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

xActiveDirectory: Remove old helper functions #418

Merged
merged 5 commits into from
Jul 11, 2019

Conversation

johlju
Copy link
Member

@johlju johlju commented Jul 7, 2019

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section in the CHANGELOG.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in resource directory README.md.
  • Resource parameter descriptions added/updated in 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 Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
  • New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is Reviewable

@johlju johlju added the needs review The pull request needs a code review. label Jul 7, 2019
@johlju
Copy link
Member Author

johlju commented Jul 7, 2019

@PlagueHO mind reviewing this one? Should not take to long.

@codecov-io
Copy link

codecov-io commented Jul 7, 2019

Codecov Report

Merging #418 into dev will increase coverage by <1%.
The diff coverage is 76%.

Impacted file tree graph

@@         Coverage Diff          @@
##            dev   #418    +/-   ##
====================================
+ Coverage    92%    92%   +<1%     
====================================
  Files        20     20            
  Lines      2553   2536    -17     
  Branches     10     10            
====================================
- Hits       2360   2347    -13     
+ Misses      183    179     -4     
  Partials     10     10

johlju added 4 commits July 9, 2019 10:18
- Removed the helper function `ThrowInvalidOperationError` in favor of
  new helper functions for localization (issue dsccommunity#316).
- Cleaned up some minor style violations in the code.
@johlju johlju force-pushed the remove-old-helper branch from 04e583e to e881edb Compare July 9, 2019 08:21
Copy link
Member Author

@johlju johlju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 11 of 11 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions


CHANGELOG.md, line 29 at r1 (raw file):

- Changes to xADOrganizationalUnit
  - Catch exception when the path property specifies a non-existing path
    ([issue #408](https://github.com/PowerShell/xActiveDirectory/issues/408))

Missing full stop (.).


CHANGELOG.md, line 86 at r1 (raw file):

xWaitForADDomain.

Full stop is in wrong place

Copy link
Member Author

@johlju johlju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 10 of 11 files reviewed, all discussions resolved (waiting on @johlju)


CHANGELOG.md, line 29 at r1 (raw file):

Previously, johlju (Johan Ljunggren) wrote…

Missing full stop (.).

Done


CHANGELOG.md, line 86 at r1 (raw file):

Previously, johlju (Johan Ljunggren) wrote…
xWaitForADDomain.

Full stop is in wrong place

Done

Copy link
Member Author

@johlju johlju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@johlju johlju merged commit 337164a into dsccommunity:dev Jul 11, 2019
@johlju johlju deleted the remove-old-helper branch July 11, 2019 08:35
@johlju johlju removed the needs review The pull request needs a code review. label Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants