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.

Conan migrates settings back and forth always overwriting my settings with defaults

See original GitHub issue

As suggested in documentation I’ve created my own settings.yml file which I apply using conan config install (thanks for this useful feature).

However it happens that I may have slightly different conan versions (1.2.0 and 1.2.1 in my case) depending on how I run conan (machine-wide or user-local).

Every time I run different version of conan it just wipes my setting and replaces them with default ones, which is annoying.

I see that conan has logic to not overwrite settings always, I think it just needs to be tuned, or provide an option to forbid migration completely.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
ytimenkovcommented, Apr 16, 2018

@olivren My bad 🙁 Shouldn’t reply from phone w/o access to sources thinking about something completely different…

Although there are commands for updating configuration and profiles.

0reactions
memshardedcommented, Jun 12, 2018

Great, thanks for telling! I think this issue could be closed then. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Profiles — conan 1.56.0 documentation
Profiles allows users to set a complete configuration set for settings, options, environment variables, and build requirements in a file.
Read more >
Changing and Switching Worlds | Terraria - Nodecraft
During this process, the game will automatically generate a default world, which will take several minutes. This default world can be deleted ...
Read more >
Configuration Options - Renovate Docs
Renovate always uses the config from the repository's default branch, even if that configuration specifies multiple baseBranches . Renovate does not read/ ...
Read more >
Knowledge Base - JFrog
Setting a reserve proxy for Artifactory on k8s Video Transcription Hello, my name ... Details:Artifactory allows force migration from Conan V1 to V2...
Read more >
K51888238: Changing Custom Default Profiles Back ... - AskF5
It is recommended to revert the modifications of the default profile back to the default settings. You will retain the modifications made in ......
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