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

[14.0] shopinvader_image: improve image metadata handling #1563

Open
wants to merge 4 commits into
base: 14.0
Choose a base branch
from

Conversation

simahawk
Copy link
Contributor

Please see atomic commits for details.

simahawk added 2 commits July 29, 2024 11:40
Add methods to get alt name and tag.
* do not ignore image.alt_name
* count alt_name for store hash
@simahawk simahawk changed the title shopinvader_image: improve image metadata handling [14.0] shopinvader_image: improve image metadata handling Jul 29, 2024
@sebastienbeau sebastienbeau added this to the 14.0 milestone Sep 19, 2024
Copy link
Contributor

@mmequignon mmequignon left a comment

Choose a reason for hiding this comment

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

LG, can you please rebase ?

Comment on lines +84 to +86
self.shopinvader_variant.invalidate_cache(["images"])
# value tags
self.shopinvader_variant.invalidate_cache(["images"])
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
self.shopinvader_variant.invalidate_cache(["images"])
# value tags
self.shopinvader_variant.invalidate_cache(["images"])
# value tags
self.shopinvader_variant.invalidate_cache(["images"])

Copy link
Contributor

Choose a reason for hiding this comment

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

done

When the tag is not valued is pointless to store empty values for all scales.
@mmequignon
Copy link
Contributor

tests are red, I'll have a look

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

Successfully merging this pull request may close these issues.

3 participants