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

fix: update paths for EAN8 and short barcodes (padding with zeroes) - DO NOT MERGE #10472

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

stephanegigandet
Copy link
Contributor

@stephanegigandet stephanegigandet commented Jun 20, 2024

I closed the very old PR #3915 and I am opening this new one to put it on the first page.

Original issue: #3818

We will need to move the file structures on all flavors (OFF, OBF, OPF, OPFF) roughly at the same time, as otherwise we will have issues if some products are moved from one flavor to another.

So the migration script is using "old" conventions so that it can run on the old obf / opf / opff code (without needing newer modules).

The migration script is first used to assess the situation (how many products would be moved, how many products have conflicts etc.) on all flavors.

PR in infrastructure repo to detail the migration: openfoodfacts/openfoodfacts-infrastructure#363

Copy link
Member

Choose a reason for hiding this comment

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

can we put it in a migration sub folder ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I will move it

scripts/move_ean8_products_to_new_path.pl Show resolved Hide resolved
@stephanegigandet stephanegigandet changed the title fix: update paths for EAN8 and short barcodes (padding with zeroes) fix: update paths for EAN8 and short barcodes (padding with zeroes) - DO NOT MERGE Jun 21, 2024
Copy link

sonarcloud bot commented Jun 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants