C2A: Conan deprecates CONAN_USERNAME and CONAN_CHANNEL
See original GitHub issueDescription of Problem, Request, or Question
After deprecating environament variables CONAN_USERNAME
and CONAN_CHANNEL
, I think that we should get rid of them in this repo too, it shouldn’t be a reliable way to feed user/channel
to packages built with cpt.
Link to deprecation notice in the docs: https://docs.conan.io/en/latest/reference/env_vars.html#conan-username-conan-channel
If we agree to remove these variables here, it would be nice to remove them from the conan new --ci-*
generated files too.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
Attributes — conan 1.50.2 documentation
Environment variables CONAN_USERNAME and CONAN_CHANNEL that were used to assign a value to these fields are now deprecated and will be removed in...
Read more >Building with Conan — OpenPASS Documentation - Eclipse
Conan is an open source, decentralized and multi-platform package manager to ... The optional user and channel flags can be used to export...
Read more >Build and run an executable locally with Conan - Stack Overflow
1 Answer 1 · Place your package in the conan cache. $ conan create . · Consume it using VirtualRunEnv. $ conan install...
Read more >Conan packages in the Package Registry - GitLab Docs
The standard Conan recipe convention is package_name/version@user/channel , but if you're using an instance remote, the recipe user must be the plus sign ......
Read more >Untitled
... Scoliose idiopathique adulte, 7500miles, Conan episode 657, Relegation zur 3 ... Forwarding email in exchange 2010, Panasonic 65 tv, Filippo bertonelli, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure. I see many users running CPT on their companies, which doesn’t reflect what we are doing on Conan Center Index. Probably we will break many users/companies dropping it. I vote for supporting both cases on CPT.
conan-package-tools
can still get those variables from the environment and pass them to Conan, that won’t make a difference, and we will check that everything keeps working the same. For Conan 2.0 we will thing about removing other environment variables too (https://github.com/conan-io/conan/issues/5270).Probably this all is a result of my poor explanation when I opened this issue: Conan is deprecating those variables, so
conan-package-tools
should read the environment and pass them explicitly toconan create
or to theconan_api
(I don’t know the internals of this repo).