fix: "Barcode limit: 13 digits or more?"#86
Conversation
alexgarel
left a comment
There was a problem hiding this comment.
LGTM, but I would like @CharlesNepote or @cquest to give their opinion.
alexgarel
left a comment
There was a problem hiding this comment.
I added some remarks.
See in particular my comment for local_settings.py if it's not clear I may explain better.
|
@aadarsh-ram : to finish this request, I would say: just add a limit to barcode (32 is good I think). |
alexgarel
left a comment
There was a problem hiding this comment.
Sorry @aadarsh-ram still small comments, but we are very near the end !
alexgarel
left a comment
There was a problem hiding this comment.
Kudos @aadarsh-ram, good work.
|
@aadarsh-ram @alexgarel : what should be the upgrade process then? But I guess I need to run a script for the DB migration? |
|
@aadarsh-ram I added the https://github.com/openfoodfacts/folksonomy_api/blob/main/yoyo.ini file and wrote the upgrade documentation for our infrastructure: https://github.com/openfoodfacts/openfoodfacts-infrastructure/blob/develop/docs/folksonomy.md#upgrade |
LGTM. FYI, you can use the command line interface or use the |
What
[0-9]{1,13}) only.Related issue(s)
File additions/deletions
Part of
All unit tests which are part of test_main.py have passed.
Please do provide feedback after reviewing this PR. I hope that I will contribute more to OpenFoodFacts!