Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create and keep in sync a local nuget repository with only internally approved packages?

per internal policies I have to setup a local nuget repository that contains only the packages approved by internal committee.

I know how to setup a local nuget server and I also found how to download all packages from Nuget (http://weblogs.asp.net/jgalloway/archive/2011/02/02/downloading-a-local-nuget-repository-with-powershell.aspx), but what I'd need is a way to just download the packages that are approved with their dependencies, save them on my local server and then possibly keep them up do date when a new version comes out and it is "re-approved" internally.

Thank you

like image 255
CodeClimber Avatar asked Nov 10 '22 11:11

CodeClimber


1 Answers

This is exactly what ProGet was built for :)

ProGet is a private NuGet repository designed to manage both third-party and in-house libraries used as application dependencies. There's a free version of ProGet available that meets most organizational needs.

There are also other private repositories available, including MyGet, JFrog Artifactory, and Sona Nexus. Make sure to check out Taking NuGet to the Enterprise for other best practices in introducing NuGet in your organization.

(disclaimer: I work for Inedo)

like image 94
Karl Harnagy Avatar answered Jan 04 '23 02:01

Karl Harnagy