conan remote update my-private --allowed-packages="boost/*, openssl/*, internal/*" conan remote update conan-center --allowed-packages="*" --exclusive=False When you create a package, you can "bless" it as exclusive to a specific repository. This prevents developers from accidentally uploading a package with the same name to a different repo.
Remember: A package without an exclusive home is a package waiting to betray you. Lock it down, own your dependencies, and build with confidence. Have you implemented Conan repository exclusivity in your C++ projects? Share your patterns and pitfalls below.
// In ~/.conan2/settings.yml or conan.conf remotes_exclusive: my-private: - boost/* - openssl/* conan-center: - * # All other packages come from center (if not exclusive) Alternatively, use the command line to modify a remote’s allowed_packages :
conan remote update my-private --allowed-packages="boost/*, openssl/*, internal/*" conan remote update conan-center --allowed-packages="*" --exclusive=False When you create a package, you can "bless" it as exclusive to a specific repository. This prevents developers from accidentally uploading a package with the same name to a different repo.
Remember: A package without an exclusive home is a package waiting to betray you. Lock it down, own your dependencies, and build with confidence. Have you implemented Conan repository exclusivity in your C++ projects? Share your patterns and pitfalls below. conan repository exclusive
// In ~/.conan2/settings.yml or conan.conf remotes_exclusive: my-private: - boost/* - openssl/* conan-center: - * # All other packages come from center (if not exclusive) Alternatively, use the command line to modify a remote’s allowed_packages : conan remote update my-private --allowed-packages="boost/*