-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
This was reported in Conan as a question, but it would be good to put it in conan-center-index, maybe in a FAQ?
For Conan packages, you could proxy ConanCenter with an Artifactory remote repo, and clients will only connect to your Artifactory. But that doesn't bring automatically the full sources stored in other servers, like Github. If you need everything reference from ConanCenter under your own infrastructure, yes, the way would probably be:
- Fork conan-center-index recipes repo
- Get the sources stored in
conandata.ymlfiles. Upload them to an Artifactory generic repo. - Replace the
conandata.ymlurl with the new one pointing to Artifactory generic repo. - Create and upload the package to Artifactory.
The good thing is that this should be relatively simple to automate, as the information is structured in conandata.yml and along the conan-center-index repo, so keeping an ordered list of the specific packages and versions that you want to create from the repo could feed this automation.
Originally posted by @memsharded in conan-io/conan#9436 (comment)