Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop2] Improve a bit the output msgs #12746

Merged
merged 16 commits into from
Feb 20, 2023

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Dec 20, 2022

Changelog: Feature: Improved global Conan output messages (create, install, export, etc.)
Docs: omit

@memsharded memsharded added this to the 2.0 milestone Feb 17, 2023
@memsharded memsharded marked this pull request as ready for review February 17, 2023 01:08
@memsharded memsharded requested a review from AbrilRBS February 17, 2023 09:39
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks so much nicer now!

conans/client/generators/__init__.py Show resolved Hide resolved
@@ -200,6 +208,7 @@ def write_cmake_presets(conanfile, toolchain_file, generator, cache_variables,

preset_content = json.dumps(data, indent=4)
save(preset_path, preset_content)
ConanOutput(str(conanfile)).info("CMakeToolchain generated: CMakePresets.json")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing these are ConanFileInterfaces and that's why they can't just call conanfile.output..., right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, good catch, I think this might be a full conanfile, this might be replaced by conanfile.output.info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants