-
Notifications
You must be signed in to change notification settings - Fork 14
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
Issue #204: Add a task for interacting with Acquia #442
base: main
Are you sure you want to change the base?
Conversation
@YesCT would you be able to review this please as you've tested it elsewhere? 😁 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it and it works fine. The addition of specifying the database works well to me too.
Hi @justafish, Fetching the DB worked perfectly on my local. ✅ I'm unclear if you wanted me to test the other commands on this PR. |
Co-authored-by: Beto Aveiga <luis.aveiga@gmail.com>
Co-authored-by: Beto Aveiga <luis.aveiga@gmail.com>
Co-authored-by: Beto Aveiga <luis.aveiga@gmail.com>
Co-authored-by: Beto Aveiga <luis.aveiga@gmail.com>
I will test this. |
ddev config --auto | ||
ddev start | ||
ddev composer config extra.drupal-scaffold.gitignore true | ||
ddev composer config --json extra.drupal-scaffold.allowed-packages \[\"lullabot/drainpipe\"] | ||
ddev composer config --no-plugins allow-plugins.composer/installers true | ||
ddev composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true | ||
ddev composer config --no-plugins allow-plugins.lullabot/drainpipe true | ||
ddev composer config repositories.drainpipe --json '{"type": "path", "url": "drainpipe", "options": {"symlink": false}}' | ||
ddev composer config extra.drainpipe.acquia --json '{"settings": true, "github": []}' | ||
ddev composer config minimum-stability dev | ||
ddev composer require lullabot/drainpipe --with-all-dependencies | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using composer
with --json
is failing.
I'm not clear why.
I also tried multiple JSON configurations through composer
without success.
I used this instead:
ddev config --auto
ddev start
ddev composer config --json extra.drupal-scaffold.allowed-packages \[\"lullabot/drainpipe\"]
ddev composer config --no-plugins allow-plugins.composer/installers true
ddev composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
ddev composer config --no-plugins allow-plugins.lullabot/drainpipe true
jq '.extra.drainpipe.acquia.settings = true' composer.json > tmp.json && mv tmp.json composer.json
ddev composer config minimum-stability dev
ddev composer config repositories.drainpipe path drainpipe
ddev composer config repositories.drainpipe.options.symlink false
ddev composer require lullabot/drainpipe --with-all-dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beto-aveiga it's a ddev bug, will be fixed in the next release. We fixed it on main for #729 and you can do something similar here.
relates: #204