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

Make symbolsPath similar to default symbols path #48384

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Make symbolsPath similar to default symbols path #48384

merged 1 commit into from
Feb 18, 2021

Conversation

Anipik
Copy link
Contributor

@Anipik Anipik commented Feb 17, 2021

This is part of ongoing effort to move things towards dotnet pack.
Currently we put the symbols into a special folder packageOutputPath/symbols, but nuget pack doesnt provide any hook to change the symbols path so we are moving the symbols similar to the default behavior

@ghost
Copy link

ghost commented Feb 17, 2021

Tagging subscribers to this area: @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

This is part of ongoing effort to move things towards dotnet pack.
Currently we put the symbols into a special folder packageOutputPath/symbols, but nuget pack doesnt provide any hook to change the symbols path so we are moving the symbols similar to the default behavior

Author: Anipik
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer
Copy link
Member

ViktorHofer commented Feb 17, 2021

Curious, what's the ideal that we should aim for, i.e. snupkg? What is the default value of where symbol packages are currently stored? Don't know much about this which is why I'm asking these questions :)

@Anipik
Copy link
Contributor Author

Anipik commented Feb 17, 2021

What is the default value of where symbol packages are currently stored? Don't know much about this which is why I'm asking these questions :)

so dotnet pack when passed IncludeSymbols produces the nupkg and symbols.nupkg at the same path in output folder i.e. bin directory.
You can change the path to both of them but not separate one from another.
Historically, in the repo we have put the symbols in a child folder
eg packagesFolder
- symbols -> A.symbols.nupkg
- A.nupkg

after this change it will be
eg packagesFolder
-> A.nupkg
-> A.symbols.nupkg

Curious, what's the ideal that we should aim for, i.e. snupkg?

yes i think that we have separate issue for tracking that work. However, the paths will be the same for snupkg and symbols.nupkg

@safern
Copy link
Member

safern commented Feb 17, 2021

after this change it will be
eg packagesFolder
-> A.nupkg
-> A.symbols.nupkg

That should be fine, that is how it is in other repos if I remember correctly. We should just make sure that if we don't add the underlying symbols folder, that we exclude those from package testing, and from publishing the nupkgs.

Curious, what's the ideal that we should aim for, i.e. snupkg?

I don't remember why we haven't used snupkg but here is a tracking issue in arcade to support this: dotnet/arcade#1959

@Anipik
Copy link
Contributor Author

Anipik commented Feb 18, 2021

That should be fine, that is how it is in other repos if I remember correctly. We should just make sure that if we don't add the underlying symbols folder, that we exclude those from package testing, and from publishing the nupkgs.

verified, these projects are already getting excluded from the package testing as there are no corresponding package reports for these packages.

@ViktorHofer
Copy link
Member

Approving assuming that you validated that official builds pick the symbol packages up and publish them correctly.

@Anipik
Copy link
Contributor Author

Anipik commented Feb 18, 2021

Approving assuming that you validated that official builds pick the symbol packages up and publish them correctly.

builds are picking up the symbols and are publishing them using darc https://dev.azure.com/dnceng/internal/_build/results?buildId=1001388&view=results

@Anipik Anipik merged commit 229a755 into dotnet:master Feb 18, 2021
@ViktorHofer ViktorHofer added this to the 6.0.0 milestone Feb 18, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 2021
@Anipik Anipik deleted the symbols branch April 30, 2021 01:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants