Use entity-type-php mixin - #272
Conversation
|
@totten I'm still unclear on why you think this mixin might not work. See my question here: civicrm/civicrm-core#24947 (comment) |
7f1f35d to
2ce7d48
Compare
|
(1) Noted in the other core thread -- in my testing,the mixin seemed to work with (2) There needs to be a registration record along the lines of this (the snippet I used for testing last night): diff --git a/mixin-backports.php b/mixin-backports.php
index b2ebdf0..918943d 100644
--- a/mixin-backports.php
+++ b/mixin-backports.php
@@ -35,6 +35,14 @@ return [
'provided-by' => '5.45.beta1',
'minimum' => '5.27', /* Compat may go back further; haven't tested */
],
+ 'entity-types-php@1' => [
+ 'version' => '1.0.0',
+ 'sha256' => 'f8e10aac991b2b3acac269a1fca81f883a295908990687959e790885a2e410c2',
+ 'remote' => 'https://raw.githubusercontent.com/civicrm/civicrm-core/8de7881b35e3f98d38b147dcf23f5a44d5dfe035/mixin/entity-types-php%401/mixin.php',
+ 'local' => 'extern/mixin/entity-types-php@1/mixin.php',
+ 'provided-by' => '5.57.beta1',
+ 'minimum' => '5.27', /* Compat may go back further; haven't tested */
+ ],
'menu-xml@1' => [
'version' => '1.0.0',
'sha256' => '4f5be44d6764816b22d0a5cdc2e047cfd9ec4acf48e548f82bb20c05db933d0e',(That obviously needs some tweaking - e.g. bump (3) So... how to put some force to the |
|
@totten that all sounds good to me. So to recap, if I run |
2ce7d48 to
8bd8dfe
Compare
|
Rebased on top of current master and sibling PR #274. |
8bd8dfe to
ed1d4d2
Compare
| 'entity-types-php@1' => [ | ||
| 'version' => '1.0.0', | ||
| 'sha256' => 'f8e10aac991b2b3acac269a1fca81f883a295908990687959e790885a2e410c2', | ||
| 'remote' => 'https://raw.githubusercontent.com/civicrm/civicrm-core/8de7881b35e3f98d38b147dcf23f5a44d5dfe035/mixin/entity-types-php%401/mixin.php', |
There was a problem hiding this comment.
@totten so this url will be prettier once civicrm/civicrm-core#24947 is merged right? IMO let's go ahead and merge it.
There was a problem hiding this comment.
Ok merged. This URL can be updated.
2740eac to
17ef649
Compare
17ef649 to
7ac0223
Compare
It's been sitting in the queue for a while. Things changed.
7ac0223 to
559af1f
Compare
|
Rebased and updated some of the numbering. CI test run looks good in a recent run (very-similar commit) with Locally, I've also tested with We should merge after he next test-run passes. |
Adds an upgrader for the new mixin. Depends on civicrm/civicrm-core#24947