-
Notifications
You must be signed in to change notification settings - Fork 0
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
Review PR #1
base: reviewBase
Are you sure you want to change the base?
Review PR #1
Conversation
Fixed duplicate configuration name under Examples.
Fixed typo for $newParams (was $setParams) in Set-TargetResource.
Fixed typo in "Unblock inheritance on OU" example.
Reviewed 1 of 26 files at r1. appveyor.yml, line 16 [r1] (raw file):
We have updated the appveyor file throughout the Resource Kit and in the template since this was written. install:
- git clone https://github.com/PowerShell/DscResource.Tests
- ps: |
Import-Module -Name .\DscResource.Tests\TestHelper.psm1 -Force
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name Pester -Repository PSGallery -Force GroupPolicyDsc.psd1, line 15 [r1] (raw file):
ModuleVersion = '1.0.0.0' GroupPolicyDsc.psd1, line 21 [r1] (raw file):
Author = 'Microsoft Corporation' GroupPolicyDsc.psd1, line 24 [r1] (raw file):
CompanyName = 'Microsoft Corporation' GroupPolicyDsc.psd1, line 27 [r1] (raw file):
Copyright = '(c) 2016 Microsoft Corporation. All rights reserved.' README.md, line 6 [r1] (raw file):
Please add snippet about the MS open source code of conduct:
DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.psm1, line 1 [r1] (raw file):
Please modify this file to follow the DSC Resource Kit style guidelines DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.psm1, line 20 [r1] (raw file):
$params: Please use a more descriptive variable name such as $getGPInheritanceParams DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.psm1, line 61 [r1] (raw file):
$params: Please use a more descriptive variable name DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.psm1, line 116 [r1] (raw file):
$params: Please use a more descriptive variable name DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.schema.mof, line 7 [r1] (raw file):
Please replace tab characters with 4 spaces. DSCResources/MSFT_GPOImport/MSFT_GPOImport.psm1, line 1 [r1] (raw file):
Please modify this file to follow the DSC Resource Kit style guidelines DSCResources/MSFT_GPOImport/MSFT_GPOImport.psm1, line 21 [r1] (raw file):
$params: Please use a more descriptive variable name DSCResources/MSFT_GPOImport/MSFT_GPOImport.psm1, line 68 [r1] (raw file):
$params: Please use a more descriptive variable name DSCResources/MSFT_GPOImport/MSFT_GPOImport.schema.mof, line 11 [r1] (raw file):
Please replace tab characters with 4 spaces. DSCResources/MSFT_GPOLink/MSFT_GPOLink.psm1, line 1 [r1] (raw file):
Please modify this file to follow the DSC Resource Kit style guidelines DSCResources/MSFT_GPOLink/MSFT_GPOLink.psm1, line 220 [r1] (raw file):
$params: Please use a more descriptive variable name DSCResources/MSFT_GPOLink/MSFT_GPOLink.schema.mof, line 12 [r1] (raw file):
Please replace tab characters with 4 spaces. Tests/Integration/MSFT_GPInheritance.config.ps1, line 16 [r1] (raw file):
Missing a newline at end of file Tests/Integration/MSFT_GPInheritance.Integration.tests.ps1, line 23 [r1] (raw file):
Please remove all comments left over from the template Tests/Integration/MSFT_GPOImport.config.ps1, line 25 [r1] (raw file):
Missing a newline at end of file Tests/Integration/MSFT_GPOImport.Integration.tests.ps1, line 23 [r1] (raw file):
Please remove all comments left over from the template Tests/Integration/MSFT_GPOLink.config.ps1, line 23 [r1] (raw file):
Missing a newline at end of file Tests/Integration/MSFT_GPOLink.Integration.tests.ps1, line 23 [r1] (raw file):
Please remove all comments left over from the template Comments from Reviewable |
@kwirkykat I'll start working on these. Do I need to add comment-based help to each of the Get-, Set-, and Test-TargetResource functions? |
@kwirkykat The requested changes have been made. If I need to add the comment-based help for the DSC functions, I can. |
[ClassVersion("1.0.0"), FriendlyName("GPInheritance")] | ||
class MSFT_GPInheritance : OMI_BaseResource | ||
{ | ||
[Key] String Target; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add descriptions
Reviewed 5 of 26 files at r1. DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.schema.mof, line 4 [r1] (raw file):
Target isn't very descriptive can way say DSCResources/MSFT_GPOImport/MSFT_GPOImport.schema.mof, line 4 [r1] (raw file):
Target isn't standard naming in DSC... In the Example here they just use DSCResources/MSFT_GPOImport/MSFT_GPOImport.schema.mof, line 9 [r1] (raw file):
Description DSCResources/MSFT_GPOImport/MSFT_GPOImport.schema.mof, line 10 [r1] (raw file):
Should this be required to run on the AD machine? Most resources should target the local machine. DSCResources/MSFT_GPOLink/MSFT_GPOLink.schema.mof, line 5 [r1] (raw file):
Allowing this allows specifying the link twice, we need the key having one type. DSCResources/MSFT_GPOLink/MSFT_GPOLink.schema.mof, line 6 [r1] (raw file):
see previous comment Comments from Reviewable |
Review status: 1 of 27 files reviewed at latest revision, 31 unresolved discussions. DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.schema.mof, line 4 [r1] (raw file):
|
@TravisEz13 See comments above and let me know what you'd prefer. |
Review status: 1 of 27 files reviewed at latest revision, 31 unresolved discussions. DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.schema.mof, line 4 [r2] (raw file):
|
Review status: 1 of 27 files reviewed at latest revision, 31 unresolved discussions. DSCResources/MSFT_GPInheritance/MSFT_GPInheritance.schema.mof, line 4 [r1] (raw file):
|
Review status: 1 of 27 files reviewed at latest revision, 30 unresolved discussions. DSCResources/MSFT_GPOLink/MSFT_GPOLink.schema.mof, line 5 [r1] (raw file):
|
Yes, I'd recommend removing IdentityType. I think GUID is better long term, but Name is better for usability. I don't have a strong preference. |
@TravisEz13 I've made the requested changes. |
@TravisEz13 The changes were made. Are any other changes required? |
@corydwood @TravisEz13 is out on vacation right now. I'll let him know this is waiting when he gets back. |
Reviewed 3 of 8 files at r3. DSCResources/MSFT_GPOLink/MSFT_GPOLink.schema.mof, line 12 at r1 (raw file):
|
@TravisEz13 I think you're looking at an old commit. The tab characters were already replaced with 4 spaces. |
@TravisEz13 @kwirkykat Is there anything else either of you are waiting on before this can be transferred? |
@corydwood No changes needed at the moment. Holdup is on our end. |
Hi everyone, what ever happened to this PR? |
@corydwood Please see issue comment PowerShell/DscResources#101 (comment). |
Review for issue 101 to add this module to the DscResources repository.
This change is