Conan Repository Exclusive -
To prevent Conan from leaking internal package queries to the public internet, you can restrict your public remotes from processing proprietary naming conventions.
: Conan 2.x includes specific commands for local reporting:
If you're a package creator interested in making your repository exclusive to Conan, getting started is easy:
: The industry standard for private hosting; it's free and specifically supports Conan and generic repositories. GitLab / GitHub Package Registry conan repository exclusive
"Disk space on the exclusive server is exploding."
$ conan lock create . --lockfile-out=release.lock $ conan upload release.lock -r exclusive
conan graph info : Generates a report on the dependency graph of a project. To prevent Conan from leaking internal package queries
conan upload "OpenSSL/3.0.0" --remote=my-private --require-remote
Start small: Choose one critical internal library (e.g., your logging framework), mark it exclusive to your private Artifactory server, and watch your builds stabilize. Then expand the pattern to your entire dependency graph.
A aggregating both, using fine-grained "Included/Excluded Tokens" to keep the scopes separate. --lockfile-out=release
# Ensure internal packages only come from the private enterprise remote $ conan remote add-pattern internal_private "mycompany_*" # Ensure standard open-source packages only come from ConanCenter $ conan remote add-pattern conancenter "zlib/*" $ conan remote add-pattern conancenter "openssl/*" Use code with caution. 2. Restricting the Global "Catch-All"
By mapping your internal namespace (e.g., company_foo/* ) exclusively to your secure, in-house Artifactory or Nexus instance, Conan will immediately throw an error if that package is missing from the secure vault, rather than falling back to public mirrors. Architecture Scenarios for Exclusive Repositories
: Ideal if your code is already on these platforms. GitLab provides a built-in Conan registry. Conan Server
