Problem/Motivation
New patches are required to make this project installable.
Steps to reproduce
- Try to run Composer with composer.libraries.json included on any active Drupal core branch.
- Try enabling the schemadotorg_demo module with Drush.
Proposed resolution
Add new patches and update instructions.
Issue fork schemadotorg_demo-3366108
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
darren ohComment #4
darren ohComment #5
darren ohComment #6
jrockowitz commentedFor reference, what version of Drupal are you using? 9.5.x or 10.x?
Comment #7
darren ohI tried 9.5.x, 10.0.x, and 10.1.x. I tested the updated patches and instructions on 10.1.x. Need to test whether they work on 10.0.x and 9.5.x.
Comment #8
jrockowitz commentedThe entity embed module is not available to 10.x but we should support 9.x and 10.x. Thanks for your help.
Comment #9
darren ohOnly works with 10.1.x because the patch for #3151534: "Add another item" field button is displayed as a modal action can only work with one version.
Comment #11
darren ohComment #12
jrockowitz commented@DarrenOh What should we do about support 9.5.x and 10.x?
We could add version numbers to the composer.libraries.json.
I am included to support only 9.5.x until this ticket is resolved
#3354295: Support Drupal 10
Comment #13
jrockowitz commentedHey, entity embed is now D10 compatible.
https://www.drupal.org/project/entity_embed/releases/8.x-1.4
I think we should move the demo and all the schemadotorg code to be only for D10.
What do you think?
Comment #14
darren ohD10 only sounds good for now. I like the idea of version numbers on composer.libraries.json. I'm still working on the 3366108-not-installable-10.0.x branch. Once I have that working smoothly, I can try a D9 version.
Comment #15
jrockowitz commented@Darren Oh Let me see if I can use the PR AS-IS and get everything working via D10.
Comment #16
jrockowitz commentedHow about we move this patch for 9.5.x and 10.1.x to a composer.patches.VERSION.json file?
This will reduce code duplication.
BTW, I am not following which branch should be merged and we should reference to *.patch files and *.diff which can change.
Comment #18
jrockowitz commentedWhich MR should be merged?
Comment #19
darren ohDepends on the Drupal version you choose to support. I'm updating to just one merge request with versioned composer.libraries.json files. Curious about your idea for reducing code duplication. Can we discuss on Slack?
Comment #22
darren ohConsolidated into one merge request.
Comment #23
jrockowitz commentedThank you for merging the requests. I am going to test the changes and make some minor tweaks.
Comment #24
darren ohComment #25
jrockowitz commentedI would like to merge the patch and then make more minor tweaks as needed.
Comment #27
jrockowitz commented