-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
zxing-cpp: fix two issues with the recent inclusion of 2.0 #15357
Conversation
This comment has been minimized.
This comment has been minimized.
Make sure to comment int #4 |
Let me kick the bot :) |
There a backend (we call is c3i) and it loops over all the open PRs and since there's a lot it can take a while. Review process and reviews are docs here https://github.com/conan-io/conan-center-index/blob/master/docs/review_process.md#rule-of-2-reviews :) |
This comment has been minimized.
This comment has been minimized.
The build fails foremost because the test project is build with I had a quick look at the different test sources and wonder what their purpose is. Why not use the ctests that come with the library? Or is the idea to check that a client code can actually be built from the installed library (which is actually a good idea, since we don't test that properly)? Why only test the writer part of the library? Note: there is a deprecation warning about Anyway: I don't have the time to first get sufficiently knowledgeable with your project to properly fix this the way you do things around here (e.g. simply build all tests with c++17 or add a new config just for version 2.0). So either someone tells me explicitly how you'd like this resolved (like sending me a diff), then I can update my PR or someone else needs to start from scratch. |
@axxel It's my mistake. In order to get cci's CI to work, there are several fixes that need to be made. test_package/CMakeLists.txt
test_package/test_package_2.0.cpp
|
Thanks to @toge for providing the code.
Thanks to @Togo for providing the text. Note: I committed this via the github web interface, where I did not find a way to modify two files inside one commit.
This comment has been minimized.
This comment has been minimized.
@toge's suggestion did drop that line. adding it back in.
@toge Thanks for picking this up and providing me with the code to fix the build issues. As you can see there was one line missing in |
@axxel I wish I could do it for you, but I don't have the right. |
This comment has been minimized.
This comment has been minimized.
Replace all mentions of the old 'nu-book' with the new 'zxing-cpp' name in the github links. Overlooked that in my first commit, unfortunately.
Conan v1 pipeline ✔️All green in build 8 (
Conan v2 pipeline (informative, not required for merge) ✔️
All green in build 7 ( |
…of 2.0 * zxing-cpp: actually download 2.0.0 tarball * zxing-cpp: update homepage information * zxing-cpp: add testing code for version 2.0 Thanks to @toge for providing the code. * zxing-cpp: add test_package_2.0 to CMake Lists Thanks to @Togo for providing the text. Note: I committed this via the github web interface, where I did not find a way to modify two files inside one commit. * zxing-cpp: add back missing cmake_minimum_required @toge's suggestion did drop that line. adding it back in. * zxing-cpp: nu-book -> zxing-cpp in conandata.yml Replace all mentions of the old 'nu-book' with the new 'zxing-cpp' name in the github links. Overlooked that in my first commit, unfortunately.
Specify library name and version: zxing-cpp/2.0
@prince-chrismc requested this PR
I'm the maintainer of the zxing-cpp project. I'm not a conan users and have no infrastructure to test those changes.