bagetter / BaGetter

A lightweight NuGet and symbol server
https://www.bagetter.com
MIT License
166 stars 38 forks source link

Symbols fail to upload when using Azure Table as database #159

Closed mbaksh01 closed 2 days ago

mbaksh01 commented 1 week ago

Describe the bug

When uploading a package with symbols present, the package upload succeeds but the symbols fail to upload with a 404 Not Found status code.

To Reproduce

Steps to reproduce the behaviour:

  1. Using the latest version of BaGet
  2. When uploading any package with a symbol file present in the same directory.
  3. You get a 404 Not Found from the Nuget CLI.

Expected behaviour

Symbols should upload successfully.

Screenshots

image

Additional context

After debugging this issue seems to be coming from the TablePackageDatabase not using a lowered version of the package ID (see below):

https://github.com/bagetter/BaGetter/blob/7c9f535e7bd6f49b49335de07e3aaa6ee3a0ecf6/src/BaGetter.Azure/Table/TablePackageDatabase.cs#L161

Regenhardt commented 2 days ago

Fixed in 1.4.4