Closed (fixed)
Project:
Varbase Email
Version:
10.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2023 at 09:21 UTC
Updated:
12 Dec 2023 at 13:20 UTC
Jump to comment: Most recent
Having old hook updates back from ~9.0.0, and ~10.0.0 in the same location in the varbase_email.install file.
Which brings number of conflicting issues for order of hooks when committing, and updating a miner or batch fix release.
Having issues when updating an old version in the old branch, then the latest branch has to shift and have the old hook updates before.
To prevent issues when upgrading to a major release.
Keep all hook updates, but archive them.
not to remove any of them
include/updates folder into the module.include/updates/v9.inc, include/updates/v10.inc include/updates/all.inc file and add the following: \Drupal::moduleHandler()->loadInclude('varbase_email', 'inc', 'include/updates/v9');
\Drupal::moduleHandler()->loadInclude('varbase_email', 'inc', 'include/updates/v10');
varbase_email.install file\Drupal::moduleHandler()->loadInclude('varbase_email', 'inc', 'include/updates/all');
Add more inc includes for more update files when needed.
include/updates with load Include based on major branches
Comments
Comment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshah✅ Released varbase_email-9.0.7
Comment #8
rajab natshah✅ Released varbase_email-10.0.0
Comment #9
rajab natshahComment #11
rajab natshah✅ Released varbase-9.0.17
Comment #12
rajab natshah✅ Released varbase-10.0.0-rc1