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

Disable windows pdb verification by default #7315

Merged
2 commits merged into from
Apr 29, 2021

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Apr 28, 2021

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.
@@ -204,41 +212,41 @@ function CheckSymbolsAvailable {
$DupedSymbols = 0

Get-ChildItem "$InputPath\*.nupkg" |
ForEach-Object {
Copy link
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
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
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
Copy link

ghost commented Apr 28, 2021

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