!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
5 Mar 2024
@drupol:matrix.orgPol

That idea is great because:

  1. It simplifies the composer builder
  2. It works with ALL the versions of composer including >= 2.7
11:48:11
@drupol:matrix.orgPolNow I have to work on the composer plugin, make a new release, update the complete documentation... 11:50:52
@drupol:matrix.orgPolSo, composer 2.7.1 is not yet to be included in Nix this week.11:51:06
@drupol:matrix.orgPolYou can follow the work here: https://github.com/NixOS/nixpkgs/pull/28857411:51:19
@drupol:matrix.orgPolAnd here: https://github.com/nix-community/composer-local-repo-plugin/pull/611:51:39
@drupol:matrix.orgPolSuggestions, feedback are, as usual, more than welcome.11:51:51
@drupol:matrix.orgPol * Now I have to work on the composer plugin, make a new release, update the complete documentation, write tests,... 11:52:52
@drupol:matrix.orgPolOk I did it now.12:35:10
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/pull/28857412:35:11
@drupol:matrix.orgPolReady for reviews12:35:16
@drupol:matrix.orgPolI added some contextual informations in the OP12:46:49
@drupol:matrix.orgPol tgerbet: Do you think you could review it at some point? 12:53:39
@patka_123:matrix.org@patka_123:matrix.org I just did and there is not much to review ^^ A very nice improvement! 12:55:13
@drupol:matrix.orgPol:) Thanks12:55:53
@patka_123:matrix.org@patka_123:matrix.org So now we'd only need to wait for a new composer release with your fix in it, right? 12:56:45
@drupol:matrix.orgPolNo12:57:41
@drupol:matrix.orgPolThis updated version work for ALL the composer versions now.12:57:50
@drupol:matrix.orgPolI basically updated the Composer plugin we use internally.12:58:05
@drupol:matrix.orgPol=> https://github.com/nix-community/composer-local-repo-plugin/pull/612:58:14
@patka_123:matrix.org@patka_123:matrix.org Ah, yeah right :) Makes sense 12:58:24
@drupol:matrix.orgPolThe idea from Jordi is great. I should have done that from the beginning.12:59:35
@patka_123:matrix.org@patka_123:matrix.org Come up with great idea's for projects you don't work fulltime on? ^^ If only that were possible all the time. You had a call and still came with a great solution so I'd wager it is just as good 13:03:26
@drupol:matrix.orgPolI had a real call with him indeed13:06:24
@drupol:matrix.orgPol I've demoed the issue, how it works in Nix... and then he come up with that idea of just updating the composer.lock. 13:06:42
@drupol:matrix.orgPol At first I was a bit skeptical, because the validity of composer.json vs composer.lock would be broken. 13:07:17
@drupol:matrix.orgPol But actually, the hash in the composer.lock is just the hash of the composer.json file. 13:07:34
@drupol:matrix.orgPol So updating the composer.lock file doesn't break the validity check! 13:07:46
@tgerbet:matrix.orgtgerbet
In reply to @drupol:matrix.org
tgerbet: Do you think you could review it at some point?
I will take a look at it tonight or tomorrow
13:35:31
@drupol:matrix.orgPol tgerbet: I think I've fixed it. 18:37:34
@tgerbet:matrix.orgtgerbet One less jq trick :) 19:12:55

Show newer messages


Back to Room ListRoom Version: 6