-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for acting like a Chocolatey server #294
base: main
Are you sure you want to change the base?
Conversation
This includes rudimentary support for api v2 and OData. Lifted a lot of the core logic from https://github.com/ai-traders/BaGet. Created Legacy namespace and tried to keep everything contained, would prefer if Choco added nuget api v3 support.
Hi @jgagnaire |
Hi @rbicker ! I was using this patch with the following command: EDIT: |
Hi @jgagnaire this is great! I'm aiming to shut down my current chocolatey server in lieu of something I can run on Linux and BaGet was really simple to set up and well looks nice =) However I then ran into it not working with chocolatey. I am not using your patch in production and it's working very well. So long story short, @loic-sharma this appears to be a great start! What all other support would this theoretically need? list/search? perhaps some form of update unless that is basically handled by list/search. I wouldn't necessary bother with push as it's trivial to use the v3 api tools to handle a push with a separate tool. chocolatey integrates really well with Puppet for us though so I need it for that functionality. Anyway, I really just wanted to say thumbs up, this is working well. =D |
If anyone’s using this patch, |
We, the Chocolatey Team, are currently working on a new release of Chocolatey, which will include support for the NuGet V3 specification. This is currently available in a beta format, and it should allow you to use Baget and Chocolatey together. If anyone is interested in this, it would be great if you could take the beta for a spin, and let us know any feedback. Feedback can be provided here: Thanks! |
Cherry-picked Mizipzor's contributions from unmerged PR, and added support for 'choco install' command
Original description:
Added support for acting like a Chocolatey server.
This includes rudimentary support for api v2 and OData.
Lifted a lot of the core logic from https://github.com/ai-traders/BaGet.
Created Legacy namespace and tried to keep everything contained, would
prefer if Choco added nuget api v3 support.
Closes Issue(s)
#43
At least partially, OData queries can be very expressive, I dont know to what extent old nuget clients use it.
Motivation
Need it, and want to reuse the same server software between nuget and choco.