[feature] Compose applied configuration in one profile
See original GitHub issueFrom this thread: https://github.com/conan-io/tribe/pull/34#discussion_r862742661
The idea is to provide a way to “freeze” the applied profiles (host + build) by combining all the inputs provided, so with just one file you could reproduce a build. Some ideas:
With a different command:
conan profile compose --profile:h=foo -s:h arch=x86 -c myconf=1 --profile_out:h=profile_host_windows_x86.txt
Directly with arguments:
conan lock create . --profile:h=foo -s:h arch=x86 -c myconf=1 --profile_out:h=profile_host_windows_x86.txt
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Using profiles with Compose - Docker Documentation
Using profiles with Compose. Profiles allow adjusting the Compose application model for various usages and environments by selectively enabling services.
Read more >Services with profile in yml, always enable when execute ...
I am having the same issue on MacOS with Docker Desktop 4.7.0 and Docker Compose 2.4.1. When I do docker compose --profile my-profile...
Read more >Testing your Compose layout - Jetpack - Android Developers
Compose provides a set of testing APIs to find elements, verify their attributes and perform user actions. They also include advanced features such...
Read more >Compose (UI) beyond the UI (Part II): applying changes
For example, when a configuration change occurs the Activity and Fragment are destroyed and new instances are created, but the ViewModel is ...
Read more >Compose DSC configurations | Microsoft Learn
Before you can assign a configuration made from composite resources in the Azure portal, you must compose the configuration.
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 Free
Top 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
Yes, an extra file produced on a side would help with the use-case in the tribe comment.
Having
profile_out
in same commands aslockfile-out
is less typing and maybe somewhat convenient (at leastconan create
/conan install --build
).But otherwise a separate command is also fine. Then the workflow to create a package on CI would be
profile create
->lockfile create
->create
, each taking output from the previous “stage”.Fortunately, with
layout()
now most builds are automatically “out-of-source” (at least they are moved to abuild
folder, not polluting the project root).conaninfo.txt
will not longer be locally generated in 2.0.