-
-
Notifications
You must be signed in to change notification settings - Fork 389
/
labeler.yml
1600 lines (1437 loc) · 86.7 KB
/
labeler.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Add labels to any any pull request with changes to the specified paths
# Pull requests that update GitHub Actions code. If you navigate to the folder, you will have a README of what it does
GitHub Actions:
- changed-files:
- any-glob-to-any-file: '.github/**/*'
# We currently use NGINX to serve Open Food Facts
NGINX:
- changed-files:
- any-glob-to-any-file: 'conf/nginx/**/*'
- any-glob-to-any-file: 'conf/nginx-docker/**'
- any-glob-to-any-file: 'conf/systemd/nginx.service.d/override.conf'
# We have 2 mongodb collections: one for current products, and one for obsolete products
MongoDB:
- changed-files:
- any-glob-to-any-file: 'conf/mongodb/create_indexes.js'
- any-glob-to-any-file: '.github/workflows/mongo-deploy.yml'
- any-glob-to-any-file: 'scripts/checkmongodb.pl'
- any-glob-to-any-file: 'scripts/update_all_products_from_dir_in_mongodb.pl'
- any-glob-to-any-file: 'scripts/update_all_products_revisions_from_dir_in_mongodb.pl'
- any-glob-to-any-file: 'scripts/mongodb_dump.sh'
Stores:
- changed-files:
- any-glob-to-any-file: 'taxonomies/unused/stores.txt'
- any-glob-to-any-file: 'scripts/tag_stores_magasins_u.pl'
# Mobile App
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/8919
# System to provide the mobile app with one JSON news headline, variating based on country, language, mobile OS and app version (for the legacy app and for the newer V2 app)
🤳🥫 tagline:
- changed-files:
- any-glob-to-any-file: 'html/files/app/tagline/tagline-off-ios.json'
- any-glob-to-any-file: 'html/files/tagline-off.json'
- any-glob-to-any-file: 'html/files/tagline.txt'
- any-glob-to-any-file: 'html/files/tagline-obf.json'
- any-glob-to-any-file: 'html/files/tagline-opf.json'
- any-glob-to-any-file: 'html/files/tagline-opff.json'
- any-glob-to-any-file: 'html/files/tagline-off-ios-v2.json'
- any-glob-to-any-file: 'html/files/tagline-off-android-v2.json'
- any-glob-to-any-file: 'html/resources/files/tagline-off-android-v3.json'
- any-glob-to-any-file: 'html/resources/files/tagline-off-ios-v3.json'
# https://wiki.openfoodfacts.org/Global_taxonomies
# Tracking issue:
🧬 Taxonomies:
- changed-files:
- any-glob-to-any-file: 'taxonomies/**/*'
- any-glob-to-any-file: 'scripts/taxonomies/**/*'
- any-glob-to-any-file: 'cgi/translate_taxonomy.pl'
# Taxonomies are compiled before they can be used.
🧬 Taxonomies - Rebuild:
- changed-files:
- any-glob-to-any-file: 'taxonomies/additives.result.sto'
- any-glob-to-any-file: 'taxonomies/additives.result.txt'
- any-glob-to-any-file: 'taxonomies/allergens.result.sto'
- any-glob-to-any-file: 'taxonomies/allergens.result.txt'
- any-glob-to-any-file: 'taxonomies/categories.result.sto'
- any-glob-to-any-file: 'taxonomies/categories.result.txt'
- any-glob-to-any-file: 'taxonomies/countries.result.sto'
- any-glob-to-any-file: 'taxonomies/countries.result.txt'
- any-glob-to-any-file: 'taxonomies/ingredients.result.sto'
- any-glob-to-any-file: 'taxonomies/ingredients.result.txt'
- any-glob-to-any-file: 'taxonomies/states.result.sto'
- any-glob-to-any-file: 'taxonomies/states.result.txt'
# Products have a number of completion states, eg: https://world.openfoodfacts.org/states
status system:
- changed-files:
- any-glob-to-any-file: 'taxonomies/states.result.sto'
- any-glob-to-any-file: 'taxonomies/states.result.txt'
- any-glob-to-any-file: 'taxonomies/states.txt'
# We link taxonomies to Wikidata (& back) - https://wiki.openfoodfacts.org/Structured_Data/Wikidata
# Tracking issue:
WikiData:
- changed-files:
- any-glob-to-any-file: 'scripts/build_countries_taxonomy_from_wikidata.pl'
- any-glob-to-any-file: 'scripts/build_languages_taxonomy_from_wikidata.pl'
- any-glob-to-any-file: 'scripts/create_wikipedia_properties_for_taxonomy.pl'
- any-glob-to-any-file: 'docs/api/leveraging-links-to-wikidata.md'
# Tracking issue:
🥜 Allergens:
- changed-files:
- any-glob-to-any-file: 'taxonomies/allergens.result.sto'
- any-glob-to-any-file: 'taxonomies/allergens.result.txt'
- any-glob-to-any-file: 'tests/unit/allergens.t'
- any-glob-to-any-file: 'taxonomies/allergens.txt'
# Open Pet Food Facts is a specialized install of Product Opener that tackles all food products for pets.
# It started as an April's Fool joke. https://world.openpetfoodfacts.org
# https://world.openpetfoodfacts.org
# We have a mobile app. We plan in 2024 to integrate Open Food Facts, Open Beauty Facts, Open Pet Food Facts and Open Products Facts together.
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5536
🐾 Open Pet Food Facts:
- changed-files:
- any-glob-to-any-file: 'taxonomies/petfood/**/*'
- any-glob-to-any-file: 'taxonomies/petfood/categories.txt'
- any-glob-to-any-file: 'po/openpetfoodfacts/**/*'
- any-glob-to-any-file: 'scripts/gen_opff_leaderboard.pl'
- any-glob-to-any-file: 'scripts/gen_opff_leaderboard.sh'
- any-glob-to-any-file: 'html/files/tagline-opff.json'
- any-glob-to-any-file: 'lib/ProductOpener/Config_opff.pm'
- any-glob-to-any-file: 'html/images/misc/opff_cat.svg'
- any-glob-to-any-file: 'html/images/misc/opff_dog.svg'
- any-glob-to-any-file: 'html/images/misc/opff_bird.svg'
- any-glob-to-any-file: 'html/images/misc/opff_fish.svg'
- any-glob-to-any-file: 'html/images/misc/opff_rabbit.svg'
- any-glob-to-any-file: 'html/images/misc/opff-leaderboard.svg'
- any-glob-to-any-file: 'conf/nginx/sites-available/opff'
- any-glob-to-any-file: 'conf/apache-2.4/sites-available/opff.conf'
- any-glob-to-any-file: 'scripts/gen_feeds_opff.sh'
- any-glob-to-any-file: 'scripts/gen_feeds_daily_opff.sh'
- any-glob-to-any-file: 'lib/ProductOpener/Config_opff.pm'
- any-glob-to-any-file: 'conf/nginx/snippets/ssl-params-opff.conf'
- any-glob-to-any-file: 'docs/reference/api-tutorials/scanning-cosmetics-pet-food-and-other-products.md'
# Our cosmetic analysis project https://world.openbeautyfacts.org
# Open Beauty Facts is a specialized install of Product Opener. The deployed version is a very old codebase, 2 years old.
# We have a mobile app. We plan in 2024 to integrate Open Food Facts, Open Beauty Facts, Open Pet Food Facts and Open Products Facts together.
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5505
🧴 Open Beauty Facts:
- changed-files:
- any-glob-to-any-file: 'taxonomies/beauty/**/*'
- any-glob-to-any-file: 'po/openbeautyfacts/**/*'
- any-glob-to-any-file: 'scripts/gen_obf_inci_functions_taxonomy_from_cosing.pl'
- any-glob-to-any-file: 'scripts/gen_obf_ingredients_taxonomy_from_cosing.pl'
- any-glob-to-any-file: 'html/files/tagline-obf.json'
- any-glob-to-any-file: 'lib/ProductOpener/Config_obf.pm'
- any-glob-to-any-file: 'scripts/generate_polyquaternium.pl'
- any-glob-to-any-file: 'conf/nginx/sites-available/obf'
- any-glob-to-any-file: 'conf/apache-2.4/sites-available/obf.conf'
- any-glob-to-any-file: 'scripts/gen_feeds_obf.sh'
- any-glob-to-any-file: 'html/files/tagline-obf.json'
- any-glob-to-any-file: 'scripts/gen_feeds_daily_obf.sh'
- any-glob-to-any-file: 'lib/ProductOpener/Config_obf.pm'
- any-glob-to-any-file: 'taxonomies/beauty/ingredients-old-obf.txt'
- any-glob-to-any-file: 'taxonomies/beauty/ingredients-cosing-obf.txt'
- any-glob-to-any-file: 'taxonomies/beauty/ingredients-cosing-obf.result.sto'
- any-glob-to-any-file: 'scripts/gen_obf_ingredients_taxonomy_from_cosing.pl'
- any-glob-to-any-file: 'scripts/gen_obf_inci_functions_taxonomy_from_cosing.pl'
- any-glob-to-any-file: 'html/images/svg/crowdsourcing-obf-round-smartphones.svg'
- any-glob-to-any-file: 'taxonomies/beauty/brands.txt'
- any-glob-to-any-file: 'taxonomies/beauty/labels.txt'
- any-glob-to-any-file: 'taxonomies/beauty/safety.txt'
- any-glob-to-any-file: 'taxonomies/beauty/allergens.txt'
- any-glob-to-any-file: 'taxonomies/beauty/body_parts.txt'
- any-glob-to-any-file: 'taxonomies/beauty/categories.txt'
- any-glob-to-any-file: 'taxonomies/beauty/abbreviations.txt'
- any-glob-to-any-file: 'taxonomies/beauty/labels.result.sto'
- any-glob-to-any-file: 'taxonomies/beauty/labels.result.txt'
- any-glob-to-any-file: 'taxonomies/beauty/inci_functions.txt'
- any-glob-to-any-file: 'taxonomies/beauty/allergens.result.sto'
- any-glob-to-any-file: 'taxonomies/beauty/allergens.result.txt'
- any-glob-to-any-file: 'taxonomies/beauty/categories.result.sto'
- any-glob-to-any-file: 'taxonomies/beauty/categories.result.txt'
- any-glob-to-any-file: 'taxonomies/beauty/special_ingredients.txt'
- any-glob-to-any-file: 'taxonomies/beauty/inci_functions.result.sto'
- any-glob-to-any-file: 'tests/unit/expected_test_results/import_gs1/equadis_unilever_obf_signal.off.json'
- any-glob-to-any-file: 'tests/unit/expected_test_results/import_gs1/equadis_unilever_obf_signal.json'
- any-glob-to-any-file: 'docs/reference/api-tutorials/scanning-cosmetics-pet-food-and-other-products.md'
# Open Products Facts is our platform for other platform. We plan to turn it into the data platform to facilitate circular behaviors (buy, maintain, repare, donate, resale)
# Open Products Facts is a specialized install of Product Opener that tackles all products OFF, OBF or OPFF are not tackling.
# http://world.openproductsfacts.org/
# The Folksonomy Engine is probably what's going to enable Open Products Facts to describe any kind of product.
# We have a mobile app. We plan in 2024 to integrate Open Food Facts, Open Beauty Facts, Open Pet Food Facts and Open Products Facts together.
# Our project is to increase the lifespan of objects by facilitating those circular behaviors.
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5555
📸 Open Products Facts:
- changed-files:
- any-glob-to-any-file: 'taxonomies/products/**/*'
- any-glob-to-any-file: 'po/openproductsfacts/**/*'
- any-glob-to-any-file: 'lib/ProductOpener/Config_opf.pm'
- any-glob-to-any-file: 'conf/nginx/sites-available/opf'
- any-glob-to-any-file: 'conf/apache-2.4/sites-available/opf.conf'
- any-glob-to-any-file: 'scripts/gen_feeds_opf.sh'
- any-glob-to-any-file: 'html/files/tagline-opf.json'
- any-glob-to-any-file: 'scripts/gen_feeds_daily_opf.sh'
- any-glob-to-any-file: 'lib/ProductOpener/Config_opf.pm'
- any-glob-to-any-file: 'taxonomies/products/unspsc.txt'
- any-glob-to-any-file: 'docs/reference/api-tutorials/scanning-cosmetics-pet-food-and-other-products.md'
Icons:
- changed-files:
- any-glob-to-any-file: 'icons/**/*'
# Foundation is the CSS framework of Open Food Facts. https://get.foundation/
CSS:
- changed-files:
- any-glob-to-any-file: 'scss/**/*'
# We use a non-standard version of GetText, lack language variants support translate.openfoodfacts.org
# Tracking issue:
🌐 Translations:
- changed-files:
- any-glob-to-any-file: 'po/**/*'
- any-glob-to-any-file: 'po/common/**/*'
- any-glob-to-any-file: 'po/openfoodfacts/**/*'
- any-glob-to-any-file: 'po/openbeautyfacts/**/*'
- any-glob-to-any-file: 'po/openpetfoodfacts/**/*'
- any-glob-to-any-file: 'po/openproductsfacts/**/*'
- any-glob-to-any-file: 'scripts/update_top_translators.pl'
- any-glob-to-any-file: 'scripts/check_po_file.pl'
- any-glob-to-any-file: 'scripts/print_all_translations.pl'
- any-glob-to-any-file: 'scripts/add_users_translations_to_taxonomy.pl'
- any-glob-to-any-file: 'scripts/taxonomies/add_descriptions_to_taxonomy_from_eu_translations.pl'
- any-glob-to-any-file: 'cgi/top_translators.pl'
- any-glob-to-any-file: 'cgi/translate_taxonomy.pl'
# We have several kinds of dependancies to manage: Perl dependancies, using CPAN (cpanfile), JS dependancies (using package.json and package-lock.json), Docker dependancies, GitHub Actions dependancies
Dependencies:
- changed-files:
- any-glob-to-any-file: 'package.json'
- any-glob-to-any-file: 'package-lock.json'
- any-glob-to-any-file: 'cpanfile'
# The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes.
Template::Toolkit:
- changed-files:
- any-glob-to-any-file: 'templates/**/*'
# SCSS stands for Sassy Cascading Style Sheets or Sassy CSS. It is a superset of the CSS language that allows web designers more freedom and control when designing web designs by adding new features to CSS.
SCSS:
- changed-files:
- any-glob-to-any-file: 'scss/_footer.scss'
# The Footer of the Open Food Facts web experience, that probably should be reorganized, a bit like the apple.com footer for clarity
Footer:
- changed-files:
- any-glob-to-any-file: 'html/images/illustrations/footer-orange.svg'
- any-glob-to-any-file: 'html/images/illustrations/footer-planet.svg'
- any-glob-to-any-file: 'scss/_footer.scss'
# The more documented Open Food Facts is, the easier it is to contribute or use, the more impact we have.
# Tracking issue (OpenAPI): https://github.com/openfoodfacts/openfoodfacts-server/issues/7446
# Tracking issue (Product Opener): https://github.com/openfoodfacts/openfoodfacts-server/issues/5559
# Project: https://github.com/orgs/openfoodfacts/projects/25
📚 Documentation:
- changed-files:
- any-glob-to-any-file: 'docs/**/*'
- any-glob-to-any-file: 'scripts/generate_perl_html_doc_from_pod.pl'
- any-glob-to-any-file: 'po/README.md'
- any-glob-to-any-file: 'README.md'
# OpenAPI documentation of Open Food Facts. Still incomplete, and needs help.
# Eventually, we'd like to see if it's possible to generate clean SDKs out of it.
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/7446
📚 OpenAPI:
- changed-files:
# core
- any-glob-to-any-file: 'docs/assets/api-rapidoc.html'
- any-glob-to-any-file: 'docs/api/ref/api.yml'
- any-glob-to-any-file: 'docs/api/ref/api-v3.yml'
- any-glob-to-any-file: 'docs/api/ref/schemas/tags_parameters.yaml'
# product core
- any-glob-to-any-file: 'docs/api/ref/schemas/product_base.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_extended.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_meta.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_misc.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_tags.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_hidden.yaml'
# nutrition
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrients.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrient_unit.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrition_search.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/get_nutrients.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_nutrition.yaml'
# ecoscore
- any-glob-to-any-file: 'docs/api/ref/schemas/agribalyse.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_ecoscore.yaml'
# multilingual
- any-glob-to-any-file: 'docs/api/ref/schemas/country-code.yaml'
- any-glob-to-any-file: 'docs/api/ref/requestBodies/lc_cc.yaml'
# ingredients
- any-glob-to-any-file: 'docs/api/ref/schemas/ingredient.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_ingredients.yaml'
# data quality
- any-glob-to-any-file: 'docs/api/ref/schemas/product_quality.yaml'
# nutriscore
- any-glob-to-any-file: 'docs/api/ref/schemas/product_nutriscore.yaml'
# tags
- any-glob-to-any-file: 'docs/api/ref/schemas/taxonomies/tagtype.yaml'
- any-glob-to-any-file: 'docs/api/ref/requestBodies/fields_tags_lc.yaml'
# Packaging
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/packagings.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/shape.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/material.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/recycling.yaml'
# search
- any-glob-to-any-file: 'docs/api/ref/responses/search_for_products.yaml'
# WRITE
- any-glob-to-any-file: 'docs/api/ref/schemas/product_update_api_v3.yaml'
# images
- any-glob-to-any-file: 'docs/api/ref/schemas/product_images.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_role.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_size.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_urls.yaml'
# WRITE - photos
- any-glob-to-any-file: 'docs/api/ref/requestBodies/unselect_a_photo.yaml'
- any-glob-to-any-file: 'docs/api/ref/requestBodies/crop_a_photo.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/ocr_on_product.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/rotate_a_photo.yaml'
# attributes
- any-glob-to-any-file: 'docs/api/ref/responses/get_attribute_groups.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/get_preferences.yaml'
# knowledge_panels
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/panel.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/panels.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/text_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/image_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/panel_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/table_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/title_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/panel_group_element.yaml'
# You can learn how to use Docker at https://docker-curriculum.com/
# Tracking issue:
🐋 Docker:
- changed-files:
- any-glob-to-any-file: 'docker/**/*'
- any-glob-to-any-file: '.dockerignore'
- any-glob-to-any-file: 'conf/nginx-docker/nginx.conf'
# The Folksonomy project allows to add custom data to product, and model non food products.
# The Experimental Folksonomy API allows you to add and read information beyond the traditional product format to Open Food Facts, Open Products Facts, Open Pet Food Facts and Open Beauty Facts.
# The API is documented separately at https://api.folksonomy.openfoodfacts.org/
# Please be aware that there's a chance that all data added using this API could be deleted without notice, until we mark it as stable, due to unforeseen technical issues.
# Tracking issue:
🏷️ Folksonomy Project:
- changed-files:
- any-glob-to-any-file: 'html/js/folksonomy.js'
- any-glob-to-any-file: 'templates/web/common/includes/folksonomy_script.tt.html'
- any-glob-to-any-file: 'docs/reference/api-tutorials/folksonomy-engine.md'
# https://wiki.openfoodfacts.org/Product_Attributes
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Attributes.html
# Tracking issue:
Attributes:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Attributes.pm'
- any-glob-to-any-file: 'tests/unit/attributes.t'
# We strive to ensure excellent data quality at scale on Open Food Facts: detecting and preventing mistakes before they happen, detecting existing mistakes, and providing efficient ways to fix them.
# More at https://wiki.openfoodfacts.org/Quality
# https://wiki.openfoodfacts.org/Quality
# TODO: it would be nice to harmonize test names scheme
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/DataQuality.html
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/DataQualityCommon.html
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/DataQualityFood.html
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5538
🧽 Data Quality:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/DataQuality.pm'
- any-glob-to-any-file: 'lib/ProductOpener/DataQualityCommon.pm'
- any-glob-to-any-file: 'lib/ProductOpener/DataQualityFood.pm'
- any-glob-to-any-file: 'taxonomies/data_quality.txt'
- any-glob-to-any-file: 'tests/unit/dataqualityfood_labels.t'
- any-glob-to-any-file: 'tests/unit/data_quality_tags_panel.t'
- any-glob-to-any-file: 'tests/unit/dataquality.t'
- any-glob-to-any-file: 'tests/unit/dataqualityfood.t'
- any-glob-to-any-file: 'docs/reference/api-tutorials/how-to-create-data-quality-controls-in-your-app.md'
# One of the facets available in Open Food Facts is /quality & allows us to spot products w/ bad data
# 🧽 Quality facet:
# - changed-files:
# - any-glob-to-any-file: ''
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Display.html
Display:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Display.pm'
# https://world.openfoodfacts.org/eco-score-the-environmental-impact-of-food-products
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Ecoscore.html
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5520
🌱 Eco-Score:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Ecoscore.pm'
- any-glob-to-any-file: 'ecoscore/**/*'
- any-glob-to-any-file: 'tests/unit/ecoscore.t'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json'
- any-glob-to-any-file: 'templates/web/pages/product/includes/ecoscore_details.tt.html'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/palm_oil.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/label.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/total.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/carbon_footprint.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/environment_card.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_extended.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/production_system.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_not_applicable.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/packaging.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/agribalyse.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/manufacturing_place.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/packaging_recycling.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/threatened_species.tt.json'
- any-glob-to-any-file: 'docs/reference/api-tutorials/get-the-ecoscore.md'
- any-glob-to-any-file: 'docs/api/ref/schemas/agribalyse.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_ecoscore.yaml'
# French Lifecycle Analysis for Food (LCA) database used in Eco-Score computations
# https://doc.agribalyse.fr/documentation
Agribalyse:
- changed-files:
- any-glob-to-any-file: 'scripts/add_agribalyse_food_codes_to_taxonomy.pl'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/agribalyse.tt.json'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse'
- any-glob-to-any-file: 'scripts/agribalyse_food_codes.csv'
- any-glob-to-any-file: 'docs/api/ref/schemas/agribalyse.yaml'
- any-glob-to-any-file: 'scripts/snippets/agribalyse_categories_csv.py'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/ssconvert.sh'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.0'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.1'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.2'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.3'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.4'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.5'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_vf.csv.6'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_summary.csv'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE_version.txt'
- any-glob-to-any-file: 'docs/dev/how-to-update-agribalyse-ecoscore.md'
- any-glob-to-any-file: 'scripts/add_agribalyse_food_codes_to_taxonomy.pl'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/agribalyse.tt.json'
- any-glob-to-any-file: 'tests/unit/expected_test_results/ecoscore/agribalyse-updated-category.json'
- any-glob-to-any-file: 'external-data/ecoscore/agribalyse/AGRIBALYSE3.1.1_produits alimentaires.xlsx'
- any-glob-to-any-file: 'docs/api/ref/schemas/agribalyse.yaml'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Food.html
Food.pm:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Food.pm'
# Food groups are a 3 level hierarchy of groups that are used by researchers (in particular researches from the EREN team that created the Nutri-Score).
# In France, food groups are referred to as "PNNS groups" (PNNS stands for "Programme National Nutrition et Santé").
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/FoodGroups.html
Food groups:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/FoodGroups.pm'
- any-glob-to-any-file: 'tests/unit/food_groups.t'
- any-glob-to-any-file: 'taxonomies/food_groups.txt'
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/7528
🧪 Additives:
- changed-files:
- any-glob-to-any-file: 'taxonomies/additives.txt'
- any-glob-to-any-file: 'taxonomies/additives_classes.txt'
- any-glob-to-any-file: 'scripts/merge_additives_lists.pl'
- any-glob-to-any-file: 'scripts/extract_additives.pl'
- any-glob-to-any-file: 'scripts/add_efsa_evaluations_to_additives_taxonomy.pl'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/additive.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/additives.tt.json'
- any-glob-to-any-file: 'scripts/authorized_additives.pl'
- any-glob-to-any-file: 'scripts/check_additives_taxonomy.pl'
- any-glob-to-any-file: 'taxonomies/additives.result.sto'
- any-glob-to-any-file: 'taxonomies/additives.result.txt'
# https://envol-vert.org/en/methodology/
# This is a score designed by a French NGO to assess the deforestation impact (in sq meters)
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/ForestFootprint.html
# Tracking issue:
🌳 Forest Footprint:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/ForestFootprint.pm'
- any-glob-to-any-file: 'tests/unit/forest_footprint.t'
# https://dev.maxmind.com/geoip
# Geolite is used to recognize the IP's country to add the country where sold field + scan stats
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/GeoIP.html
📍 geolite:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/GeoIP.pm'
- any-glob-to-any-file: 'scripts/test_geoip.pl'
# Scan statistics allow us to concentrate efforts on impactful products, and add countries where sold
# GS1 is a standardization organization around product data. They also sell and manage barcodes. They have per-country entities.
# The producer platform is integrating with the GS1 product data formats.
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/GS1.html
GS1:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/GS1.pm'
- any-glob-to-any-file: 'tests/unit/import_gs1.t'
- any-glob-to-any-file: 'scripts/convert_gs1_json_to_off_csv.pl'
- any-glob-to-any-file: 'scripts/convert_gs1_xml_to_json_in_dir.pl'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Import.html
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/ImportConvert.html
Data import:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Import.pm'
- any-glob-to-any-file: 'lib/ProductOpener/ImportConvert.pm'
- any-glob-to-any-file: 'scripts/convert_csv_file.pl'
- any-glob-to-any-file: 'cgi/generate_sample_import_file.pl'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Ingredients.html
🥗 Ingredients:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Ingredients.pm'
- any-glob-to-any-file: 'taxonomies/food/ingredients.txt'
- any-glob-to-any-file: 'tests/unit/ingredients.t'
- any-glob-to-any-file: 'tests/unit/ingredients_analysis.t'
- any-glob-to-any-file: 'tests/unit/ingredients_clean.t'
- any-glob-to-any-file: 'tests/unit/ingredients_nesting.t'
- any-glob-to-any-file: 'tests/unit/ingredients_parsing.t'
- any-glob-to-any-file: 'tests/unit/ingredients_parsing_todo.t'
- any-glob-to-any-file: 'tests/unit/ingredients_percent.t'
- any-glob-to-any-file: 'tests/unit/ingredients_processing.t'
- any-glob-to-any-file: 'tests/unit/ingredients_tags.t'
- any-glob-to-any-file: 'scripts/test_ingredient_parser.pl'
# We want to improve the analysis of ingredient list to extract ingredients and their properties, across languages.
# This is helpful to determine if a product is vegan, vegetarian, contains palm oil, is kosher/halal, the exact Nutri-Score, how much environmental impact it has…
# https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5706
# Project: https://github.com/orgs/openfoodfacts/projects/38
🥗🔍 Ingredients analysis:
- changed-files:
- any-glob-to-any-file: 'templates/web/pages/product/includes/ingredients_analysis.tt.html'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_help.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_details.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_property.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis.tt.json'
- any-glob-to-any-file: 'cgi/test_ingredients_analysis.pl'
- any-glob-to-any-file: 'scripts/test_extract_ingredients_from_text.pl'
- any-glob-to-any-file: 'scripts/list_ingredients.pl'
- any-glob-to-any-file: 'scripts/extract_individual_ingredients.pl'
- any-glob-to-any-file: 'scripts/aggregate_ingredients.pl'
- any-glob-to-any-file: 'lib/ProductOpener/Ingredients.pm'
# Labels are all claims present on product packages.
# https://wiki.openfoodfacts.org/Labels
# Tracking issue:
Labels:
- changed-files:
- any-glob-to-any-file: 'taxonomies/food/labels.txt'
- any-glob-to-any-file: 'taxonomies/unused/labels_categories.txt'
# Categories allow easy product comparison, they are also mobilized in Nutri-Score and NOVA groups computation.
# They are also used to fetch the right LCA from agribalyse, for Eco-Score computation.
Categories:
- changed-files:
- any-glob-to-any-file: 'taxonomies/food/categories.txt'
# Brands are not yet taxonomized, thus brands taxonomy is in the unused folder.
brands:
- changed-files:
- any-glob-to-any-file: 'taxonomies/unused/brands.txt'
# Origins are used for Eco-Score computation. We want to have structured origins.
# Tracking issue:
📍 Origins:
- changed-files:
- any-glob-to-any-file: 'taxonomies/origins.txt'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'tests/unit/parse_origins_from_text.t'
# Wiki page: https://wiki.openfoodfacts.org/Knowledge_panels
# Knowledge panels are JSON data that describe content to be displayed to the user.
# They are currently used on the new mobile flutter application and on the Product Opener web platform.
# Knowledge panels is a system (API+Web) to make it easy to distribute knowledge on all platforms, in all languages, while minimizing code updates client-side.
# Introduction: https://openfoodfacts.github.io/openfoodfacts-server/introduction/knowledge-panels/
# Reference documentation: https://openfoodfacts.github.io/openfoodfacts-server/reference/api/#get-/api/v2/product/-barcode--fields-knowledge_panels
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/KnowledgePanels.html
# Tracking issue:
📖 Knowledge panels:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/KnowledgePanels.pm'
- any-glob-to-any-file: 'templates/api/knowledge-panels/**/*'
- any-glob-to-any-file: 'templates/web/panels/image.tt.html'
- any-glob-to-any-file: 'templates/web/panels/panel.tt.html'
- any-glob-to-any-file: 'templates/api/knowledge-panels/root.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/palm_oil.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/label.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/total.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/carbon_footprint.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/environment_card.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_extended.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/production_system.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/ecoscore_not_applicable.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/packaging.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/agribalyse.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/manufacturing_place.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/packaging_recycling.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/origins_of_ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/threatened_species.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/recommendations/health/fr/spf_pulses.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/recommendations/health/fr/spf_alcohol.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/recommendations/health/world/who_alcohol.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/health_card.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/nova.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition_panels.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients_panels.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/additive.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/additives.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutriscore/nutriscore.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_help.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_details.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/ingredients/ingredients_analysis_property.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition/serving_size.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition/nutrient_level.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition/physical_activities.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition/nutrition_facts_table.tt.json'
- any-glob-to-any-file: 'tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels.json'
- any-glob-to-any-file: 'tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels-fr.json'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/**'
- any-glob-to-any-file: 'lib/ProductOpener/KnowledgePanelsTags.pm'
- any-glob-to-any-file: 'docs/api/explain-knowledge-panels.md'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/panel.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/panels.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/text_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/image_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/panel_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/table_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/title_element.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/knowledge_panels/elements/panel_group_element.yaml'
# Tracking issue:
Serving size:
- changed-files:
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutrition/serving_size.tt.json'
- any-glob-to-any-file: 'tests/unit/food_normalize_serving_size.t'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Lang.html
lang:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Lang.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Mail.html
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5730
📨 Mail:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Mail.pm'
- any-glob-to-any-file: 'templates/emails/import_csv_file_admin_notification.tt.html'
- any-glob-to-any-file: 'templates/emails/user_new_pro_account_admin_notification.tt.html'
- any-glob-to-any-file: 'lib/ProductOpener/Brevo.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Brevo.html
# We use https://www.brevo.com/fr/ to send Newsletter to users who have opted in. Currently programmatic emails are sent directly by our own servers.
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5730
📨 Emails - Brevo:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Brevo.pm'
- any-glob-to-any-file: 'tests/unit/brevo.t'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/MainCountries.html
MainCountries:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/MainCountries.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Numbers.html
Numbers:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Numbers.pm'
# Ensuring our support of Nutri-Score stays first-class, that we make it easy to get on new/incomplete products, easy to understand, and easy to leverage (search, filtering…)
# https://world.openfoodfacts.org/nutriscore
# Read how Open Food Facts was instrumental in disseminating Nutri-Score: https://world.openfoodfacts.org/open-food-facts-and-the-nutriscore
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Nutriscore.html
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5517
# Project: https://github.com/orgs/openfoodfacts/projects/92
🚦 Nutri-Score:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Nutriscore.pm'
- any-glob-to-any-file: 'templates/web/pages/product/includes/nutriscore.tt.html'
- any-glob-to-any-file: 'templates/web/pages/product/includes/nutriscore_details.tt.html'
- any-glob-to-any-file: 'templates/api/knowledge-panels/health/nutriscore/nutriscore.tt.json'
- any-glob-to-any-file: 'tests/unit/nutriscore.t'
- any-glob-to-any-file: 'tests/unit/ingredients_nutriscore.t'
- any-glob-to-any-file: 'tests/unit/ingredients_nutriscore.t'
- any-glob-to-any-file: 'scripts/add_nutriscore_to_scanbot_csv.pl'
- any-glob-to-any-file: 'docs/introduction/get-the-nutriscore.md'
- any-glob-to-any-file: 'docs/api/ref/schemas/product_nutriscore.yaml'
Nutrients:
- changed-files:
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrients.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrient_unit.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/get_nutrients.yaml'
Nutrition facts:
- changed-files:
- any-glob-to-any-file: 'docs/api/ref/schemas/product_nutrition.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/nutrition_search.yaml'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Orgs.html
🏭 Orgs:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Orgs.pm'
# https://blog.openfoodfacts.org/en/news/discover-what-food-products-are-made-near-you-with-made-near-me
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/PackagerCodes.html
# Tracking issue:
📍🏭 Packager Codes:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/PackagerCodes.pm'
- any-glob-to-any-file: 'tests/unit/packager_codes.t'
- any-glob-to-any-file: 'scripts/packager-codes/de-packagers-refresh.pl'
- any-glob-to-any-file: 'scripts/packager-codes/ee-packagers-xml2tsv.pl'
- any-glob-to-any-file: 'scripts/packager-codes/es-packagers-html2csv.pl'
- any-glob-to-any-file: 'scripts/packager-codes/fi-packagers-xls2csv.pl'
- any-glob-to-any-file: 'scripts/packager-codes/fr-packagers-refresh.pl'
- any-glob-to-any-file: 'scripts/packager-codes/se-packagers-html2tsv.pl'
- any-glob-to-any-file: 'scripts/packager-codes/si-packagers-refresh.py'
- any-glob-to-any-file: 'scripts/update_packager_codes.pl'
- any-glob-to-any-file: 'scripts/update_packager_codes_fsa_ratings.pl'
- any-glob-to-any-file: 'scripts/test_normalize_packaging_codes.pl'
- any-glob-to-any-file: 'scripts/update_emb_codes_in_mongodb.pl'
- any-glob-to-any-file: 'packager-codes/**'
- any-glob-to-any-file: 'tests/integration/expected_test_results/facets/packager-code_fr-85-222-003-ec.json'
- any-glob-to-any-file: 'tests/integration/expected_test_results/facets/packager-code_fr-85-222-003-ce.json'
- any-glob-to-any-file: 'packager-codes/FR-merge-UTF-8.csv'
- any-glob-to-any-file: 'packager-codes/geocode_addresses.sto'
- any-glob-to-any-file: 'packager-codes/packager_codes.sto'
- any-glob-to-any-file: 'scripts/packager-codes/**'
# facets: facets allow you to explore products according to various criterion. Based on MongoDB
facets:
- changed-files:
- any-glob-to-any-file: 'tests/integration/expected_test_results/facets/packager-code_fr-85-222-003-ec.json'
- any-glob-to-any-file: 'tests/integration/expected_test_results/facets/packager-code_fr-85-222-003-ce.json'
# Tracking issue:
🇫🇷 France:
- changed-files:
- any-glob-to-any-file: 'packager-codes/FR-merge-UTF-8.csv'
Portugal:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/portugal-geocode.sh'
- any-glob-to-any-file: 'scripts/packager-codes/portugal-concatenate-csv-sections.py'
Estonia:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/toidukaitlejad-tsv.xsl'
Cyprus:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/cy_packagers_refresh.py'
Croatia:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/hr-packagers-refresh.pl'
Italy:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/it_packagers_refresh.py'
Non-EU traceability codes:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/non-eu/non_eu_spider.py'
- any-glob-to-any-file: 'scripts/packager-codes/non-eu/requirements.txt'
- any-glob-to-any-file: 'scripts/packager-codes/non-eu/packager_codes.py'
- any-glob-to-any-file: 'scripts/packager-codes/non-eu/pdf_extraction.py'
Poland:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/poland_packager_code.py'
Spain:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/es-packagers-html2csv.pl'
Austria:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/at_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/at_packagers_refresh_part2.py'
Czech republic:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/cz_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/cz_packagers_refresh_part2.py'
Denmark:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/dk_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/dk_packagers_refresh_part2.py'
Hungary:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/hu_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/hu_packagers_refresh_part2.py'
Ireland:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/ie_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/ie_packagers_refresh_part2.py'
Luxembourg:
- changed-files:
- any-glob-to-any-file: 'scripts/packager-codes/lu_packagers_refresh_part1.py'
- any-glob-to-any-file: 'scripts/packager-codes/lu_packagers_refresh_part2.py'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Redis.html
Redis:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Redis.pm'
📦 Packaging shapes:
- changed-files:
- any-glob-to-any-file: 'taxonomies/packaging_shapes.txt'
- any-glob-to-any-file: 'taxonomies/packaging_shapes.result.sto'
- any-glob-to-any-file: 'taxonomies/packaging_shapes.result.txt'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/shape.yaml'
# Packaging is the #1 topic consumers care about when it comes to the environmental impact of food.
# While packaging is not actually the #1 impact by magnitude, it's one that is actionable, and that we try to have good support for.
# https://wiki.openfoodfacts.org/Category:Recycling
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Packaging.html
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/PackagingStats.html
# Tracking issue:
📦 Packaging:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Packaging.pm'
- any-glob-to-any-file: 'lib/ProductOpener/PackagingStats.pm'
- any-glob-to-any-file: 'taxonomies/packaging_materials.txt'
- any-glob-to-any-file: 't/packaging.t'
- any-glob-to-any-file: 'cgi/packaging.pl'
- any-glob-to-any-file: 'icons/packaging.svg'
- any-glob-to-any-file: 'taxonomies/old/packagings.txt'
- any-glob-to-any-file: 'taxonomies/packaging.result.sto'
- any-glob-to-any-file: 'taxonomies/packaging.result.txt'
- any-glob-to-any-file: 'taxonomies/packaging_shapes.txt'
- any-glob-to-any-file: 'taxonomies/packaging_materials.txt'
- any-glob-to-any-file: 'taxonomies/packaging_recycling.txt'
- any-glob-to-any-file: 'taxonomies/packaging_shapes.result.sto'
- any-glob-to-any-file: 'taxonomies/packaging_shapes.result.txt'
- any-glob-to-any-file: 'html/images/lang/en/packaging/**/*'
- any-glob-to-any-file: 'html/images/icons/packaging-shapes/README'
- any-glob-to-any-file: 'taxonomies/packaging_materials.result.sto'
- any-glob-to-any-file: 'taxonomies/packaging_materials.result.txt'
- any-glob-to-any-file: 'taxonomies/packaging_recycling.result.sto'
- any-glob-to-any-file: 'taxonomies/packaging_recycling.result.txt'
- any-glob-to-any-file: 'html/images/icons/packaging-shapes/LICENCE'
- any-glob-to-any-file: 'html/images/lang/jp/packaging/**/*'
- any-glob-to-any-file: 'html/images/lang/de/packaging/**/*'
- any-glob-to-any-file: 't/expected_test_results/packaging/**/*'
- any-glob-to-any-file: 'html/images/icons/packaging-shapes/dark-mode/**/*'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/packaging_recycling.tt.json'
- any-glob-to-any-file: 'templates/api/knowledge-panels/environment/ecoscore/packaging.tt.json'
- any-glob-to-any-file: 'tests/unit/packaging.t'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/**'
- any-glob-to-any-file: 'scripts/gen_packaging_stats.pl'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/packagings.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/shape.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/material.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/packagings/recycling.yaml'
# Our Producers Platform (https://world.pro.openfoodfacts.org) lets food producers import their product data/images using Excel files or Product Information Systems like EQUADIS or AGENA3000.
# It also provides opportunity for product improvement (currently only for Nutri-Score)
# https://wiki.openfoodfacts.org/Platform_for_producers
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Producers.html
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/ProducersFood.html
# Tracking issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/5521
🏭 Producers Platform:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/GS1.pm'
- any-glob-to-any-file: 'lib/ProductOpener/Orgs.pm'
- any-glob-to-any-file: 'lib/ProductOpener/Import.pm'
- any-glob-to-any-file: 'lib/ProductOpener/ImportConvert.pm'
- any-glob-to-any-file: 'lib/ProductOpener/Producers.pm'
- any-glob-to-any-file: 'lib/ProductOpener/ProducersFood.pm'
- any-glob-to-any-file: 'scripts/export_producers_platform_data_to_public_database.sh'
- any-glob-to-any-file: 'lib/ProductOpener/ProducersFood.pm'
- any-glob-to-any-file: 'templates/web/pages/org_form/org_form.tt.html'
- any-glob-to-any-file: 'templates/web/pages/org_profile/org_profile.tt.html'
- any-glob-to-any-file: 'templates/web/pages/import_file_upload/import_file_upload.tt.html'
- any-glob-to-any-file: 'templates/web/pages/export_products/export_products.tt.html'
- any-glob-to-any-file: 'templates/web/pages/remove_products/remove_products.tt.html'
- any-glob-to-any-file: 'tests/unit/producers.t'
- any-glob-to-any-file: 'scripts/import_csv_file.pl'
- any-glob-to-any-file: 'scripts/import_fleurymichon.pl'
- any-glob-to-any-file: 'scripts/import_systemeu.pl'
- any-glob-to-any-file: 'scripts/convert_nestle_nutrition_data.pl'
- any-glob-to-any-file: 'scripts/convert_carrefour_data.pl'
- any-glob-to-any-file: 'tests/unit/import.t'
- any-glob-to-any-file: 'tests/unit/import_convert_carrefour_france.t'
- any-glob-to-any-file: 'scripts/tag_stores_magasins_u.pl'
- any-glob-to-any-file: 'lib/ProductOpener/ImportConvertCarrefourFrance.pm'
- any-glob-to-any-file: 'cgi/remove_products.pl'
- any-glob-to-any-file: 'scripts/remove_all_private_products_for_owner.pl'
- any-glob-to-any-file: 'scripts/gen_pro_users_emails_list.pl'
- any-glob-to-any-file: 'cgi/import_products_categories_from_public_database.pl'
- any-glob-to-any-file: 'scripts/imports/agena3000/run_agena3000_import.sh'
- any-glob-to-any-file: 'scripts/bayard-import/run_bayard_import.sh'
- any-glob-to-any-file: 'scripts/codeonline-import/run_codeonline_import.sh'
- any-glob-to-any-file: 'scripts/codeonline-import/split_gs1_codeonline_json.pl'
- any-glob-to-any-file: 'scripts/codeonline-import/stats_gs1_codeonline_json.pl'
- any-glob-to-any-file: 'scripts/equadis-import/run_equadis_import.sh'
- any-glob-to-any-file: 'cgi/generate_sample_import_file.pl'
# AGENA3000 is a PIM (Product Information Management) system that is compatible with the producer platform
🏭 AGENA3000:
- changed-files:
- any-glob-to-any-file: 'scripts/imports/agena3000/run_agena3000_import.sh'
# Bayard is a PIM (Product Information Management) system that is compatible with the producer platform
🏭 Bayard:
- changed-files:
- any-glob-to-any-file: 'scripts/bayard-import/run_bayard_import.sh'
# CodeOnline was a project by GS1 France that was attempting to replicate Open Food Facts.
🏭 CodeOnline:
- changed-files:
- any-glob-to-any-file: 'scripts/codeonline-import/run_codeonline_import.sh'
- any-glob-to-any-file: 'scripts/codeonline-import/split_gs1_codeonline_json.pl'
- any-glob-to-any-file: 'scripts/codeonline-import/stats_gs1_codeonline_json.pl'
# EQUADIS is a PIM (Product Information Management) system that is compatible with the producer platform
🏭 EQUADIS:
- changed-files:
- any-glob-to-any-file: 'scripts/equadis-import/run_equadis_import.sh'
- any-glob-to-any-file: 'tests/unit/expected_test_results/import_gs1/equadis_unilever_obf_signal.off.json'
- any-glob-to-any-file: 'tests/unit/expected_test_results/import_gs1/equadis_unilever_obf_signal.json'
🏭 Producer platform - improvement opportunities:
- changed-files:
- any-glob-to-any-file: 'taxonomies/improvements.txt'
🏭 Producers Platform - Odoo:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/CRM.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Store.html
Store:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Store.pm'
- any-glob-to-any-file: 'tests/unit/store.t'
# Our users and producers upload images. They can be cropped, rotated, unselected in various languages, using the web interface or the API.
# The better cropped the images, the better the legibility of photographic proofs, the better the OCR results.
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Images.html
🖼️ Images:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Images.pm'
- any-glob-to-any-file: 'cgi/product_image_crop.pl'
- any-glob-to-any-file: 'cgi/product_image_move.pl'
- any-glob-to-any-file: 'cgi/product_image_rotate.pl'
- any-glob-to-any-file: 'cgi/product_image_unselect.pl'
- any-glob-to-any-file: 'cgi/product_image_upload.pl'
- any-glob-to-any-file: 'scripts/delete_old_cropped_images.pl'
- any-glob-to-any-file: 'docs/ref/api/requestBodies/crop_a_photo.yaml'
- any-glob-to-any-file: 'docs/ref/api/requestBodies/add_photo_to_existing_product.yaml'
- any-glob-to-any-file: 'docs/api/tutorial-uploading-photo-to-a-product.md'
# images
- any-glob-to-any-file: 'docs/api/ref/schemas/product_images.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_role.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_size.yaml'
- any-glob-to-any-file: 'docs/api/ref/schemas/image_urls.yaml'
# WRITE - photos
- any-glob-to-any-file: 'docs/api/ref/requestBodies/unselect_a_photo.yaml'
- any-glob-to-any-file: 'docs/api/ref/requestBodies/crop_a_photo.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/ocr_on_product.yaml'
- any-glob-to-any-file: 'docs/api/ref/responses/rotate_a_photo.yaml'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Products.html
Products:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Products.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Recipes.html
Recipes:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Recipes.pm'
- any-glob-to-any-file: 'templates/web/pages/recipes/recipes.tt.html'
- any-glob-to-any-file: 'tests/unit/recipes.t'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Text.html
Text:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Text.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/URL.html
URL:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/URL.pm'
# https://openfoodfacts.github.io/openfoodfacts-server/dev/ref-perl-pod/ProductOpener/Web.html
Web:
- changed-files:
- any-glob-to-any-file: 'lib/ProductOpener/Web.pm'