PoshSSDTBuildDeploy icon indicating copy to clipboard operation
PoshSSDTBuildDeploy copied to clipboard

Make use of Deploy Report

Open RichieBzzzt opened this issue 6 years ago • 5 comments

Deploy report is a useful document that can be generated in isolation of diff script. In order to review potential issues (such as index rebuilds) we should shred the demo document created to find anything we wouldn’t necessarily want to see and perhaps raise a warning and potential fixes (ie use refactoring in ssdt and include the refactor log)

RichieBzzzt avatar Jun 11 '18 17:06 RichieBzzzt

I’m going to write a sample of what I’m thinking as maybe a blog post, perhaps forking this. I think there’s lots of scope for using the deploy report as an alternative to creating the diff script and reading through: could report changes as a table in PowerShell maybe?

RichieBzzzt avatar Jun 11 '18 17:06 RichieBzzzt

Sample idea written here - https://github.com/RichieBzzzt/PoshSSDTBuildDeploy/pull/26

RichieBzzzt avatar Jun 14 '18 10:06 RichieBzzzt

I know I often use the deploy report before generating a script or making changes to production. It's a good high-level overview of what will change.

paschott avatar Aug 10 '18 22:08 paschott

I’m in two minds as to whether to close this issue or not as it’s sort of done. But at the same time I’m wondering if it people would be interested in being altered of certain operations or alerts (ie raise warning if a tablerebiild operation is included.)

https://bzzzt.io/post/2018-06-15-poshssdrbuilddeploy-warnings-improvement/

RichieBzzzt avatar Aug 11 '18 07:08 RichieBzzzt

Knowing that a table rebuild is going to happen would be of interest to me. Same for any sort of change that would drop/recreate/revoke/grant things along the way. SSDT definitely can get some funny ideas about what needs to be done to get things to match. We had a long-running battle with it wanting to completely rebuild a table central to our database that would have caused all sorts of issues had it "just run".

paschott avatar Oct 12 '20 12:10 paschott