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

[NuGet Symbol Server] Add download symbols support to Package details page #6320

Merged
merged 5 commits into from
Aug 16, 2018

Conversation

shishirx34
Copy link
Contributor

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.

image

@@ -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>
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@diverdan92 - verify.

Copy link

@diverdan92 diverdan92 Aug 16, 2018

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@skofman1 skofman1 left a comment

Choose a reason for hiding this comment

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

:shipit:

@skofman1
Copy link
Contributor

Probably should get a different icon. Looks great otherwise!

@shishirx34 shishirx34 merged commit bc0954b into dev Aug 16, 2018
@shishirx34 shishirx34 deleted the symbol-view branch September 10, 2018 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants