-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
ext-pdo_sqlite
is not really installable
#121
Comments
I remember that I somewhere had some kind of mapping for these cases... 🤔 |
That was somehow removed but only relates to |
In composer, |
Mh, could you try to actually add |
I tried adding |
Does that work or is the |
When installing sqlite3, PDO also gets PDO-Sqlite 🤷 |
That was what I was expecting. So maybe we should add some kind of "rules" for this.
This will at least avoid the CI container from failing. Is there a list of all these |
It seems that this works: https://github.com/laminas/laminas-db/blob/da6d5a49ac4f200da61b3a59096bf2717fbaf928/.laminas-ci.json#L5 |
Consider that it's not in the required dependencies though: https://github.com/laminas/laminas-db/blob/da6d5a49ac4f200da61b3a59096bf2717fbaf928/composer.json#L33-L43 |
Correct, I just try to find solutions here. Imho, the container should convert extensions to the appropriate namings of the packages. As of now, we are lucky that sury usually names packages exactly the same as they're named in PECL. Sadly, thats not the case for those if (string_starts_with($extension, 'pdo_')) {
$extension = str_replace('_', '-', $extension);
} Do we have other ideas or should we create a bug ticket within the container action? |
Totally missed this again, sorry. In practice, I ended up moving away from the laminas CI setup in https://github.com/Ocramius/event-sourcing-workshop/ for now. That said, I think we may need an explicit map of For instance, installing Sqlite3 + PDO means having |
Bug Report
Summary
Given following
composer.json
:CI fails with:
This is obviously an edge case, but even specifying extensions in
.laminas-ci.json
doesn't help, as the default behavior still stays activeThe text was updated successfully, but these errors were encountered: