NuGet私人提要不更新DownloadCount [英] NuGet private feed not updating DownloadCount

查看:97
本文介绍了NuGet私人提要不更新DownloadCount的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照本指南.

一切正常,我可以发布软件包,更新版本,下载它们等.唯一的问题是,无论我下载多少次,软件包的DownloadCount始终为0.

Everything is working perfectly and I can publish packages, update versions, download them etc. The only problem is that the DownloadCount of my packages is always 0 regardless of how many times I download it.

我下载了NuGet源,但找不到更新该值的地方.而且,nuget似乎没有使用任何数据库技术,因此提要可能只是根据需要从Packages文件夹的内容生成的.

I downloaded NuGet source but could not find a place where this value is updated. Moreover, nuget does not seem to use any DB technology so probably the feed is just generated on demand from the contents of the Packages folder.

是否有人知道这是一个已知问题,还是我的设置中存在问题,或者我是否应该向服务器添加一些代码以自己记录下载内容?

Does anyone have any idea if this is a known issue or if it's a problem in my setup or if I should just add some code to the server to record downloads myself?

谢谢!

推荐答案

基于NuGet.Server的网站只是一个前端,它将OData提要暴露在文件共享之上.它背后没有真正的数据库,也没有索引,审计,跟踪,度量或统计信息,或任何类似的东西.

NuGet.Server based web sites are simply a front-end exposing an OData feed on top of a file share. There's no real database behind it, no indexing, no auditing, tracing, metrics or statistics, or any of that kind of stuff.

您可以自己构建它,或查看其他替代方法,例如 MyGet ,ProGet,Artifactory等.

You could build it yourself, or take a look at alternatives such as MyGet, ProGet, Artifactory, etc.

这篇关于NuGet私人提要不更新DownloadCount的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆