Skip to content

Disable windows pdb verification by default - #7315

Merged
2 commits merged into
dotnet:mainfrom
mmitche:remove-windows-pdbs
Apr 29, 2021
Merged

Disable windows pdb verification by default#7315
2 commits merged into
dotnet:mainfrom
mmitche:remove-windows-pdbs

Conversation

@mmitche

@mmitche mmitche commented Apr 28, 2021

Copy link
Copy Markdown
Member

When we publish symbols, they are published without windows pdb conversion. This happens on release day
Avoid checking for windows PDBs by default. Still available via switch.

Also run the formatter on the code, as it was really hard to figure out the scoping of various blocks due to indentation.

To double check:

When we publish symbols, they are published without windows pdb conversion. This happens on release day
Avoid checking for windows PDBs by default. Still available via switch.
$DupedSymbols = 0

Get-ChildItem "$InputPath\*.nupkg" |
ForEach-Object {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why are we changing the indentation here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It was very difficult to track down the script blocks that had to be altered because the formatting was pretty wacky. So I ran it through the formatter. You can use "Hide whitespace changes" to see just the lines that changed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Right, but I think that's indented that way because of the piping. ie Get-ChildItem is being piped into the ForEach-Object, so I think that indentation was intentional.

@mmitche mmitche added the auto-merge Automatically merge PR once CI passes. label Apr 28, 2021
@ghost

ghost commented Apr 28, 2021

Copy link
Copy Markdown

Hello @mmitche!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@hoyosjs hoyosjs closed this Apr 28, 2021
@hoyosjs hoyosjs reopened this Apr 28, 2021
@ghost
ghost merged commit d8c3fb6 into dotnet:main Apr 29, 2021
@mmitche
mmitche deleted the remove-windows-pdbs branch February 9, 2022 18:53
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Automatically merge PR once CI passes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants