通过 Apache/http 服务器托管 NuGet 存储库
有什么方法可以在 Apache 或相关的 http 服务器上设置和托管 NuGet 存储库?我有想要提供的代码,结果我也有一个 apache 服务器。我知道我可以在某些公共场所发布内容,但我对自己的公共场所感到好奇。有什么想法吗?是否可以?
Is there any way that I can setup and host a NuGet repository on an Apache or related http server? I have code that I would like made available, and it turns out that I have an apache server as well. I know that there are public places that I could publish to, but I was curious about my own. Any ideas? Is it possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果你需要它,我用 php 做了一个小 nuget 服务器。它适用于带有 mod_rewrite 和 IIS 的 apache: http://www.kendar.org/?p =/dotnet/phpnuget :)
If you need it i made a little nuget server with php. It works on apache with mod_rewrite and IIS: http://www.kendar.org/?p=/dotnet/phpnuget :)
我最近也需要这个,并开始在 https://github.com/grenade/apache- 实现它nuget-repo
有一些限制,比如你还不能推动它(还?)。为此,它需要一些服务器端上传处理程序,这意味着选择 PHP、Node、Python 等技术,这会损害当前的简单性。我还没有在 NuGet api v3 支持方面做出任何努力。
目前,它依赖于其他一些复制过程来上传 .nupkg 文件并触发清单和 html 生成器。
I needed this recently too and have started implementing it at https://github.com/grenade/apache-nuget-repo
There are some limitations, like you can't push to it (yet?). To have that, it'd need some server side upload handler and that would mean picking a technology like PHP, Node, Python, etc which compromises the current simplicity. I also haven't made any effort yet around NuGet api v3 support.
Right now it relies on some other copy process uploading the .nupkg files and triggering the manifest and html generators.
没有什么可以阻止您创建一个在 Apache 上运行的 NuGet 服务器,但我认为当前没有任何可用的东西可以做到这一点。
命令行 nuget.exe 在 Mono 上运行,但我怀疑运行 ASP.NET NuGet 服务器是一个全新的游戏:-(
There's nothing stopping you come creating a NuGet server that runs on Apache, but I don't think there's anything currently available that'll do this.
The command-line nuget.exe runs on Mono, but I suspect getting the ASP.NET NuGet server running is a whole new ballgame :-(