Setting up a build server in an air gapped environment (no internet connection).
There are tools for mirroring but I'm wondering if there are any licensing issues mirroring the entire NuGet repository (https://api.nuget.org).
Also, does anyone know the size of the entire repo?
The location of the service index for nuget.org is https://api.nuget.org/v3/index.json .
What is NuGet? NuGet is the package manager for . NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.
Developers describe NuGet as "The package manager for . NET". A free and open-source package manager designed for the Microsoft development platform. It is also distributed as a Visual Studio extension. On the other hand, ProGet is detailed as "A Package management system, Package your Applications and Components".
I can't speak to the legality of mirroring the NuGet repository.
I used NuGet.CatalogReader
to get information on every package in the repository. I then made a HEAD
request for the .nupkg
URL to determine the Content-Length
. I summed the size of each package and came up with ~2.36 TB. This should give you a good ballpark figure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With