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

reflect-cpp: add version 0.10.0 #22574

Merged
merged 10 commits into from
May 23, 2024
Merged

Conversation

toge
Copy link
Contributor

@toge toge commented Jan 28, 2024

Specify library name and version: reflect-cpp/0.10.0

reflect-cpp/0.7.0 supports bson and cbor, but this PR does not mention the two features.
Since reflect-cpp is a header-library and these features do not require extra definitions or configuration files, I do not see the need to add two options for them.

For BSON support, you must also include the header <rfl/bson.hpp> and link to the libbson library (https://github.com/mongodb/libbson).
https://github.com/getml/reflect-cpp/blob/main/docs/bson.md


@conan-center-bot conan-center-bot added the Bump version PR bumping version without recipe modifications label Jan 28, 2024
@conan-center-bot

This comment has been minimized.

@AbrilRBS
Copy link
Member

I do not see the need to add two options for them.

@toge wouldn't we need to at the very least add the requirements to the recipe?

@AbrilRBS AbrilRBS self-assigned this Jan 31, 2024
@RazielXYZ
Copy link
Contributor

RazielXYZ commented Feb 1, 2024

Anyone who would want to use them could just require them to their own project that uses reflect-cpp and wants those backends. Core reflect-cpp won't have issues compiling without the serialization libraries as backends unless you try to include its specific header for that format/backend.

That said, I'm not sure what the best practice is for something like this. When I made the initial recipe I thought having them in would be helpful, but in that case we should probably keep being consistent with having them.

Also, libbson in particular would be a bit awkward to require here, since it needs the newer one from mongo-c-driver, and the recipe for mongo-c-driver doesn't have a libbson-only option/mode.

@RazielXYZ
Copy link
Contributor

@RubenRBS any thoughts on this?

@AbrilRBS
Copy link
Member

Hi @RazielXYZ didn't realize you answered back, sorry for the delay, will have something for you tomorrow once I get back to reviewing PRs :)

@uilianries
Copy link
Member

We have a similar recipe CCI with optional backend, so users need to include them as extra dependency. I would follow the same approach here, not installing these dependencies. Reading the headers and the cmake file, there is no mechanism like a ifdef or linkage that could break the project.

@RazielXYZ
Copy link
Contributor

We have a similar recipe CCI with optional backend, so users need to include them as extra dependency. I would follow the same approach here, not installing these dependencies. Reading the headers and the cmake file, there is no mechanism like a ifdef or linkage that could break the project.

So the suggestion is to remove the with_* options and requires from the recipe? Sounds fine to me

@uilianries
Copy link
Member

So the suggestion is to remove the with_* options and requires from the recipe? Sounds fine to me

Not exactly, let's keep with the current options to avoid breaking users.

@lkotsonis
Copy link
Contributor

Should there be a separate PR for v0.8.0 that got out today?

uilianries
uilianries previously approved these changes Mar 20, 2024
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM. We can take an action over the options in another PR.

@uilianries
Copy link
Member

Should there be a separate PR for v0.8.0 that got out today?

@lkotsonis Yes, please. Could you open a new PR? Otherwise we would need to re-build this PR, but is actually good to be merged.

@conan-center-bot

This comment has been minimized.

@toge toge changed the title reflect-cpp: add version 0.7.0 reflect-cpp: add version 0.8.0 Mar 21, 2024
@conan-center-bot conan-center-bot added Failed and removed Bump version PR bumping version without recipe modifications labels Mar 21, 2024
@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Mar 22, 2024

oh.
In my local environment(17.7.2+d6990bcfa), it works fine.
I try to find workaround.

@lkotsonis
Copy link
Contributor

oh. In my local environment(17.7.2+d6990bcfa), it works fine. I try to find workaround.

Any update on this?

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Apr 23, 2024

@RubenRBS
Colud you review it again?

If you think the options for dependand packages are mandatory(bson, toml, messagepack etc), I will add these options.

Copy link
Contributor

@franramirez688 franramirez688 left a comment

Choose a reason for hiding this comment

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

@toge Thanks a lot for the PR, it looks pretty well! Only one thing before moving this forward. We have to report that patch upstream and wait for the official solution to this bug. Otherwise, we could report it and add an extra step at validation time for that temporary invalid configuration while waiting for the official patch.

@toge
Copy link
Contributor Author

toge commented Apr 23, 2024

@franramirez688
Thank you for your review.
I create a PR for this.
Let's wait for reply.

@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Apr 26, 2024

@franramirez688
My patch has been merged.

franramirez688
franramirez688 previously approved these changes Apr 26, 2024
Copy link
Contributor

@franramirez688 franramirez688 left a comment

Choose a reason for hiding this comment

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

@toge Great job! Thanks a lot for taking the time to report the patch upstream 👏 That's really appreciated.

@toge toge changed the title reflect-cpp: add version 0.9.0 reflect-cpp: add version 0.10.0 May 2, 2024
@conan-center-bot

This comment has been minimized.

AbrilRBS
AbrilRBS previously approved these changes May 2, 2024
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.

Thanks for creating the upstream PR, it is supper appreciated! :)

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 12 (17a0c652ab4c31709a45d7cb6dd0556f5be5afbc):

  • reflect-cpp/0.6.0:
    All packages built successfully! (All logs)

  • reflect-cpp/0.10.0:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 11 (17a0c652ab4c31709a45d7cb6dd0556f5be5afbc):

  • reflect-cpp/0.10.0:
    All packages built successfully! (All logs)

  • reflect-cpp/0.6.0:
    All packages built successfully! (All logs)

@toge
Copy link
Contributor Author

toge commented May 2, 2024

@RubenRBS
Colud you review it again?
I forgot to remove dangling patch.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

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.

Sorry for the delay! Looks great now

@conan-center-bot conan-center-bot merged commit 89f3e4d into conan-io:master May 23, 2024
18 checks passed
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.

9 participants