| 26 Apr 2023 |
Pol | Too much for me today ;) | 11:22:55 |
Jan Tojnar | Pol: the composer.lock contains the commit to fetch | 12:41:38 |
Pol | Yes, I got that, and I have those files locally in the PR.
I just don't understand why it would fail when trying to download phpstan/phpstan, and how to fix all the things.
I think I need a break, there's too much information right now | 14:05:13 |
Pol | (and some frustrations as well) | 14:05:23 |
Pol | I made a Composer plugin that does what composition-c4 is doing. And it works well. | 14:16:45 |
Pol | Would it be part of the solution? | 14:16:53 |
Jan Tojnar | I guess it could be implemented as a composer plug-in | 14:21:21 |
Pol | yeahh that's what I did | 14:21:31 |
Pol | Basically, I provide a new command which create a local composer repo. | 14:21:53 |
Pol | Then you can use it as an offline composer repo. | 14:22:04 |
Pol | It works. | 14:22:07 |
Pol |  Download image.png | 14:22:33 |
Pol | So basically, the plugin just uses the downloading capabilities of Composer and download the package sources.
Then it creates a tree structure with all the files etc etc. | 14:40:53 |
Pol |  Download image.png | 14:46:46 |
Pol | Here it is working. | 14:46:47 |
Pol | I don't know if it could be useful for us in this case. | 14:46:54 |
Jan Tojnar | well, the only thing I worry about is bootstrapping | 14:53:03 |
Pol | src are up: https://github.com/drupol/composer-local-repo-plugin/ | 15:00:01 |
Pol | I mostly did that thing to explore further, if it leads to nowhere, I'll delete the repo. | 15:00:15 |
Pol | Just added it to packagist if needed: https://packagist.org/packages/drupol/composer-local-repo-plugin | 15:03:17 |
Pol | Jan Tojnar: Would it be easier for you to review if I push in a branch the commits introducing fetch-deps from composition-c4 so you can make all the feedback ? | 20:14:38 |
Pol | I'm a bit desperate with this thing, a little help on this would be very welcome. | 20:15:00 |
Jan Tojnar | probably will not have time for anything deeper soon | 21:03:42 |
Jan Tojnar | * probably will not have time for anything deeper anytime soon | 21:03:49 |
| 27 Apr 2023 |
Pol | Oki | 07:31:58 |
Pol | I'm making all sorts of experimentations with the composer plugin I built. | 07:32:11 |
Pol | It turns out that it's not reproducible either. | 07:32:23 |
Pol | Let me show a screenshot. | 07:32:31 |
Pol | Redacted or Malformed Event | 07:33:28 |
Pol | That's an issue. | 07:33:32 |