!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
13 Feb 2024
@drupol:matrix.orgPolLet me spawn a shell with nixpkgs-review and I'll let you know14:44:00
@drupol:matrix.orgPolshit it's failing everywhere.15:00:41
@drupol:matrix.orgPol#investigating15:07:20
@drupol:matrix.orgPolI don't understand, it's failing on composer/ca-bundle, I don't know yet where it comes form15:11:55
@drupol:matrix.orgPolI will reproduce the issue at home and open an issue at composer/composer I guess... 15:26:49
@drupol:matrix.orgPol * I will reproduce the issue without Nix at home and open an issue at composer/composer I guess... 15:27:00
@drupol:matrix.orgPolIssue identified!15:29:54
@drupol:matrix.orgPolIt's in https://github.com/nix-community/composer-local-repo-plugin15:30:11
@drupol:matrix.orgPolFor some reason, some references are still refering Git instead of a local path15:30:25
@drupol:matrix.orgPolOh no.15:30:54
@drupol:matrix.orgPolFalse alarm.15:30:57
@patka_123:matrix.org@patka_123:matrix.orgI'm on the road now so can't do much. But there's something in the release notes about plugins https://github.com/composer/composer/releases/tag/2.7.015:42:30
@drupol:matrix.orgPolI can't reproduce it locally :S https://gist.github.com/drupol/ab25340ea5fa46e3c2f49c1d9ed5eb7115:43:43
@drupol:matrix.orgPolI will bisect properly from home... 15:44:53
@drupol:matrix.orgPolIf you want to help, I just published the shell script that I use to test15:47:57
@drupol:matrix.orgPol This is basically replicating what pkgs.php.buildComposerProject {} is doing. 15:48:16
@drupol:matrix.orgPolOk I can reproduce it locally now :)16:11:01
@drupol:matrix.orgPol I will post the issue on composer/composer ! 16:11:08
@drupol:matrix.orgPolBut first, I need to bisect it so I can show which commit broke it.16:12:03
@drupol:matrix.orgPolThe issue is in between 2.6.6 and 2.7.016:14:06
@drupol:matrix.orgPol I have a hunch, a gut feeling that tells me that this might be the issue: * Fixed update --lock not keeping the dist reference/url/checksum pinned (#11787) 16:15:44
@drupol:matrix.orgPolNot sure yet.16:15:45
@drupol:matrix.orgPol
❯ git bisect bad
042a8c212801aeac42b7a41b42cd1185ae28123a is the first bad commit
commit 042a8c212801aeac42b7a41b42cd1185ae28123a
Author: Jordi Boggiano <j.boggiano@seld.be>
Date:   Wed Jan 10 13:33:49 2024 +0100

    Ensure dist url/type/checksum remain the same when doing lock hash updates, refs #11787

 src/Composer/DependencyResolver/LockTransaction.php | 3 +++
 1 file changed, 3 insertions(+)
~/C/d/composer > 042a8c2(BISECTING)  > php ❯
16:47:53
@drupol:matrix.orgPolRight... we have the guilty commit.16:48:13
@drupol:matrix.orgPolNow I have to make a clean proof of concept issue to submit to Composer guys16:48:31
@drupol:matrix.orgPolJob done: https://github.com/composer/composer/pull/1185018:32:57
@drupol:matrix.orgPolFeeeew18:33:00
@drupol:matrix.orgPol I hope there will be a good outcome of this issue 20:41:22
@patka_123:matrix.org@patka_123:matrix.orgIf I have time and energy tomorrow I'll have a look into it because it seems interesting. Good job on the work!20:42:55
@drupol:matrix.orgPolThanks :)20:45:42

Show newer messages


Back to Room ListRoom Version: 6