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

Compatibility with BLT 13.7 #16

Open
jaydee18 opened this issue Sep 7, 2023 · 5 comments
Open

Compatibility with BLT 13.7 #16

jaydee18 opened this issue Sep 7, 2023 · 5 comments

Comments

@jaydee18
Copy link

jaydee18 commented Sep 7, 2023

Hit there: seems like this package isn't compatible with BLT 13 and above:

"conflict": {
"acquia/blt": "<=12.5.1"
}

Is there any likelihood of this being resolved in the near term? Cheers.

@thegbomb
Copy link
Contributor

thegbomb commented Sep 20, 2023

Not sure if it helps, but I have PRs open that may solve this:
D9 version - #12
D10 version - #15

You could use my versions by doing:
composer config repositories.thegbomb-bltddev github https://github.com/thegbomb/blt-ddev
then either:
composer require lcatlett/blt-ddev:dev-d10-branch --dev
or
composer require lcatlett/blt-ddev:dev-d9-branch --dev

@thegbomb
Copy link
Contributor

If they work could you comment on the PRs to help get them approved, please

@prashantdsala
Copy link

It didn't work for me initially, but I found success using the following solution: https://github.com/thegbomb/blt-ddev. Additionally, I had to include composer require lcatlett/blt-ddev. Without this package, the blt recipes:ddev command was not accessible.

I will share the detailed steps I followed to set up Drupal 10 locally with BLT. I've uploaded the entire repository to my GitHub account, and it might prove useful for developers encountering challenges during the setup process.

Repository link: https://github.com/prashantdsala/drupalblt

I want to express my special thanks to @thegbomb for raising this issue and proving fixes here and in this blt-ddev repo also.

Thank you.

@prashantdsala
Copy link

prashantdsala commented Dec 22, 2023

I used these steps to setup Drupal 10 with DDEV and setup BLT locally:

https://gist.github.com/prashantdsala/192b25a7d6dbfe00240f4d3099f3319c

Hope it will help devs having struggle to setup.

@thegbomb
Copy link
Contributor

thegbomb commented Dec 22, 2023

Sorry, you've tested things at a slightly weird moment. I have recently released my own fork, which is why composer require thegbomb/blt-ddev works.

Prior to this week the d10 branch needed to be applied to the lcatlett repo.

I have updated the commands so that they all work without the lcatlett version.. Still hoping that the original gets updated as there being only one version out in the world would be good, but I'll continue to try to keep my verison up to date until the lcatlett version get updated to work with D10 etc.

This should work now:

composer create-project --no-interaction --no-install drupal/recommended-project drupalblt
cd drupalblt
sed -i '' -e "s|web/|docroot/|g" composer.json
composer require --dev thegbomb/blt-ddev
blt recipes:ddev --no-interaction
ddev blt setup

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

No branches or pull requests

3 participants