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: allow to query tags without normalization #11008

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

stephanegigandet
Copy link
Contributor

This is to be able to run commands with update_all_products.pl like:

./scripts/update_all_products.pl --query categories_tags=en:some-old-entry-that-is-now-a-synonym!

the ending ! means that the value should not be normalized with the taxonomy, but instead should be searched for as specified in mongodb

Copy link
Member

@teolemon teolemon left a comment

Choose a reason for hiding this comment

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

Very nice one. It would be nice to have a 2nd script that gathers all changed tags between 2 releases, and automatically runs this script on affected products

@teolemon
Copy link
Member

Just created an issue about it with pseudo code: #11011

@stephanegigandet stephanegigandet merged commit d8f4a2b into main Nov 14, 2024
15 checks passed
@stephanegigandet stephanegigandet deleted the query-tags-without-normalization branch November 14, 2024 16:42
stephanegigandet pushed a commit that referenced this pull request Nov 26, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.50.0](v2.49.0...v2.50.0)
(2024-11-26)


### Features

* increase donation locales
([292aa2c](292aa2c))
* increase donation locales
([#10982](#10982))
([292aa2c](292aa2c))
* japanese-donation-fix
([6ed9179](6ed9179))
* japanese-donation-fix
([#10995](#10995))
([6ed9179](6ed9179))
* nutripatrol product report
([#10991](#10991))
([6e4d43a](6e4d43a))
* openApi refactor fields parameter to support multiple values with enum
validation (getProductByBarCode/search)
([#11012](#11012))
([055d950](055d950))
* script to count product contributions by year
([#10957](#10957))
([ca320be](ca320be))
* Update tagline-off-android-v3.json - additional-languages-for-d…
([#10998](#10998))
([093f75e](093f75e))


### Bug Fixes

* allow to query tags without normalization
([#11008](#11008))
([d8f4a2b](d8f4a2b))
* API redirects for product types
([#11056](#11056))
([9f63e0f](9f63e0f))
* apidoc openApi ecoscore mapping
([#11009](#11009))
([b2f2ca9](b2f2ca9))
* copy of csv exports to amazon s3
([#10981](#10981))
([4a0cc22](4a0cc22))
* labeler.yml for Estonia packager code
([#11036](#11036))
([adbcc0b](adbcc0b))
* refactor + ignore 'null' product_type sent by app
([#11032](#11032))
([48a5322](48a5322))
* Update the mobile tagline for the donation campaign
([#10994](#10994))
([8a40a64](8a40a64))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants