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

DB-1369: Added support to specify profile at the time of installation. #432

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

coderkakarrot
Copy link
Contributor

No description provided.

@lcatlett
Copy link
Member

@kporras07
Copy link
Collaborator

One more thing to keep in mind: what should happen if a Wordpress site receives that argument? Is there a similar concept in Wordpress? Should it be ignored or throw an error/exception?

@backlineint
Copy link

One more thing to keep in mind: what should happen if a Wordpress site receives that argument? Is there a similar concept in Wordpress? Should it be ignored or throw an error/exception?

I don't believe there is a similar concept in WordPress (I wish there was...) Is there an existing convention in build tools for anything that is CMS specific, or is this the first instance of that?

Long term, Decoupled will actually need to develop an approach to choose between different mu-plugins depending on the front end framework being used. Given that, I wonder if not having build tools throw an exception if profile is provided could open up some options to solve that problem. In a way, we're really using mu-plugins as a stand in for install profiles. The other alternative would probably be adding an mu-plugin option of some kind.

@backlineint
Copy link

I tested the latest version of this branch with the project create command we've been using to create a CMS backend using install profiles for decoupled. Confirmed that it can be used to install our pantheon_decoupled_profile and pantheon_decoupled_umami_demo profiles. Also confirmed that if --profile is not provided the site is installed using the standard profile.

@greg-1-anderson
Copy link
Member

OK, seems fine. As follow-on work, it would be nice if an error or at least a warning were shown if profile was specified, but does not appear in the site install template. The existing code doesn't have this capability, so I am fine continuing without it for now.

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

Successfully merging this pull request may close these issues.

5 participants