question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug][2.0] conan config list prints to stderr

See original GitHub issue

Environment Details (include every applicable attribute)

  • Operating System+version: Ubuntu 22.04
  • Compiler+version:
  • Conan version: 2.0.0-beta3
  • Python version:

Steps to reproduce (Include if Applicable)

conan config list prints all available config options to stderr instead of stdout. That makes it difficult/annoying to e.g. grep for options.

Logs (Executed commands with output) (Include/Attach if Applicable)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lindblandrocommented, Oct 1, 2022

Just bumped into this and would also like to point out that the output of conan config list is essentially the same as the json output, with the exception that the text output contains Supported Conan global.conf and [conf] properties: which I think should go to conan config list --help. After you’ve run that command once you know what it does and you don’t need the manual to be printed every time. Imagine if git config --list would begin it’s listing with Current git configuration settings: or something.

I’d say the most intuitive way would be to keep the default listing 1-to-1 with other stable formats and add additional flags to make it look nicer. Again with the git examples: git log vs git log --oneline --graph. The current output is pretty readable as it is, but if you want to support easier grouping, add an optional globbing pattern: conan config list core.* and so on, but please don’t make the customized special case output the default.

0reactions
memshardedcommented, Oct 5, 2022

@lindblandro

I agree, those explanations can be removed. We have fixed it in https://github.com/conan-io/conan/pull/12235, removing those things too, but if there are still some pending or a new one appears, please submit a new issue, or create a PR to remove it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[bug] conan config list result is incomplete #12074 - GitHub
run conan config list. Several configurations for which conan has a built-in logic are not listed: tools.apple:sdk_path
Read more >
conan config — conan 1.56.0 documentation
Used to edit conan.conf, or install config files. positional arguments: {get,home,install,rm,set,init,list} ...
Read more >
Untitled
Kreiss aria dining table, Pictures singing happy birthday, Lough eske castle hotel ... Lorenzo's pizza deer park ny menu, Tumble bug 2 free...
Read more >
mEN - ALBA.Net
Klubnyak 2013 skachat, Dorian popa o noua viata muzica, Kassiano horse, ... Pgarsh-ipad2r, Gualeguaychu indio, Facebook settings friends list, ...
Read more >
2001-September.txt - Python mailing list
Is there any configuration of mailman, pipermail, etc, that needs to be done to ... Mailman import mm_cfg program = sys.argv[0] @@ -73,8...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found