-
Notifications
You must be signed in to change notification settings - Fork 225
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
BREAKING CHANGE: SqlServerDsc: Fix inconsistent parameter names in all resources #917
Conversation
@randomnote1 @nabrond If you have time, then please help me review this one. I really need a second pair of eyes on this one. It's hard to be objective of ones own code. 😄 @PlagueHO If you get bored on your mini-holiday, then you can help out reviewing this one. Haha 😉 |
Codecov Report
@@ Coverage Diff @@
## dev #917 +/- ##
===================================
Coverage 96% 96%
===================================
Files 32 32
Lines 3515 3515
===================================
Hits 3395 3395
Misses 120 120 |
Reviewed 15 of 129 files at r1. Comments from Reviewable |
@johlju, I noticed that no helper functions were included in this PR. Functions like Comments from Reviewable |
Reviewed 7 of 129 files at r1. Comments from Reviewable |
Reviewed 6 of 129 files at r1. Comments from Reviewable |
Reviewed 1 of 129 files at r1. Comments from Reviewable |
@nabrond I thought about it, but I didn't want to do that in this PR since it can be done later without a breaking change (was a lot of work getting all the tests working any way 😄 ). But I will make sure to add an issue for that so it doesn't get forgotten. |
Reviewed 2 of 129 files at r1. Comments from Reviewable |
Reviewed 15 of 129 files at r1. DSCResources/MSFT_SqlDatabaseRole/MSFT_SqlDatabaseRole.psm1, line 129 at r1 (raw file):
Fix formatting DSCResources/MSFT_SqlDatabaseRole/MSFT_SqlDatabaseRole.psm1, line 342 at r1 (raw file):
Fix formatting Examples/Resources/SqlDatabasePermission/1-GrantDatabasePermissions.ps1, line 23 at r1 (raw file):
Just curious...Why did you update this to an FQDN? Comments from Reviewable |
Reviewed 11 of 129 files at r1. Comments from Reviewable |
Review status: 55 of 129 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. Examples/Resources/SqlDatabasePermission/1-GrantDatabasePermissions.ps1, line 23 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
It said 'SQLServer' before so it was messing with my search and replace, and when changing the name I just wrote FQDN by habit. 😄 I can change it back to NetBIOS if you like. Comments from Reviewable |
Reviewed 16 of 129 files at r1. Examples/Resources/SqlDatabasePermission/1-GrantDatabasePermissions.ps1, line 23 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Ahh, that makes sense. No big deal. Like I said, I was just curious! Tests/Unit/MSFT_SqlServerLogin.Tests.ps1, line 58 at r1 (raw file):
Hash table should be formatted with the appropriate spacing. Comments from Reviewable |
Reviewed 26 of 129 files at r1. Comments from Reviewable |
@johlju, There are only a few formatting issues. Other than that, I think this looks good. Reviewed 30 of 129 files at r1. Comments from Reviewable |
Review status: 127 of 129 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. Examples/Resources/SqlDatabasePermission/1-GrantDatabasePermissions.ps1, line 23 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Comments from Reviewable |
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameter NodeName has been renamed to ServerName (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameter NodeName has been renamed to ServerName (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameter NodeName has been renamed to ServerName (issue dsccommunity#308).
- BREAKING CHANGE: Parameter NodeName has been renamed to ServerName (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer has been renamed to ServerName (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
- BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectivly (issue dsccommunity#308).
Many thanks for reviewing! This was a big one! 😄 All comments should be resolved. Please sign off on them. Review status: 124 of 129 files reviewed at latest revision, 4 unresolved discussions. DSCResources/MSFT_SqlDatabaseRole/MSFT_SqlDatabaseRole.psm1, line 129 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. DSCResources/MSFT_SqlDatabaseRole/MSFT_SqlDatabaseRole.psm1, line 342 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. Examples/Resources/SqlDatabasePermission/1-GrantDatabasePermissions.ps1, line 23 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. Tests/Unit/MSFT_SqlServerLogin.Tests.ps1, line 58 at r1 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. For some reason auto-formatting did not touch this one. I moved it manually. Comments from Reviewable |
Glad to help! Just one more thing I missed earlier and it should be good to go. Reviewed 2 of 3 files at r2, 2 of 2 files at r3. CHANGELOG.md, line 8 at r3 (raw file):
Should be Or should it be throughout the whole file? Comments from Reviewable |
Good catch - totally missed that! Can you please sign off on the last changes. 😄 Review status: 128 of 129 files reviewed at latest revision, 1 unresolved discussion. CHANGELOG.md, line 8 at r3 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. Comments from Reviewable |
Review status: 128 of 129 files reviewed at latest revision, 1 unresolved discussion. CHANGELOG.md, line 8 at r3 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Still says xSQLServer on this line Comments from Reviewable |
Review status: 128 of 129 files reviewed at latest revision, 1 unresolved discussion. CHANGELOG.md, line 8 at r3 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Done. Really this time. 😄 I looked over this twice to make sure, and still managed to miss one. :s Comments from Reviewable |
Reviewed 1 of 1 files at r4. Comments from Reviewable |
@randomnote1 Awesome thank you! Waiting for the tests to pass and I will merge this one. |
Pull Request (PR) description
This pull request will fix all inconsistent parameter names so that
InstanceName
is the parameter used to set the name of the instance to configure, andServerName
is used to specify the NetBios or FQDN name where the instance can be found.This Pull Request (PR) fixes the following issues:
Fixes #308
Task list:
This change is