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

Fixes #82 #83

Merged
merged 7 commits into from
May 14, 2019
Merged

Fixes #82 #83

merged 7 commits into from
May 14, 2019

Conversation

PlagueHO
Copy link
Member

@PlagueHO PlagueHO commented May 11, 2019

Pull Request (PR) description

  • Combined all ActiveDirectoryCSDsc.ResourceHelper module functions into
    ActiveDirectoryCSDsc.Common module and renamed to ActiveDirectoryCSDsc.CommonHelper
    module.
  • Opted into Common Tests 'Common Tests - Validate Localization' -
    fixes Issue #82.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in README.md in the resource folder.
  • 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.

@johlju - would you mind reviewing when you have time?


This change is Reviewable

@PlagueHO PlagueHO added the needs review The pull request needs a code review. label May 11, 2019
@codecov-io
Copy link

Codecov Report

Merging #83 into dev will increase coverage by 4%.
The diff coverage is 100%.

Impacted file tree graph

@@        Coverage Diff        @@
##           dev   #83   +/-   ##
=================================
+ Coverage   93%   98%   +4%     
=================================
  Files        7     6    -1     
  Lines      443   517   +74     
=================================
+ Hits       416   508   +92     
+ Misses      27     9   -18

Copy link
Member

@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 18 of 18 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @PlagueHO)


Modules/ActiveDirectoryCSDsc.Common/ActiveDirectoryCSDsc.Common.psm1, line 483 at r1 (raw file):

$script:localizedData = Get-LocalizedData -ResourceName 'ActiveDirectoryCSDsc.Common' -ScriptRoot $PSScriptRoot

Maybe have this at the end just before the Export-ModuleMember so it is less hidden :)

Copy link
Member Author

@PlagueHO PlagueHO left a comment

Choose a reason for hiding this comment

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

All done! Thanks @johlju

Reviewable status: 17 of 18 files reviewed, 1 unresolved discussion (waiting on @johlju)


Modules/ActiveDirectoryCSDsc.Common/ActiveDirectoryCSDsc.Common.psm1, line 483 at r1 (raw file):

Previously, johlju (Johan Ljunggren) wrote…
$script:localizedData = Get-LocalizedData -ResourceName 'ActiveDirectoryCSDsc.Common' -ScriptRoot $PSScriptRoot

Maybe have this at the end just before the Export-ModuleMember so it is less hidden :)

Done.

Copy link
Member

@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

@PlagueHO PlagueHO merged commit b0c231b into dsccommunity:dev May 14, 2019
@PlagueHO PlagueHO deleted the Issue-82 branch May 14, 2019 06:59
@kwirkykat kwirkykat removed the needs review The pull request needs a code review. label May 14, 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
Development

Successfully merging this pull request may close these issues.

Opt-In to Common Tests - Validating Localization
4 participants