openfoodfacts / open-prices

An open database of prices 🧾💸💰🏷️🤑🍽️
https://prices.openfoodfacts.org
GNU Affero General Public License v3.0
35 stars 11 forks source link

Create a script adding "Countries where sold" to products as prices are added #263

Open teolemon opened 6 months ago

teolemon commented 6 months ago

Problem

Why

Related

discussion "Send data to Open Food Facts" : https://github.com/openfoodfacts/open-prices/discussions/223

raphodn commented 6 months ago

These contributions to OFF would be attributed to which user ? Is there a good practice ?

teolemon commented 6 months ago
teolemon commented 4 months ago

Here's an example: https://prices.openfoodfacts.org/app/products/8711200454464

raphodn commented 1 month ago

image

We could add a few rules :

raphodn commented 1 month ago

For the auth, we could also create an openprices user, and pass a uuid per user in the comments.

I feel its simpler, and also better because the user didn't actually edit the product, its done in the background, so it would be weird for many users to have these products pop up in their "recently modified" list

foodvisor seems to have this mecanism