question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help needed Sleet/Nuget.exe

See original GitHub issue

Hi

I have created a (Sleet) azure feed (without sleet.exe but with sleetlib using dotnet core 2.0) the feed should be available so anyone can inspect/reproduce that: https://sitsfeed.blob.core.windows.net/sleet/index.json

using nuget.exe (in two different versions) i get always the same result:

command executed: nuget.exe list -verbosity detailed -source https://sitsfeed.blob.core.windows.net/sleet/index.json

expected: a list of packages (there should be one package there)

Results:

NuGet Version: 4.3.0.4406 WARNING: This version of nuget.exe does not support listing packages from package source ‘https://sitsfeed.blob.core.windows.net/sleet/index.json’. No packages found.

NuGet Version: 4.4.0.4475 WARNING: This version of nuget.exe does not support listing packages from package source ‘https://sitsfeed.blob.core.windows.net/sleet/index.json’. No packages found.

inspecting the feed with a browser i can see:

index.json returns:

{"version":"3.0.0","sleet:version":"1.0.0","resources":[{"@id":"https://sitsfeed.blob.core.windows.net/sleet/sleet.settings.json","@type":"http://schema.emgarten.com/sleet#SettingsFile/1.0.0","comment":"Sleet feed settings."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/catalog/index.json","@type":"Catalog/3.0.0","comment":"Catalog service."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/autocomplete/query","@type":"SearchAutocompleteService/3.0.0-beta","comment":"Powershell autocomplete."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/search/query","@type":"SearchQueryService/3.0.0-beta","comment":"Static package list in search result form."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/sleet.packageindex.json","@type":"http://schema.emgarten.com/sleet#PackageIndex/1.0.0","comment":"Sleet package index."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/registration/","@type":"RegistrationsBaseUrl/3.4.0","comment":"Package registrations used for search and packages.config."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/","@type":"ReportAbuseUriTemplate/3.0.0","comment":"Report abuse template."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/flatcontainer/","@type":"PackageBaseAddress/3.0.0","comment":"Packages used by project.json"},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/symbols/packages/index.json","@type":"http://schema.emgarten.com/sleet#SymbolsPackageIndex/1.0.0","comment":"Packages indexed in the symbols feed."},{"@id":"https://sitsfeed.blob.core.windows.net/sleet/symbols/","@type":"http://schema.emgarten.com/sleet#SymbolsServer/1.0.0","comment":"Symbols server containing dll and pdb files."}],"@context":{"@vocab":"http://schema.nuget.org/services#","sleet":"http://schema.emgarten.com/sleet#","comment":"http://www.w3.org/2000/01/rdf-schema#comment"}}

packages/index.json returns the expected package (one)

{"packages":{"SQLiteExtensions":["1.2.0"]},"symbols":{}}

I’m not able to see the problem. What i’m doing wrong ?

regards Werner

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
emgartencommented, Nov 30, 2017

Closing this since I think it is answered. Let me know if you need anything else.

1reaction
emgartencommented, Nov 12, 2017

You are doing it right, the problem is that there currently is no v3 protocol for list in nuget.exe. When listing packages on nuget.org the v3 url redirects to the older v2 url.

The workaround for this is to read the package index that sleet creates to discover packages. https://sitsfeed.blob.core.windows.net/sleet/sleet.packageindex.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

SleetExe 5.1.3
Sleet is a static feed generator for NuGet package feeds. This package contains Sleet.exe, an alternative to the dotnet tool.
Read more >
Nuget.exe - IS there any way to download nuget package ...
1 Answer 1 ... Sleet is a static NuGet feed generator. Using it, you can generate files and use any web server to...
Read more >
NuGet Command-Line Interface (CLI) Reference
The NuGet Command Line Interface (CLI), nuget.exe , provides the full extent of NuGet functionality to install, create, publish, and manage ...
Read more >
Sleet Alternatives - .NET Package Management | LibHunt
Sleet. A static nuget feed generator for Azure Storage, AWS S3, and more. ... NET with support for NuGet packages and Git repositories....
Read more >
Hosting a NuGet Feed in PowerShell Universal
To publish a package, you can use the following Sleet command against a single NuGet package or a directory of packages. I published...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found