themotleyfool / nuget.lucene Goto Github PK
View Code? Open in Web Editor NEWThis project forked from chriseldredge/nuget.lucene
NuGet package server powered by Lucene.Net.Linq
License: Apache License 2.0
This project forked from chriseldredge/nuget.lucene
NuGet package server powered by Lucene.Net.Linq
License: Apache License 2.0
The project is built against .NET 4.0, but still uses language features from .NET 4.5 (async). What's the point of having this project there when it cannot even compile on 4.0?
When mirroring is enabled, exceptions from the mirror should be logged but not cause failures. If a mirror is unreliable or down it should not prevent NuGet.Lucene from serving local packages.
UnhandledExceptionLogger System.Data.Services.IDataService.InternalHandleException System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: An error occurred while processing this request.
---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request.
---> System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">An error occurred while processing this request.</m:message><m:innererror><m:message>An error occurred while executing the command definition. See the inner exception for details.</m:message><m:type>System.Data.EntityCommandExecutionException</m:type><m:stacktrace>
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
at System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.IEnumerable.GetEnumerator()
at QueryInterceptor.QueryTranslator`1.System.Collections.IEnumerable.GetEnumerator()
at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable)
at System.Data.Services.QueryResultInfo.MoveNext()
at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService, IODataResponseMessage responseMessage)
at System.Data.Services.DataService`1.HandleRequest()</m:stacktrace><m:internalexception><m:message>Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.</m:message><m:type>System.Data.SqlClient.SqlException</m:type><m:stacktrace> at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at Glimpse.Ado.AlternateType.GlimpseDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)</m:stacktrace></m:internalexception></m:innererror></m:error>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery`1.Execute()
at System.Data.Services.Client.DataServiceQuery`1.ExecuteInternal()
at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)
--- End of inner exception stack trace ---
at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)
at NuGet.DataServiceQueryWrapper`1.<GetAll>d__7.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NuGet.Lucene.Web.Models.MirroringPackageRepository.FindPackagesByIdInOrigin(String id)
at NuGet.Lucene.Web.Models.MirroringPackageRepository.FindPackagesById(String id)
at NuGet.Lucene.Web.DataServices.PackageDataService.FindPackagesById(String id)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation(ServiceOperation serviceOperation, Object[] parameters)
at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)
at System.Data.Services.RequestUriProcessor.CreateSegments(String[] segments, IDataService service)
at System.Data.Services.RequestUriProcessor.ProcessRequestUri(Uri absoluteRequestUri, IDataService service)
at System.Data.Services.DataService`1.HandleRequest()
In cases where users are authenticated via NTLM, it should be possible to choose arbitrary role names instead of the ones compiled into the code.
Is it possible to index and search asynchronously? Like async Task Index() then use the await keyword? Can't find any sample online. Or do I need to use a contrib for this? Thanks.
The "Language" tag in a nuspec is used by the NuGet client to decide if a certain package is a satellite package (ie. it contains .resource.dll files that need to be copied to the original package's bin folder). The client decides this based on the information provided by the server during a query, not the nuspec file in the downloaded package (arguably a NuGet bug, but the server fix is a lot simpler...).
The DataServicePackage needs to provide a Language tag for satellite package installations to work. I think this language tag also needs to be stored in the Lucene Index to be able to fetch it during a query (although it doesn't need to be indexed)
We have a Klondike nuget server running 2.0.0 locally. This system runs with authentication enabled on the web-site. We stood up an additional Klondike 2.0.0 instance to mirror that nuget feed in another geography. The mirror can enumerate packages from the source but fails to respond to a 401 auth challenge when downloading any discovered packages.
It appears this is because of the use of System.Net.Http.HttpClient in the LucenePackageRepository of the NuGet.Lucene project. Making the following change has cleared up the problem:
protected virtual System.Net.Http.HttpClient CreateHttpClient() { return new System.Net.Http.HttpClient(); }
Changed to:
protected virtual System.Net.Http.HttpClient CreateHttpClient() { return new System.Net.Http.HttpClient(new System.Net.Http.HttpClientHandler() { UseDefaultCredentials = true }); }
Unfortunately Visual Studio 2015 calls a slightly different URL to retrieve NuGet packages.
http://localhost:9001/api/odata/Packages(Id='DevExpress.Web.ASPxSpreadsheet',Version='14.2.7.0')/Id
The /Id
suffix is the part which confuses me a little bit.
Hi there- we've had a couple of reports of people being unable to connect Octopus 2.0 to their NuGet.Lucene/Klondike servers.
It seems to be an environment-specific problem, the code "works on my machine" with various versions :)
We're a bit unsure of how to extract any diagnostic info that would help with debugging, I so thought I'd drop this here in case it rings any bells or you can point us in the right direction?
The query we execute is:
var searchTerm = packageId.ToLower().Trim();
var pks = repository.GetPackages()
.Where(p => p.Id.ToLower().Contains(searchTerm) || (p.Title != null && p.Title.ToLower().Contains(searchTerm)))
.Where(p => p.IsLatestVersion || p.IsAbsoluteLatestVersion)
.Take(take)
.ToList();
We've tweaked the query a few times and still get similar errors.
Using what I think is the correct feed URL gets:
Unhandled error on request: http://localhost:15951/api/feeds/feeds-33/packages?partialMatch=true&take=10 : An error occurred while processing this request.
System.InvalidOperationException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-AU">An error occurred while processing this request.</message>
</error>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery`1.Execute()
at System.Data.Services.Client.DataServiceQuery`1.ExecuteInternal()
at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)
...
Using the root host/port URL gives:
Unhandled error on request: http://localhost:15951/api/feeds/feeds-33/packages?partialMatch=true&take=10 : Invalid URI: Invalid port specified.
System.UriFormatException: Invalid URI: Invalid port specified.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Data.Services.Client.DataServiceContext.GetMetadataUri()
at NuGet.DataServiceContextWrapper..ctor(Uri serviceRoot)
at NuGet.DataServicePackageRepository.GetPackages()
Any tips or pointers gratefully accepted!
VS2017 package manager sends the following query to a nuget repository:
Search()?$filter=IsLatestVersion&searchTerm=%27%27&targetFramework=%27net462%27&includePrerelease=false&$skip=0&$top=26
In the following code in the PackagesODataController removes the filter which results in an almost empty result list.
if (!string.IsNullOrWhiteSpace(targetFramework))
{
targetFrameworks = targetFramework.Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries).Distinct();
options = RemoveFilter(options);
}
Is there any reason for this?
WebApi now includes built in support for CORS (http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api).
The custom CORS implementation should be removed if possible.
The latest built packages (https://www.nuget.org/packages/NuGet.Lucene.Web/2.0.0) do not include any dependencies. This will cause errors when attempting to install and use them.
Hi Chris et. al.,
We're looking at using a back-port of NuGet.Lucene (the core, not the web API) to index and consume local packages in Octopus Server.
We've patched the current NuGet.Lucene version to run on .NET 4.0 builds of its dependencies, and to use Microsoft.Bcl.Async to support async
usage etc. This all seems to work well :)
Are you considering supporting .NET 4.0 any further in this project? If not we're completely happy looking after a fork ourselves - just curious in case there were any other plans, or if you think it would be worth putting an updated 4.0 package or repo out there for others.
Anyway, just thought we'd drop you a line. Integrating the library was a pleasure, looking forward to seeing what we can build on it.
Cheers,
Nick
Hi there - just having a shot at getting Octopus onto the official 4.0 build (2.6.0 from NuGet).
I've done my best to clean out everything locally from our original port, but it is possible I've got some gunk hanging around somewhere.
It looks from this exception though that perhaps the .NET 4.0 build of the CSPROJ is referencing the .NET 4.5 versions of the Lucene.Net dependencies?
System.MissingMethodException occurred
HResult=-2146233069
Message=Method not found: 'Lucene.Net.Linq.LuceneDataProviderSettings Lucene.Net.Linq.LuceneDataProvider.get_Settings()'.
Source=NuGet.Lucene
StackTrace:
at NuGet.Lucene.LuceneRepositoryConfigurator.InitializeLucene()
at NuGet.Lucene.LuceneRepositoryConfigurator.Initialize()
InnerException:
The correct (.NET 4.0) versions of the dependencies are getting installed via NuGet - all the local CSPROJ references look good.
Will try creating a minimal repro if this isn't something easy to spot on your end.
Cheers! :)
Instead of using owner from package metadata, the user uploading the package should be tracked, perhaps in addition.
I've created an empty ASP.NET application, added your NuGet package and deployed it to IIS.
The service works fine, available packages will be listed using nuget.exe list
.
But when I'm trying to push a new package using NuGet.exe push "..\bin\Packages\CHG.iCLASSFW.Core.15.2.1.10.nupkg" -s http://bobthebuilder/packages2/ mykey
the service requests for a username and password.:
Please provide credentials for: http://bobthebuilder/packages2/api/odata/
I've already set the app setting <add key="NuGet.Lucene.Web:allowAnonymousPackageChanges" value="true"/>
.
What I'm doing wrong?
We're using Klondike (build 92) for our nuget server. We have a URL that is used by all the developers to pull packages, symbols and sources from Klondike. And we have a different URL for the build server to do the NuGet push to (same IIS website though, just a different DNS name). This is done so that we can have both a production and a test build environment which internally to the environments look the same but still go to different machines.
However we have now discovered that the URL for the symbol server that is embedded in the PDBs indexed by Klondike is the same as the NuGet push URL and not the URL of the website. Is there anyway we can configure Klondike to use the URL of the IIS website instead of the NuGet push URL?
Howdy! Over in Octopus we've had a couple of separate reports that our package repository (based on NuGet.Lucene) stops working when the last package with a particular ID is deleted, and won't come back to life until the process is restarted:
I'm investigating at the moment, just getting started - my guess via reading the NuGet.Lucene and NuGet source code is that perhaps the issue manifests when the indexer is traversing a directory at the same time as deletion of that directory is attempted - but I don't have much data yet and it is equally likely we're doing something silly on our side of things.
Just thought I'd post this here in case it rings any bells. If not, I'll follow up as soon as I've tracked it down :)
Cheers,
Nick
Can a config setting be added to stop anonymous access to list / view packages? An API key would then be required to access packages.
I am happy to do a PR at some point to add this.
Hello,
I try to install the nuget package for the web server but I have the following issue:
Install-Package : Updating 'Microsoft.AspNet.WebApi.WebHost 5.0.0' to 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0' failed. Unable to find a version of
'AspNet.WebApi.HtmlMicrodataFormatter' that is compatible with 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0'.
At line:1 char:1
- CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
- FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Regards,
BEnjamin V
We're using OctoDeploy for site deployment along with Klondike to serve our NuGet site packages. We have upwards of 9 sites we're deploying, each churning out about 5-8 builds a day. This all adds up to about 150 packages within NuGet on average.
We're currently using the filesystem package watcher to keep the package listing up to date (as we publish the packages to a share FS). The indexing takes 30-60 minutes everytime it needs to be indexed. I've tried to keep IIS from shutting the app pool down so that the indexer stays on, but it seems to require a re-index every few hours, causing our ability to deploy latest packages to grind to a halt while we wait for the index to update.
This setting is leftover from NuGet.Server and can no longer be disabled. It should be removed from code and readme.
The behavior of NuGetGallery is that IsLatestVersion
is true for the highest non-pre-release version of a package, whereas IsAbsoluteLatestVersion
is true for the highest version (regardless of pre-release status).
NuGet.Lucene should behave in the same way.
We use Klondike to provide a package feed for an Octopus server, in addition to regular NuGet packages.
Searches and fetches against the NuGet feed seem extremely slow, even with only a few thousand packages stored. Octopus frequently takes several minutes to find package versions. During this time, the Klondike process is maxing out the CPU.
Applying the Visual Studio standalone profiler reveals that most of the time (97%) is spent in LuceneQueryExecutorBase.EnumerateHits (strictly, in MoveNext()). Applying Luke v4 to the index reveals a huge number of stored fields, one for each file in the package.
Our Octopus packages are not large. Most are significantly smaller than 100MB and contain only a few thousand files.
The issue appears to be that the LucenePackage object's properties are individually stored in the index. Rehydrating an object from many stored fields is a slow operation in Lucene. Our own approach to handling this sort of thing is to use a single JSON field to store the object and keep the other fields index-only. I'm not sure how this mght translate to Lucene.Net.Linq's way of doing things though.
Lucene will perform better if user documents are in a separate index from package documents. This will allow queries to avoid including a filter for document type.
While I can see activity on the project, the latest package that can be downloaded from nuget.org is dated March, 2014. That version has an issue where the VS UI calls $batch with the POST method (when a large amount of packages are involved), and a 405 is returned.
Seems the code has been fixed, but I was wondering if you had any plans to repackage the new code for fetch on nuget.org.
I noticed Nuget.Lucene.Web has dependency of Nuget.Core >= 2.11.1, but Nuget.Lucene which Nuget.Lucene.Web depends on has a more strict dependency to be exactly 2.11.1. Is there a reason behind this?
This prevents updating Nuget.Core version.
Thanks
When GetUpdates() is invoked from the Visual Studio Package Manager GUI to look for available updates, and no version constraint is specified by the client, GetUpdates() substitutes its own VersionSpec that is too restrictive to find updates.
The VersionSpec should include packages higher than the current version, but currently only includes exactly the current version, effectively guaranteeing no newer versions can be found.
See also https://github.com/themotleyfool/Klondike/issues/31
Project depends on Ninject.Web.WebApi-RC which is two-years old and unsupported (requires old WebApi 4). So install-package fails.
PM> Install-Package NuGet.Lucene.Web
Attempting to resolve dependency 'NuGet.Lucene (≥ 2.9.4 && < 3.0)'.
Attempting to resolve dependency 'Common.Logging (≥ 2.1.2 && < 3.0)'.
Attempting to resolve dependency 'Lucene.Net (≥ 3.0 && < 3.6)'.
Attempting to resolve dependency 'SharpZipLib (≥ 0.86.0)'.
Attempting to resolve dependency 'Lucene.Net.Linq (≥ 3.2.55 && < 4.0)'.
Attempting to resolve dependency 'Remotion.Linq (≥ 1.13.183 && < 2.0)'.
Attempting to resolve dependency 'NuGet.Core (≥ 2.8 && < 2.9)'.
Attempting to resolve dependency 'Microsoft.Web.Xdt (≥ 1.0.0)'.
Attempting to resolve dependency 'Rx-Core (≥ 2.2 && < 3.0)'.
Attempting to resolve dependency 'Rx-Interfaces (≥ 2.2.0)'.
Attempting to resolve dependency 'Rx-Linq (≥ 2.2 && < 3.0)'.
Attempting to resolve dependency 'Rx-PlatformServices (≥ 2.2 && < 3.0)'.
Attempting to resolve dependency 'AspNet.WebApi.HtmlMicrodataFormatter (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 5.0.0 && < 6.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 5.0.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 5.0.0)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.11)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.SystemWeb (≥ 2.0.1)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.Core (≥ 2.0.1)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.0)'.
Attempting to resolve dependency 'Owin (≥ 1.0)'.
Attempting to resolve dependency 'Microsoft.Owin (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Security (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Host.SystemWeb (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Cors (≥ 2.0.2)'.
Attempting to resolve dependency 'Microsoft.Owin (≥ 2.0.2)'.
Attempting to resolve dependency 'Microsoft.AspNet.Cors (≥ 5.0.0)'.
Attempting to resolve dependency 'Ninject.Extensions.Wcf (≥ 3.0.0.5)'.
Attempting to resolve dependency 'Ninject (≥ 3.0.0.0 && < 3.1.0.0)'.
Attempting to resolve dependency 'Ninject.Web.Common (≥ 3.0.0.0 && < 3.1.0.0)'.
Attempting to resolve dependency 'WebActivator (≥ 1.5)'.
Attempting to resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
Attempting to resolve dependency 'Ninject.Web.WebApi-RC (≥ 3.0.0.22)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi (≥ 4.0.20710.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 4.0.20710.0 && < 4.1)'.
Install-Package : Updating 'Microsoft.AspNet.WebApi.WebHost 5.0.0' to 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0' failed. Unable to find a version of 'AspNet.WebApi.HtmlMicrodataFormatter' that is compatible with 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0
'.
At line:1 char:1
+ Install-Package NuGet.Lucene.Web
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
If a package is automatically mirrored from a remote repository, the package metadata should include information including the origin repository and date when the package was mirrored.
System.InvalidOperationException: This operation is not supported for a relative URI.
at System.Uri.EnsureAbsoluteUri () [0x00000] in <filename unknown>:0
at System.Uri.get_Scheme () [0x00000] in <filename unknown>:0
at System.Uri.get_Parser () [0x00000] in <filename unknown>:0
at System.Uri.GetComponents (UriComponents components, UriFormat format) [0x00000] in <filename unknown>:0
at Microsoft.Data.OData.UriUtils.EnsureEscapedRelativeUri (System.Uri uri) [0x00000] in <filename unknown>:0
at Microsoft.Data.OData.Atom.ODataAtomSerializer.UriToUrlAttributeValue (System.Uri uri, Boolean failOnRelativeUriWithoutBaseUri) [0x00000] in <filename unknown>:0
at Microsoft.Data.OData.Atom.ODataAtomSerializer.UriToUrlAttributeValue (System.Uri uri) [0x00000] in <filename unknown>:0
at Microsoft.Data.OData.Atom.ODataAtomServiceDocumentSerializer.WriteServiceDocument (Microsoft.Data.OData.ODataWorkspace defaultWorkspace)
The repository is not accessable anymore after installing Update 1 for VS2015.
Error: The remote server returned an error: (503) Server Unavailable.
We are using the "official" nuget server and have out grown it, as you would expect.
Under the old way, we would push to http://nuget.mycompany.com/ and the feed came from http://nuget.mycompany.com/nuget/
Klondike's feed url would just be http://nuget.mycompany.com/...which would break a lot users and build scripts.
My preference is just swap old for new. Is there any way to run Klondike is some type of "legacy" mode to support the old path conventions for the feed?
Remove dependencies on System.Web to allow NuGet.Lucene.Web to work outside of IIS.
I've just stumbled upon a package which contains sources and symbols and is found on the nuget.org feed: Appccelerate.StateMachine 4.4.0
The following code in the PackagesController.PutPackage makes it impossible to publish that package:
if (package.HasSourceAndSymbols())
{
var response = Request.CreateResponse(HttpStatusCode.RedirectKeepVerb);
response.Headers.Location = new Uri(Url.Link(RouteNames.Symbols.Upload, null), UriKind.RelativeOrAbsolute);
return response;
}
As it's not clear from the nuget docs whether the package is publishable and you might rely on that feature I open this issue instead of sending a PR.
Kind regards
Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.