Skip to content

Document the process for forking conan-center-index and sources reposΒ #9752

@memsharded

Description

@memsharded

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.yml files. Upload them to an Artifactory generic repo.
  • Replace the conandata.yml url 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions