Skip to content

Conversation

DailyMats
Copy link

Changelog: Feature
Docs: conan-io/docs#3583

If you mostly use Conan to build locally, using conanfiles you're handling (and exporting) yourself, and don't necessary set up a remote, there is no point in adding conancenter as a remote, and having Conan querying it for those.

@CLAassistant
Copy link

CLAassistant commented Feb 14, 2024

CLA assistant check
All committers have signed the CLA.

@memsharded
Copy link
Member

Thanks for your contribution @DailyMats

However, I am afraid that this kind of usage of env-vars to configure Conan behavior is no longer used in Conan 2.0.

There are already some different mechanisms to avoid using the conan default defined remote:

  • You can easily remove it with conan remote remove "*", or disable it with conan remote disable "*"
  • The recommended way to manage remotes and other configuration items is via conan config install, that can use an emptied remotes.json file to clear remotes (and define your own ones if desired)
  • Commands can use the --no-remotes argument to disable remotes

@memsharded
Copy link
Member

I am closing this as not planned, for the reasons above.
Thanks very much for your contribution anyway!

@memsharded memsharded closed this Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants