!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
5 Mar 2024
@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
@patka_123:matrix.org@patka_123:matrix.org There's not really much reason behind when a package is within phpPackages and when it is by-name, is there? (I understand the intention between the seperation, but currently there are a lot of tool within the phpPackages). A thing like phpstan might as well be in by-name, right? 19:33:22
@drupol:matrix.orgPol patka: Definitely true. 19:39:25
@drupol:matrix.orgPolThis is something I would like to do at some point.19:39:34
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
One less jq trick :)
Yep, one things less, it's better and better!
19:39:56
@drupol:matrix.orgPolI guess we can safely merge19:40:08
@tgerbet:matrix.orgtgerbetDone, I was waiting the confirmation from at least one Darwin builder19:41:01
@drupol:matrix.orgPolexcellent19:41:18
@drupol:matrix.orgPolwho's taking care of the backport?19:41:30
@patka_123:matrix.org@patka_123:matrix.org

Pol you mean moving to by-name? Then there won't be much phpPackages left, right?

I'd like to try a package since I think it would be interesting to figure out how to move something to by-name.

19:42:14
@drupol:matrix.orgPol
In reply to @patka_123:matrix.org

Pol you mean moving to by-name? Then there won't be much phpPackages left, right?

I'd like to try a package since I think it would be interesting to figure out how to move something to by-name.

yes, you can start with PHPStan or PSalm ?
19:42:49
@patka_123:matrix.org@patka_123:matrix.org Yeah, I think I'll go with phpstan, since I use that at work so then I'll also add myself as maintainer 19:44:14
@patka_123:matrix.org@patka_123:matrix.org Would it be a problem if I add myself as a php maintainer btw? I guess I'm still a newb, but more active than some currently on the list 19:45:10
@drupol:matrix.orgPolNo it's fine, help is always welcome19:46:29
@drupol:matrix.orgPol tgerbet: backport PR: https://github.com/NixOS/nixpkgs/pull/293574 20:17:02
@drupol:matrix.orgPolThat PR contains the latest PRs we've been doing for PHP20:17:22
@drupol:matrix.orgPolAnd another one: https://github.com/NixOS/nixpkgs/pull/29358222:10:10
@drupol:matrix.orgPolValidated by Jordi haha :D22:12:55

Show newer messages


Back to Room ListRoom Version: 6