-
Notifications
You must be signed in to change notification settings - Fork 641
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
[NuGet Symbol Server] Add download symbols support to Package details page #6320
Conversation
src/NuGetGallery/Strings.resx
Outdated
@@ -949,4 +949,7 @@ If you would like to update the linked Microsoft account you can do so from the | |||
<value>The previous package version '{0}' is author signed but the uploaded package is unsigned. To avoid this warning, sign the package before uploading.</value> | |||
<comment>{0} is the previous package's normalized version.</comment> | |||
</data> | |||
<data name="SymbolsPackage_PackageNotAvailable" xml:space="preserve"> | |||
<value>No availabe symbol package found for ID {0} and version {1}.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please verify text with PM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diverdan92 - verify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this displayed? Otherwise, verified.
Although, should it be 'symbols package' since the packages can contain multiple symbols?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is displayed when you try to download via rest endpoint and its not available, or the latest uploaded symbol package is validating/failed validation/deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should get a different icon. Looks great otherwise! |
This PR adds support to download the snupkg from the package details page.
Addresses #5978 and #5970, also added tests.
The idea is to allow downloading a snupkg if the latest uploaded snupkg is "Available". If there is a newer uploaded snupkg that failed validations or still validating, no download allowed. This is taken care of in the download API and in the package details page view.