-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
feat: Allow GS1 barcode types to be used in search and read API #9014
Conversation
- Remove redundant `$` - Fix scope of `$ai_data_str` - Some regexes
- libzxing-dev requires a the current Debian stable, bookworm. - libapache2-request-perl is only available via backports for bookworm.
test: Add first unittest for GS1 DataMatrix code Thanks to @tonycoz (TONYC on cpan) for implementing Imager::zxing!
- Ensure that more GS1 Data Link URI formats can be 'normalized' - URIs that cannot be a GS1 Data Link should not be treated as an product code
Should possibly have a feature flag, depending on the API version
…rom the code to allow query params in GS1 data URI to be present
…nd `decodeURIComponent`, so that a '/' in the code isn't split.
…rd `gs1_ai_data_str`.
Codecov Report
@@ Coverage Diff @@
## main #9014 +/- ##
==========================================
+ Coverage 46.09% 46.37% +0.28%
==========================================
Files 64 64
Lines 19837 19905 +68
Branches 4801 4811 +10
==========================================
+ Hits 9143 9231 +88
+ Misses 9513 9498 -15
+ Partials 1181 1176 -5
... and 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The dummy number used before does not have a valid checksum.
Kudos, SonarCloud Quality Gate passed! |
This looks great, thanks for adding all the test cases etc. :) I'm trying to build zxing on stretch (what we have in prod today), no success yet, I'll try harder. |
I tested it in docker, it works great. :) In production though, as we are still on stretch, I'm unable to build zxing. It needs cmake 3.15 and gcc 7, while we have cmake 3.7.2 and gcc 6.3... So we would have to wait for the migration of off1 to merge and deploy this unfortunately.. :( |
Nice! 😄
We could try building zxing-cpp as a static lib, bundle that as a |
What
Allows using more barcode types in search and READ API
Related issue(s) and discussion