-
Notifications
You must be signed in to change notification settings - Fork 1.4k
nuget: fix PR missing commits in message when using private registry #5002
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e92a424
get repo URL from private nuget source
jakecoffman 343c674
better error handling
jakecoffman b06ca24
remove debug puts
jakecoffman 1d51d3a
reduce cyclomatic complexity
jakecoffman 3aed31a
Merge branch 'main' into jakecoffman/nuget-repo-from-private
jakecoffman 6453a08
test search result fallback method
jakecoffman dfeeab3
fix lint
jakecoffman 21e6328
add failure test cases
jakecoffman 01a638f
lint
jakecoffman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,192 @@ | ||
| { | ||
| "version": "3.0.0", | ||
| "resources": [ | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/query", | ||
| "@type": "SearchQueryService", | ||
| "comment": "Query endpoint of NuGet Search service (primary)" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/query", | ||
| "@type": "SearchQueryService", | ||
| "comment": "Query endpoint of NuGet Search service (secondary)" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (primary)" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (secondary)" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/", | ||
| "@type": "SearchGalleryQueryService/3.0.0-rc", | ||
| "comment": "Azure Website based Search Service used by Gallery (primary)" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/", | ||
| "@type": "SearchGalleryQueryService/3.0.0-rc", | ||
| "comment": "Azure Website based Search Service used by Gallery (secondary)" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-semver1/", | ||
| "@type": "RegistrationsBaseUrl", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3-flatcontainer/", | ||
| "@type": "PackageBaseAddress/3.0.0", | ||
| "comment": "Base URL of where NuGet packages are stored, in the format https://api.nuget.org/v3-flatcontainer/{id-lower}/{version-lower}/{id-lower}.{version-lower}.nupkg" | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/api/v2", | ||
| "@type": "LegacyGallery" | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/api/v2", | ||
| "@type": "LegacyGallery/2.0.0" | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/api/v2/package", | ||
| "@type": "PackagePublish/2.0.0" | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/api/v2/symbolpackage", | ||
| "@type": "SymbolPackagePublish/4.9.0", | ||
| "comment": "The gallery symbol publish endpoint." | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.0.0-rc", | ||
| "comment": "Query endpoint of NuGet Search service (primary) used by RC clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.0.0-rc", | ||
| "comment": "Query endpoint of NuGet Search service (secondary) used by RC clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.5.0", | ||
| "comment": "Query endpoint of NuGet Search service (primary) that supports package type filtering" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.5.0", | ||
| "comment": "Query endpoint of NuGet Search service (secondary) that supports package type filtering" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.0.0-rc", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (primary) used by RC clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.0.0-rc", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (secondary) used by RC clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.5.0", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (primary) that supports package type filtering" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.5.0", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (secondary) that supports package type filtering" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-semver1/", | ||
| "@type": "RegistrationsBaseUrl/3.0.0-rc", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored used by RC clients. This base URL does not include SemVer 2.0.0 packages." | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/packages/{id}/{version}/ReportAbuse", | ||
| "@type": "ReportAbuseUriTemplate/3.0.0-rc", | ||
| "comment": "URI template used by NuGet Client to construct Report Abuse URL for packages used by RC clients" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-semver1/{id-lower}/index.json", | ||
| "@type": "PackageDisplayMetadataUriTemplate/3.0.0-rc", | ||
| "comment": "URI template used by NuGet Client to construct display metadata for Packages using ID" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-semver1/{id-lower}/{version-lower}.json", | ||
| "@type": "PackageVersionDisplayMetadataUriTemplate/3.0.0-rc", | ||
| "comment": "URI template used by NuGet Client to construct display metadata for Packages using ID, Version" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.0.0-beta", | ||
| "comment": "Query endpoint of NuGet Search service (primary) used by beta clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/query", | ||
| "@type": "SearchQueryService/3.0.0-beta", | ||
| "comment": "Query endpoint of NuGet Search service (secondary) used by beta clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-usnc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.0.0-beta", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (primary) used by beta clients" | ||
| }, | ||
| { | ||
| "@id": "https://azuresearch-ussc.nuget.org/autocomplete", | ||
| "@type": "SearchAutocompleteService/3.0.0-beta", | ||
| "comment": "Autocomplete endpoint of NuGet Search service (secondary) used by beta clients" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-semver1/", | ||
| "@type": "RegistrationsBaseUrl/3.0.0-beta", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored used by Beta clients. This base URL does not include SemVer 2.0.0 packages." | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/packages/{id}/{version}/ReportAbuse", | ||
| "@type": "ReportAbuseUriTemplate/3.0.0-beta", | ||
| "comment": "URI template used by NuGet Client to construct Report Abuse URL for packages" | ||
| }, | ||
| { | ||
| "@id": "https://www.nuget.org/packages/{id}/{version}?_src=template", | ||
| "@type": "PackageDetailsUriTemplate/5.1.0", | ||
| "comment": "URI template used by NuGet Client to construct details URL for packages" | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-gz-semver1/", | ||
| "@type": "RegistrationsBaseUrl/3.4.0", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL does not include SemVer 2.0.0 packages." | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-gz-semver2/", | ||
| "@type": "RegistrationsBaseUrl/3.6.0", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages." | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/registration5-gz-semver2/", | ||
| "@type": "RegistrationsBaseUrl/Versioned", | ||
| "clientVersion": "4.3.0-alpha", | ||
| "comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages." | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3-index/repository-signatures/4.7.0/index.json", | ||
| "@type": "RepositorySignatures/4.7.0", | ||
| "comment": "The endpoint for discovering information about this package source's repository signatures." | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3-index/repository-signatures/5.0.0/index.json", | ||
| "@type": "RepositorySignatures/5.0.0", | ||
| "comment": "The endpoint for discovering information about this package source's repository signatures." | ||
| }, | ||
| { | ||
| "@id": "https://api.nuget.org/v3/catalog0/index.json", | ||
| "@type": "Catalog/3.0.0", | ||
| "comment": "Index of the NuGet package catalog." | ||
| } | ||
| ], | ||
| "@context": { | ||
| "@vocab": "http://schema.nuget.org/services#", | ||
| "comment": "http://www.w3.org/2000/01/rdf-schema#comment" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.