!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

84 Members
A room for PHP developers running on Nix25 Servers

Load older messages


SenderMessageTime
26 Apr 2023
@drupol:matrix.orgPolToo much for me today ;)11:22:55
@jtojnar:matrix.orgJan Tojnar Pol: the composer.lock contains the commit to fetch 12:41:38
@drupol:matrix.orgPolYes, 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 now14:05:13
@drupol:matrix.orgPol(and some frustrations as well)14:05:23
@drupol:matrix.orgPol I made a Composer plugin that does what composition-c4 is doing. And it works well. 14:16:45
@drupol:matrix.orgPolWould it be part of the solution?14:16:53
@jtojnar:matrix.orgJan TojnarI guess it could be implemented as a composer plug-in14:21:21
@drupol:matrix.orgPolyeahh that's what I did14:21:31
@drupol:matrix.orgPolBasically, I provide a new command which create a local composer repo.14:21:53
@drupol:matrix.orgPolThen you can use it as an offline composer repo.14:22:04
@drupol:matrix.orgPolIt works.14:22:07
@drupol:matrix.orgPolimage.png
Download image.png
14:22:33
@drupol:matrix.orgPolSo 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
@drupol:matrix.orgPolimage.png
Download image.png
14:46:46
@drupol:matrix.orgPolHere it is working.14:46:47
@drupol:matrix.orgPolI don't know if it could be useful for us in this case.14:46:54
@jtojnar:matrix.orgJan Tojnarwell, the only thing I worry about is bootstrapping14:53:03
@drupol:matrix.orgPolsrc are up: https://github.com/drupol/composer-local-repo-plugin/15:00:01
@drupol:matrix.orgPolI mostly did that thing to explore further, if it leads to nowhere, I'll delete the repo.15:00:15
@drupol:matrix.orgPolJust added it to packagist if needed: https://packagist.org/packages/drupol/composer-local-repo-plugin15:03:17
@drupol:matrix.orgPol 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
@drupol:matrix.orgPolI'm a bit desperate with this thing, a little help on this would be very welcome.20:15:00
@jtojnar:matrix.orgJan Tojnarprobably will not have time for anything deeper soon21:03:42
@jtojnar:matrix.orgJan Tojnar * probably will not have time for anything deeper anytime soon 21:03:49
27 Apr 2023
@drupol:matrix.orgPolOki07:31:58
@drupol:matrix.orgPolI'm making all sorts of experimentations with the composer plugin I built.07:32:11
@drupol:matrix.orgPolIt turns out that it's not reproducible either.07:32:23
@drupol:matrix.orgPolLet me show a screenshot.07:32:31
@drupol:matrix.orgPolRedacted or Malformed Event07:33:28
@drupol:matrix.orgPolThat's an issue.07:33:32

Show newer messages


Back to Room ListRoom Version: 6