!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
20 Feb 2023
@etu:failar.nu@etu:failar.nuI think that for phpunit it may matter which version of PHP you run it with09:55:38
@etu:failar.nu@etu:failar.nuAnd then it should be below php-packages so you can select version09:55:53
@drupol:matrix.orgPolI don't think the same, maybe we should discuss that in the thread then? WDYT ?10:03:57
@drupol:matrix.orgPolI think we shouldn't take care of the PHP version here and always use the latest.10:04:15
@drupol:matrix.orgPol
In reply to @etu:failar.nu
I think that for phpunit it may matter which version of PHP you run it with
I could also ask Sebastian (phpunit's father) about that. We could also check how they do in other distro?
10:06:46
@etu:failar.nu@etu:failar.nuI think most people install it with composer10:19:07
@etu:failar.nu@etu:failar.nuThen you have all the right things in place10:19:15
@etu:failar.nu@etu:failar.nuI'm pretty confident that phpunit evaluates PHP with the version of PHP as you run PHP unit with.10:19:54
@etu:failar.nu@etu:failar.nuSo if you have phpunit built on php81 running against a codebase that requires php82 features... you'll have a bad time.10:20:26
@drupol:matrix.orgPolWe really need to try then10:21:02
@drupol:matrix.orgPolOr ask Sebastian?10:21:15
@etu:failar.nu@etu:failar.nuSure, do it either way, then there were also a comment on the PR that is good10:21:42
@etu:failar.nu@etu:failar.nu * Sure, do it either way, then there were also a comment on the PR that is good to consider10:21:59
@drupol:matrix.orgPolWhich one?10:42:23
23 Feb 2023
@void68:matrix.orgvoid joined the room.13:23:59
@void68:matrix.orgvoidhttps://bugs.php.net/bug.php?id=8174413:24:11
@void68:matrix.orgvoid hexa ^^^ 13:24:24
@hexa:lossy.networkhexa cc Pol etu tgerbet 13:25:13
@void68:matrix.orgvoid * https://bugs.php.net/bug.php?id=81744 https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf413:26:52
@etu:failar.nu@etu:failar.nuimage.png
Download image.png
13:27:29
@tgerbet:matrix.orgtgerbet Will took a look 13:27:40
@etu:failar.nu@etu:failar.nuSeems like we should be covered: https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf413:27:45
@tgerbet:matrix.orgtgerbet * https://github.com/NixOS/nixpkgs/pull/21634813:27:50
@tgerbet:matrix.orgtgerbetYep it was part of the last round of upgrades13:28:06
@tgerbet:matrix.orgtgerbetIt's also fixed on stable13:28:33
@drupol:matrix.orgPol I noticed that ryantm-bot does not do any updates for PHP packages. Look at composer, he hasn't been updated since last december... what can we do against that? 13:28:50
@drupol:matrix.orgPol
In reply to @void68:matrix.org
https://bugs.php.net/bug.php?id=81744 https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf4
We are faster than the security advisories :D
13:35:33
@void68:matrix.orgvoid
In reply to @drupol:matrix.org
We are faster than the security advisories :D
glad you are ;)
13:39:40
@tgerbet:matrix.orgtgerbet
In reply to @drupol:matrix.org
I noticed that ryantm-bot does not do any updates for PHP packages. Look at composer, he hasn't been updated since last december... what can we do against that?

From the look of it, it is because the attr path deducted from the package name on Repology is not correct

https://r.ryantm.com/log/php-composer/2023-02-18.log

21:42:34
@drupol:matrix.orgPolHo nice finding !21:43:14

Show newer messages


Back to Room ListRoom Version: 6