-
Notifications
You must be signed in to change notification settings - Fork 67
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
Updated Readme.md #113
Updated Readme.md #113
Conversation
Reviewed 2 of 2 files at r1. README.md, line 4 at r1 (raw file):
Do we need to list each resource here? Seems it could be missed when new resources are added. Could we just say something like "using Desired State Configuration." instead? But if you want to keep it as-is, then that looks okay to me. README.md, line 31 at r1 (raw file):
Could you order these resources in alphabetical order? README.md, line 31 at r1 (raw file):
The resource and the resource folder is named xVHD (upper 'VHD'). This should reflect that. Or the resource should change the name to 'xVhd'. README.md, line 47 at r1 (raw file):
This resource has read parameters that should be listed here as well. Example: README.md, line 47 at r1 (raw file):
Between this and the parameters should we add the resource description? For now we could just copy the description from the ToC? If so, do that for all resources. README.md, line 53 at r1 (raw file):
Add that the default value is 'Vhd'. README.md, line 54 at r1 (raw file):
Add the value map to this as well. { *Present*\ | Absent } Add that the text "Default value is 'Present'." README.md, line 56 at r1 (raw file):
This resource has read parameters that should be listed here as well. README.md, line 60 at r1 (raw file):
Should be [string[]] README.md, line 64 at r1 (raw file):
Add that the default value is '1'. README.md, line 66 at r1 (raw file):
Add that the default value is $true. README.md, line 81 at r1 (raw file):
Add the value map to this as well. { *Present*\ | Absent } Add that the default value is 'Present'. README.md, line 83 at r1 (raw file):
Add that the default value is $false. README.md, line 86 at r1 (raw file):
Maybe move these up under the resource description? So this is shown before the parameters? README.md, line 92 at r1 (raw file):
This resource has read parameters that should be listed here as well. README.md, line 99 at r1 (raw file):
Add that the default value is $false. README.md, line 101 at r1 (raw file):
Add that the default value is $false. README.md, line 103 at r1 (raw file):
Add that the default value is 'NA'. Also make NA italic in the value map. README.md, line 106 at r1 (raw file):
Add the value map to this as well. { *Present*\ | Absent } Add that the default value is 'Present'. README.md, line 108 at r1 (raw file):
Could you order these resources in alphabetical order? README.md, line 108 at r1 (raw file):
Why is it a class thatis named xFileDirectory in this schema? README.md, line 108 at r1 (raw file):
Missing parameter CheckSum. Add default value is 'ModifiedDate' for parameter CheckSum. README.md, line 111 at r1 (raw file):
Should be README.md, line 126 at r1 (raw file):
Depending on how your write the others this might need to be revised. README.md, line 128 at r1 (raw file):
This resource has read parameters that should be listed here as well. README.md, line 139 at r1 (raw file):
Add the value map to this as well. { *Present*\ | Absent } And add that the default value is 'Present'. README.md, line 386 at r1 (raw file):
Use single quotes on all strings with only text. Do this throughput these examples. README.md, line 401 at r1 (raw file):
Comment block for this text. README.md, line 412 at r1 (raw file):
Upper 'C' on Create. Should be upper-case VHD? README.md, line 1151 at r1 (raw file):
Maybe use [System.String]? If so, do this throughout. README.md, line 1195 at r1 (raw file):
No type on this one. README.md, line 1229 at r1 (raw file):
Are you sure it shouldn't be ModuleName? https://msdn.microsoft.com/en-us/powershell/dsc/sxsresource Comments from Reviewable |
…ngelog. Linked to examples instead of duplication (created missing samples from Readme code)
@johlju Based on your comments I decided to do the entire overhaul based on how DscResources Readme is done. Also added a change log and removed all example code from the Readme and replaced with links. The example files are the same as the example code was in the Readme. A couple example files where missing, these are created from the code which was in the Readme. Examples will be checked and if needed improved (new issue #114 ) Review status: 1 of 7 files reviewed at latest revision, 32 unresolved discussions. README.md, line 4 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK, I thought so myself when adding 2 or 3 which where missing. Changed it README.md, line 31 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 31 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 47 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 47 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 53 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 54 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 56 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 60 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 64 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 66 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 81 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 83 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 86 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 92 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 99 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 101 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 103 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 106 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 108 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 108 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
I think this is done for Intellisense purposes and modeled after the File resource https://msdn.microsoft.com/en-us/powershell/dsc/fileresource I'll add a definition of the class to the readme so people will know the properties. I'll copy in descriptions coming from the above link where applicable. (I won't say what values are default or not as from looking at the code this doesn't looks like the implementation reflects the documentation from the link above. I won't judge the validity of this approach. I'll leave that to redesign work for the HQRM module. README.md, line 108 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 111 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 126 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 128 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 139 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 386 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. README.md, line 401 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. README.md, line 412 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. README.md, line 1151 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. README.md, line 1195 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. README.md, line 1229 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
OK. Instead of fixing the example code, I decided to remove it from the readme and link to the examples in the examples folder instead and untouched. Examples where duplicates with a few exceptions. These exceptions are now example files. Comments from Reviewable |
Reviewed 6 of 6 files at r2. Comments from Reviewable |
This change is