Reputation: 3076
How to download entire conan-center and bintray packages to put in a central server of an organisation which has air gapped LAN?
I do not understand where to start? Can conan download recipes recursively?
Upvotes: 1
Views: 687
Reputation: 5972
It is not possible to download the complete ConanCenter, it is just too big to be downloaded (several hundreds of packages, with a few versions each, and each version can contain up to 100 different binaries).
You can run your own Artifactory (https://docs.conan.io/en/latest/uploading_packages/artifactory_ce.html), the CE edition is completely free. You could install the packages that you need first from ConanCenter, to a computer. Then plug that computer in your LAN, configure the remote to point to that Artifactory CE, and upload everything.
If you have such security requirements, I would probably recommend forking the https://github.com/conan-io/conan-center-index repository, and building the binaries yourself, in your own computers and platforms, then upload them to your LAN Artifactory. In that way you have complete control over your binaries, can re-build at will if necessary too.
Upvotes: 5