Open joelverhagen opened 6 years ago
@luisabreu, I've moved this issue to the NuGetGallery repository since this is where we track issues related to NuGet.Server.
ok, thanks @joelverhagen. If you need anymore info, just let me know.
I was unable to reproduce this issue. I performed the steps you provided.
Push command:
PS C:\Users\jver\Downloads> NuGet.exe push Test.Utility.4.7.0-preview1-4842.symbols.nupkg -apikey foobar -source http://localhost:4488/nuget
Pushing Test.Utility.4.7.0-preview1-4842.symbols.nupkg to 'http://localhost:4488/nuget'...
PUT http://localhost:4488/nuget/
Created http://localhost:4488/nuget/ 308ms
Your package was pushed.
Server traces during push command
Info: Start adding package Test.Utility 4.7.0-preview1-4842.
Info: Start rebuilding package store...
Info: Start reading packages from disk...
Info: Finished reading packages from disk.
Info: Start adding packages from drop folder.
Info: Finished adding packages from drop folder.
Info: Finished rebuilding package store.
Info: Finished adding package Test.Utility 4.7.0-preview1-4842.
Verbose: File system changed. File: Test.Utility - Change: Changed
Verbose: File system changed. File: Test.Utility\4.7.0-preview1-4842 - Change: Changed
> dir /s /b D:\trash\2018-01-19\WebApplication1\WebApplication1\App_Start D:\trash\2018-01-19\WebApplication1\WebApplication1\bin D:\trash\2018-01-19\WebApplication1\WebApplication1\Default.aspx D:\trash\2018-01-19\WebApplication1\WebApplication1\favicon.ico D:\trash\2018-01-19\WebApplication1\WebApplication1\obj D:\trash\2018-01-19\WebApplication1\WebApplication1\Packages D:\trash\2018-01-19\WebApplication1\WebApplication1\packages.config D:\trash\2018-01-19\WebApplication1\WebApplication1\Properties D:\trash\2018-01-19\WebApplication1\WebApplication1\Web.config D:\trash\2018-01-19\WebApplication1\WebApplication1\Web.Debug.config D:\trash\2018-01-19\WebApplication1\WebApplication1\Web.Release.config D:\trash\2018-01-19\WebApplication1\WebApplication1\WebApplication1.csproj D:\trash\2018-01-19\WebApplication1\WebApplication1\WebApplication1.csproj.user D:\trash\2018-01-19\WebApplication1\WebApplication1\App_Start\NuGetODataConfig.cs D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\de D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\es D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\fr D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\it D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ja D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ko D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Data.Edm.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Data.Edm.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Data.OData.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Data.OData.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Web.Infrastructure.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Microsoft.Web.XmlTransform.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Newtonsoft.Json.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\Newtonsoft.Json.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\NuGet.Core.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\NuGet.Server.Core.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\NuGet.Server.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\NuGet.Server.V2.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ru D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Net.Http.Formatting.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Net.Http.Formatting.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Spatial.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Spatial.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.OData.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.OData.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.WebHost.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.WebHost.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\System.Web.Http.xml D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\WebActivatorEx.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\WebApplication1.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\WebApplication1.dll.config D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\WebApplication1.pdb D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hans D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hant D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\de\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\de\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\de\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\es\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\es\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\es\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\fr\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\fr\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\fr\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\it\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\it\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\it\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ja\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ja\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ja\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ko\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ko\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ko\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csc.exe D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csc.exe.config D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csc.rsp D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csi.exe D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csi.exe.config D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\csi.rsp D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CodeAnalysis.CSharp.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CodeAnalysis.CSharp.Scripting.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CodeAnalysis.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CodeAnalysis.Scripting.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CodeAnalysis.VisualBasic.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.CSharp.Core.targets D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.DiaSymReader.Native.amd64.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.DiaSymReader.Native.x86.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.VisualBasic.Core.targets D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\Microsoft.Win32.Primitives.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.AppContext.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Collections.Immutable.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Console.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Diagnostics.FileVersionInfo.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Diagnostics.Process.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Diagnostics.StackTrace.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.IO.Compression.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.IO.FileSystem.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.IO.FileSystem.DriveInfo.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.IO.FileSystem.Primitives.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.IO.Pipes.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Reflection.Metadata.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.AccessControl.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Claims.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Cryptography.Algorithms.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Cryptography.Encoding.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Cryptography.Primitives.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Cryptography.X509Certificates.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Security.Principal.Windows.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Text.Encoding.CodePages.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Threading.Thread.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.ValueTuple.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Xml.ReaderWriter.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Xml.XmlDocument.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Xml.XPath.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\System.Xml.XPath.XDocument.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\vbc.exe D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\vbc.exe.config D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\vbc.rsp D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\VBCSCompiler.exe D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\roslyn\VBCSCompiler.exe.config D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ru\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ru\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\ru\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hans\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hans\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hans\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hant\Microsoft.Data.Edm.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hant\Microsoft.Data.OData.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\bin\zh-Hant\System.Spatial.resources.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\TempPE D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.csproj.CopyComplete D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.csproj.CoreCompileInputs.cache D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.csproj.FileListAbsolute.txt D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.csprojResolveAssemblyReference.cache D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.dll D:\trash\2018-01-19\WebApplication1\WebApplication1\obj\Debug\WebApplication1.pdb D:\trash\2018-01-19\WebApplication1\WebApplication1\Packages\jver-d-2.cache.bin D:\trash\2018-01-19\WebApplication1\WebApplication1\Packages\Readme.txt D:\trash\2018-01-19\WebApplication1\WebApplication1\Properties\AssemblyInfo.cs
Could you add the following trace code to your app start-up, e.g. NuGetODataConfig
class, Startup
method? You can use an absolute path if you want.
Trace.Listeners.Add(new TextWriterTraceListener(HostingEnvironment.MapPath("~/NuGet.Server.log")));
Trace.AutoFlush = true;
Hello again.
Here's what I'm seeing now:
Is this the expected behavior?
Thanks
@luisabreu, yes this is expected behavior. NuGet.Server does not support treating symbol packages as anything but normal packages. This, by the way, is just like NuGet.org. You can push a symbol package to NuGet.org but it is consider to be a normal package with that same ID and version.
What is the desired behavior in your case? How would you like the normal (non-symbol) and symbol package to coexist?
I may not be the original asker, but what I would love is for both packages to live side-by-side and download together. Guessing that is beyond the scope of just the NuGet.Server code, though.
That said, at least we can stand up a second server exclusively for symbols. A little extra overhead on all sides, but gets the job done.
I'm facing the same issue.
it would be great, when pushing a symbols.nukpg that it coexists beside the normal packages in myserver:81/nuget/symbols or something like that
@luisabreu commented on Wed Jan 17 2018
Details about Problem
Nuget.server: 3.0.2
Detailed repro steps so we can see the same problem
Even though the cmd says that the package was pushed, the truth is that it's not listed in the feed (nor is it added to the packages folder).
@PatoBeltran commented on Thu Jan 18 2018
@joelverhagen could you please take a look at this nuget.server issue?