-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
(dev/core#4999) Convert xml schema to new entityType.php format #29472
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
66cbee6
to
025c02c
Compare
db3e98e
to
de2bbf5
Compare
@colemanw OK, so here are forays into synthesizing #29472 and #29422...
For comparison, these are the sort-algorithms floating around:
|
ee4a4e7
to
0bed59e
Compare
@colemanw OK, updates:
|
8f71d49
to
f075d19
Compare
Add new low-level class to gather schema metadata
Work toward getting rid of xml-based schema files in favor of entity.php files.
There's an extra set of test-runs attached to the last commit... to confirm that tests will generally work the same in other environments. We encountered one issue which should (already) be fixed. The latest run looks OK. (The extra tests aren't green.... but they are consistent with baseline. PR supplement,baseline) |
Everything's passing & the additional test run didn't turn up anything. |
Hail, Github, full of grace, |
Amen. |
Overview
This overhauls the way schema entities are declared.
Implements plan from https://lab.civicrm.org/dev/core/-/issues/4999
Before
xml/schema/Activity/Activity.xml
).CRM/Activity/DAO/Activity.php
) and install/uninstall sql files.After
schema/Activity/Activity.entityType.php
).entityType.php
files at runtime.CRM_Core_DAO_Base
.