Repository navigation
Conversation
Glue module providing server environment features for image tags, keyed by their technical name. image.tag defines no server env fields, so the configuration has no effect unless another module adds some. This module only keeps such extensions working while transitioning, and is meant to be abandoned.
image.tag inherited server.env.techname.mixin without depending on server_environment. The technical name is now defined directly on the model, server environment features are moved to storage_image_product_server_env. A pre-migration step installs storage_image_product_server_env when the server environment configuration contains image_tag sections.
simahawk
force-pushed
the
18-storage_image_product-server-env
branch
from
November 20, 2026 10:50
fcdc6fd to
3d6d397
Compare
FranzPoize
approved these changes
Nov 20, 2026
Contributor
|
It looks like the intentent was not to have server_env managed field but just have a "tech_name": https://github.com/OCA/storage/pull/83/changes So no need to add the glue module. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
image.taginstorage_image_productinheritsserver.env.techname.mixinbut the module does not depend onserver_environment: it only works if something else installs it.Moreover,
image.tagdefines no server env fields: the configuration has no effect unless another module adds some. The dependency only bringstech_name.Changes:
storage_image_product:tech_name(unique) is defined directly onimage.tag, no server environment features.storage_image_product_server_env(not auto-installable): addsserver.env.mixintoimage.tag, usingtech_namefor the section name ([image_tag.<tech_name>]). It only keeps modules adding server env fields toimage.tagworking during the transition, and is meant to be abandoned.storage_image_product(18.0.1.4.0): if the server environment configuration has animage_tagorimage_tag.*section,storage_image_product_server_envis installed in the same upgrade, soserver_env_defaultsis kept.NOTE: the server env part is useful ONLY if someone implemented
_server_env_fieldsin a custom module.Closes #699