- πΊπΈUnited States joegraduate Arizona, USA
Needs IS summary update for suggested new configuration setting. Affects all 4.x-dev (and all 4.x releases since 4.0.11).
Issue was introduced with the changes committed for #2610208: Move procedural functions to a manager β due to the deployment identifier now being used (if available) as the current_release value that is prepended to the environment title when the current_release value is not set in the state.
- πΊπΈUnited States joegraduate Arizona, USA
Closed π Remove extra strings added to the environment title after upgraded to 4.0.11 Closed: duplicate as duplicate of this issue. Credit should be included for the contributors to that issue when this fixed.
- πΊπΈUnited States ericjenkins
We have also been experiencing the random characters in parentheses prepended to the environment label. We also observed that the characters come from a
deployment_identifier
file located in our project's root directory.I'm submitting patch #20 β which is similar to #9, but it keeps the
environment_indicator.current_release
state variable check. It only replaces thedeployment_identifier
fallback with a\Drupal::VERSION
fallback. - π¦πΊAustralia pameeela
I was for disabling the fallback but I really like @ericjenkins' idea of showing the Drupal version. I think that would be useful info to highlight, whereas the deploy ID is really really not.
- First commit to issue fork.
- Merge request !43Draft: Close #3324621 Allow configuring version identifier. β (Closed) created by trackleft2
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Adding static patch for CI tools with all the changes in the merge request as of 17c96bd7b7b4d916f43bd30dd58806e21fc956bf against the 4.x branch.
- Status changed to Needs review
7 months ago 10:05pm 4 June 2024 - Merge request !44Resolve #3324621 Make version indicator source and version indicator source fallback configurable. β (Merged) created by trackleft2
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
I've added a second merge request with the fallback option in case folks think that is a better path forward. https://git.drupalcode.org/project/environment_indicator/-/merge_request...
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Adding static patch of https://git.drupalcode.org/project/environment_indicator/-/merge_request...
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Suggestion: when the none option is selected for the Source of version identifier to display field, a fall back option should not be allowed.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
I've updated the merge request to disallow setting a fallback if a primary version indicator source is set to none.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
trackleft2 β changed the visibility of the branch environment_indicator-3324621-3324621-with-fallback to hidden.
- Status changed to RTBC
6 months ago 8:51pm 26 June 2024 - πΊπΈUnited States joegraduate Arizona, USA
The changes in @trackleft2's MR work great for me in my testing. I really like that it adds additional configuration options for what is used as the version indicator and the fallback.
- πΊπΈUnited States joegraduate Arizona, USA
Uploading static patch with latest changes from MR (usable with 4.0.19).
- First commit to issue fork.
-
isholgueras β
committed cb920508 on 4.x authored by
trackleft2 β
Issue #3324621 by trackleft2, joegraduate, ericjenkins, darktek,...
-
isholgueras β
committed cb920508 on 4.x authored by
trackleft2 β
- πͺπΈSpain isholgueras
Excelent work. I'll release it in the 4.0.20 version.