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

spdlog: update usage of self.info in package id #14634

Merged
merged 4 commits into from
Dec 21, 2022

Conversation

prince-chrismc
Copy link
Contributor

Specify library name and version: lib/1.0

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


@prince-chrismc
Copy link
Contributor Author

#12888

@conan-center-bot

This comment has been minimized.

@ghost
Copy link

ghost commented Dec 7, 2022

I detected other pull requests that are modifying spdlog/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prsso don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@prince-chrismc
Copy link
Contributor Author

This is ready for review :)

@@ -152,8 +147,7 @@ def package_info(self):
if self.options.header_only and self.settings.os in ("iOS", "tvOS", "watchOS"):
self.cpp_info.components["libspdlog"].defines.append("SPDLOG_NO_TLS")

if Version(conan_version).major < 2:
Copy link
Contributor

Choose a reason for hiding this comment

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

OOC: why was this remove? I'd really love to not see warnings in Conan 2.0 and was actually going to suggest adding something like this into recipes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a fair point, There's a handful of factors...

  • We are trying to test the migration so we want the same code to work in both (trying to avoid version checks to make sure we got all the migration points covered)
  • We'd need to add this into ~1500 recipes 🙃 It's just not practical.
  • Our expectations is once 2.0 is out and stabilized we can start to remove these from recipes. It hard to say when but we'd like to do it within 4-6 months at the most.

I agree the warning is noise, some recipes are getting like 40 of them 🤢 best case 2.0 is bug free and we start deleting them right away 🚀 😆

Copy link
Member

Choose a reason for hiding this comment

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

Now that 2.0 runs are submitted as part of the report from CCI, I think that noise is good in this case, as you say, we want to catch as many bugs as possible before GA!

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 4 (38d60b1ec618c471daf7593e3d92ec87c4195e9e):

  • spdlog/1.8.5@:
    All packages built successfully! (All logs)

  • spdlog/1.9.2@:
    All packages built successfully! (All logs)

  • spdlog/1.11.0@:
    All packages built successfully! (All logs)

  • spdlog/1.10.0@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 13dd661 into conan-io:master Dec 21, 2022
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.

7 participants