-
-
Notifications
You must be signed in to change notification settings - Fork 607
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
Formalize support of contributed recipes, and add a command to add them #3068
Comments
The real issue here is not the command for ddev, it's the structure and maintenance of the recipes. |
I edited the title and OP quite a lot, hope it's OK. |
And this is super, super exciting. Huge project, but super exciting. Great initiative. |
I think maybe just moving supported recipes right into ddev would be the ticket. |
Any action on this? I'm thinking we need templates for:
Does this mean all supported recipes will require tests? |
I'd love to see this happen in this release cycle. If you or anybody else wants to pioneer the approach it's just there waiting! |
We should look into "chained" recipes, in case I want my project to use more than 1 recipe. Example: |
I have also thought about that. Happy to see this issue here 👍🏽 IMHO it must allow installation from any source, not just the "official" ddev-contrib. That way it becomes very interesting for all kinds of custom commands that are not worth integrating into ddev-contrib. I would recommend using PHP composer with a custom composer plugin for installation. PHP is what we all know, composer knows versioning, external/intrenal package sources and of course dependencies. Publishing on packagist is extremely easy from any Git source and even easier from Github/Gitlab. That could mean:
Ping me if you think that's interesting. If I find time I might build that for my org anyways. |
The idea here though is these recipes must be curated and tested... not sure that fits with your idea. |
To consolidate from elsewhere, the idea is to go with bats-core for testing. |
Here's what I'm thinking about for this:
Issues:
|
More thinking:
|
Is your feature request related to a problem? Please describe.
ddev-contrib
recipe, I have to follow multiple steps manually. that manual process is prone to errors.Describe the solution you'd like
ddev recipe <link_to_repo/directory>
to implement recipes in my current setup.DDEV will download for me the recipe and set it up correctly. More or less.
While an official recipe repo is the best, I think allowing other users to host ddev recipes would be awesome, as long as they keep the official TBD ddev recipe structure.
For example, to implement PHP 8.1 recipe, I should be able to run -
ddev -recipe https://github.com/rfay/ddev-contrib/tree/20210622_php8_1/docker-compose-services/php8_1
The text was updated successfully, but these errors were encountered: