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

feat(GDPR): improve script to manage Picard #430

Merged
merged 6 commits into from
Sep 12, 2024
Merged

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Sep 8, 2024

What

Picard GDPR import script.

Picard does not provide the EAN, but a "Article code" that is 5 numbers long.

So we need to use search-a-licious to fetch the matching product. See openfoodfacts/search-a-licious#242. First by restrincting on the Picard GS1 prefix, and assuming the product has brands:picard. Then we enlarge, and prompt the user for confirmation.

image

@raphodn raphodn force-pushed the raphodn/gdpr-picard branch from 2f8ab8b to fde9e71 Compare September 12, 2024 12:27
@raphodn raphodn force-pushed the raphodn/gdpr-picard branch from fde9e71 to 6ccef2e Compare September 12, 2024 12:30
@raphodn raphodn marked this pull request as ready for review September 12, 2024 12:31
@raphodn raphodn changed the title feat: improve GDPR script to manage Picard feat(GDPR): improve script to manage Picard Sep 12, 2024
@raphodn raphodn enabled auto-merge (squash) September 12, 2024 12:33
@raphodn raphodn disabled auto-merge September 12, 2024 12:33
@raphodn raphodn merged commit 955cecc into main Sep 12, 2024
10 checks passed
@raphodn raphodn deleted the raphodn/gdpr-picard branch September 12, 2024 12:34
@raphodn raphodn linked an issue Sep 12, 2024 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Expand the GDPR import script for new stores
2 participants