Hi!
We would like to ensure that all Commerce 2.x payment gateways have Ludwig integration, to ensure that they can be installed without Composer.
You can find out more about Ludwig from this blog post: https://drupalcommerce.org/blog/49669/installing-commerce-2x-without-com...
And you can find a sample Ludwig integration here: http://cgit.drupalcode.org/commerce_ingenico/commit/?id=364f5ea
Notes:
- If your SDK has a dependency of its own in its composer.json, you must list that in the ludwig.json file as well
- You do not need to list dependencies that are included in Drupal core (such as Symfony)
If you have any doubts, you can post a patch to this issue first, and then someone from the Commerce Guys team will review.
Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2892635-4.patch | 290 bytes | devad |
Comments
Comment #2
krcha commentedSorry, just realized that this module doesn't require an external SDK.
Comment #3
devad commentedRe:
This has changed.
There is dependancy on "webmozart/assert": "*" in composer.json now.
ludwig.json file is needed as follows:
Comment #4
devad commentedThe 2.x branch is not passing tests?
Comment #6
devad commentedComment #7
devad commentedComment #9
devad commentedIt seems the branch tests need repair.
#3174994: Fix FunctionalJavascript tests
In the meantime, switching this back to "Needs review".
Comment #11
tuutti commentedHi,
I use gitlab CI to run tests, so I never bothered to setup testing for 8.x branches. Should be enabled now.
I'm not that familiar with Ludwig, but I'm pretty sure webmozart/assert is already required by some dependency.
Running
composer depends webmozart/asserton clean 8.9.x core shows that core requires it, but I'm pretty sure it's not actually included in core, so it might be worth to add it as ludwig dependency just in case.Comment #12
tuutti commented