I'm unfortunately finding myself in an environment where I cannot use composer, and composer_manager seems deprecated and out of favor. To work around this hindrance we've been using a project called Ludwig to handle libraries in this environment in lieu of composer. It seems to work well enough. I spent some time walking through the deps for sendgrid_integration and building a ludwig.json file. I thought I'd drop a patch here (as well as the stand alone file) for those in a similar composer-less situation.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff.txt | 921 bytes | dinesh18 |
| #5 | 2984419-5.patch | 975 bytes | dinesh18 |
| add_ludwig_file-1545920-1.patch | 1.08 KB | rho_ | |
| ludwig.tar_.gz | 387 bytes | rho_ |
Comments
Comment #2
perignon commentedComposer manager is not deprecated for D7, only for D8. Because Composer now works with contrib modules in D8 so composer manager is not needed for D8 and it isn't required by sendgrid_integration module either.
Comment #3
perignon commentedThe requirements are wrong. The module only requires:
Comment #4
perignon commentedGuzzle is already in D8 so that is taken care of out of the box.
Comment #5
dinesh18 commentedImplemented as per comment #3 and #4.
Comment #7
perignon commentedAdded! Thanks for the patch!
Comment #9
devad commentedSome of the libraries included into ludwig.json file are included into Drupal core also... so no need for them to be included twice.
And ludwig.json file is not properly configured at the moment.
Opening a follow-up to deal with that: #3174909: Fix and update Ludwig integration
New ludwig.json file has 3 libraries only... which is much more easy to maintain.