Skip to content
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

Acquia Integration #5

Open
13 of 15 tasks
mikemilano opened this issue Feb 2, 2021 · 4 comments
Open
13 of 15 tasks

Acquia Integration #5

mikemilano opened this issue Feb 2, 2021 · 4 comments
Assignees

Comments

@mikemilano
Copy link

Lando init

  • List tokens that exist in a combination of Lando cache and the host system (~/.acquia) with option to add new token
  • Refactor to use Acquia's new format for storing host
  • Capture key & secret for new token & store in cache
  • List applications to select from
  • List environments to select from
  • Pull code based on git url (exists in /environments/{uuid})
  • Support local code init
  • Create .acquia-cli.yml file if it doesn't exist
  • Add composer to landofile if on an older version (i.e. 1.x)

Lando build (start/rebuild)

  • Install acli
  • Login user automatically if run after an init where we collected credentials
  • add support for memcached
  • add support for solr

Lando push/pull

  • Lando pull: environment/site selector & wrap acli pull
  • Lando push: environment/site selector & wrap acli push
@mikemilano mikemilano self-assigned this Feb 2, 2021
@jedgar1mx
Copy link

Not sure if this is the place to write this but It would be nice to have a way to indicate which host I want to send the import. This would be super helpful for multi-sites settings. It currently let's me choose what database I'm pulling from the cloud but it only updates the default database locally.

@mikemilano
Copy link
Author

@jedgar1mx I understand you are referring to lando pull but in case you are stuck, a workaround would be to fetch a backup and use lando db-import -h <host> mybackup.sql. There is internal dialog happening as to how we may address this with the pull command.

@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 24, 2021
@l-laziz
Copy link

l-laziz commented Oct 30, 2023

@jedgar1mx I understand you are referring to lando pull but in case you are stuck, a workaround would be to fetch a backup and use lando db-import -h <host> mybackup.sql. There is internal dialog happening as to how we may address this with the pull command.

I'm sure he's referring to a command lando acli pull:database site.env multisite. This command would download correct-multisite database from acquia, however when it comes to import into lando, it would by default import into the default db container and there is no option currently to specify another db container - which is necessary since lando guide is to have separate container per each multisite database.

@m435tr0d
Copy link

Not sure if this is the place to write this but It would be nice to have a way to indicate which host I want to send the import. This would be super helpful for multi-sites settings. It currently let's me choose what database I'm pulling from the cloud but it only updates the default database locally.

This recipe and scripts account for choosing a database to import into: https://github.com/nalipaz/lando-acquia-multisite-recipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants