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

add support for refactor log script files #47

Merged
merged 7 commits into from
Sep 2, 2020

Conversation

knoxi
Copy link
Contributor

@knoxi knoxi commented Sep 2, 2020

added support for .refactorlog files handled by the original .sqlproj

#45

@ErikEJ
Copy link
Collaborator

ErikEJ commented Sep 2, 2020

Please remove unneeded whitespace changes

@@ -94,7 +96,7 @@ private static int BuildDacpac(BuildOptions options)
}

// Save the package to disk
packageBuilder.SaveToDisk(options.Output);
packageBuilder.SaveToDisk(options.Output, new PackageOptions() { RefactorLogPath = options.RefactorLog.FullName });
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add null check before getting .FullName

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

{
// Ensure that the model has been created and metadata has been set
EnsureModelCreated();
EnsureModelValidated();
EnsureMetadataCreated();

Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -129,7 +131,8 @@ private static int DeployDacpac(DeployOptions options)
}

deployer.UseTargetServer(options.TargetServerName);


Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -8,7 +8,6 @@
<!--
Set LanguageTargets to Microsoft.Common.targets for any project that the SDK won't (.proj, .noproj, etc)
https://github.com/dotnet/sdk/blob/50ddfbb91be94d068514e8f4b0ce1052156364a0/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.targets#L28

Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert removed line breaks (?)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry, could not see it was whitespace removals...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@knoxi
Copy link
Contributor Author

knoxi commented Sep 2, 2020

Sorry for the unnecessary code changes with whitespace.
It's quite hard to work with VS or VSCode and don't format code while saving. It takes me almost longer to revert the unwanted changes then the feature itself.

@jmezach
Copy link
Member

jmezach commented Sep 2, 2020

Perhaps we should add an .editorconfig file so that we get a consistent code style.

@jmezach
Copy link
Member

jmezach commented Sep 2, 2020

LGTM! @ErikEJ Are you okay with this as well?

@ErikEJ
Copy link
Collaborator

ErikEJ commented Sep 2, 2020

LGTM :shipit:

@jmezach jmezach merged commit 66df558 into rr-wfm:master Sep 2, 2020
@ErikEJ ErikEJ mentioned this pull request Jul 31, 2024
@ErikEJ ErikEJ mentioned this pull request Oct 15, 2024
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.

3 participants