You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very helpful if Conan could serialize all build configuration (settings, options, conf, etc) for a specific build into a file that I can use later as input to another Conan command instead of having to replicate all of the original command line arguments. For example, let's assume we run a build like this:
I think this escapes a bit of the functionality and UX expected by a command line tool in general.
The shells have utilities in order to avoid having to retype things, for example, just storing the args in a variable, like (in windows):
shell shortcut to go to the beginning of line quickly
type the new command
I think this is probably even less keystrokes than having to remember to type --build-conf-out=build.conf in advance, and then having to type --build-conf=build.conf later.
Furthermore, to implement this, it would be necessary either a bunch of messing with the Python args, as it would be necessary to intercept the --build-conf argument, deserialize it, then inject those values dynamically in any other args, which might potentially conflict with user provider args (and then the discussion would be which one should have more precedence), or adding new extra custom logic in absolutely all Conan commands, which is a bit overkill.
I think this feature is a bit too costly and outside of the scope for the value, marking it as unplanned, but thanks very much for the feedback anyway!
What is your suggestion?
It would be very helpful if Conan could serialize all build configuration (settings, options, conf, etc) for a specific build into a file that I can use later as input to another Conan command instead of having to replicate all of the original command line arguments. For example, let's assume we run a build like this:
Then I want to be able to run a custom command later that replicates all of the build configuration and dependency graph by doing
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: