!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
3 Apr 2023
@etu:failar.nuetuGrocy supports 8.1 at least now, according to their latest readme15:54:10
@etu:failar.nuetu

Then I see two choices...

  1. Really quickly remove PHP 8.0 right away and risk breaking a bunch of things that may not be easy to repair...
  2. Not remove it right away and have it EOL for about a month while the 23.11 is already hopefully released...
15:59:15
@etu:failar.nuetuI kinda prefer option 2 because it's slower and less sudden.15:59:32
@etu:failar.nuetuAnd then we can do it better for next cycle.15:59:48
@tgerbet:matrix.orgtgerbetMoodle is also fine since the 4.1.216:05:44
@tgerbet:matrix.orgtgerbetLimeSurvey is not ready yet Arcanist it looks like there is still some pending patches So yeah we might have to go with option 216:07:32
@tgerbet:matrix.orgtgerbetI created https://github.com/NixOS/nixpkgs/issues/224505 to track progress on the PHP 8.0 removal18:34:56
@tgerbet:matrix.orgtgerbet * I created https://github.com/NixOS/nixpkgs/issues/224505 to track progress of the PHP 8.0 removal19:02:03
4 Apr 2023
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
Feel free to chime in https://github.com/NixOS/nixpkgs/pull/221845 as well, I would like to get this in as well.
Merged! Thanks Lars Strojny !
10:47:08
6 Apr 2023
@drupol:matrix.orgPolTIL that we can avoid using PHP session and still have persistent data across requests and responses using storageless session. Basically, sessions are stored in a cookie ! Very smart.20:40:34
@jtojnar:matrix.orgJan Tojnar Pol: well, then user can modify the session data, unless you authenticate it somehow 21:36:55
@jtojnar:matrix.orgJan Tojnaralso it increases the size of every HTTP request21:37:36
7 Apr 2023
@drupol:matrix.orgPolNo, the content of the session is wrapped in a signed jwt... So good luck...01:27:17
@drupol:matrix.orgPolOMC01:31:52
@drupol:matrix.orgPolHow is this possible? https://github.com/NixOS/nixpkgs/pull/22505401:32:02
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
Merged! Thanks Lars Strojny !
This is not widely available on Nix ! Please let us know if you encounter any issue.
09:19:58
@drupol:matrix.orgPol Jan Tojnar: Can you develop your last comment with FOD? I don't understand it 09:39:44
@jtojnar:matrix.orgJan Tojnar Pol: FODs must be reproducible – the hash of their output must remain the same 09:42:24
@jtojnar:matrix.orgJan Tojnarthat is not possible if the derivation output references other derivations, since when those derivations change, so would their output paths, and as a result, the output of the FOD09:43:27
@drupol:matrix.orgPolOooh FOD => Fixed Output Derivation !09:43:50
@drupol:matrix.orgPolWhat would you suggest to fix this then?09:44:05
@drupol:matrix.orgPolI'm playing on this in this PR : https://github.com/NixOS/nixpkgs/pull/22512909:44:21
@jtojnar:matrix.orgJan Tojnar Pol: you will need to split it into two derivations like we do in composition-c4 09:50:53
@drupol:matrix.orgPolI'm going to play with it.09:51:21
@drupol:matrix.orgPolI've also opened a new issue at composer/composer: https://github.com/composer/composer/issues/1142209:51:31
@jtojnar:matrix.orgJan Tojnar Pol: see https://github.com/composer/composer/issues/9768 for previous discussion 09:52:06
@drupol:matrix.orgPolWhat would I do without you Jan, THANKS !!!09:54:47
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
Pol: you will need to split it into two derivations like we do in composition-c4
If you have an example of derivation, it would be nice. I can't find composition-c4
09:55:44
@jtojnar:matrix.orgJan Tojnar Pol: I meant https://github.com/fossar/composition-c4 09:56:04
@jtojnar:matrix.orgJan Tojnar Pol: or an example in Nixpkgs https://nixos.org/manual/nixpkgs/stable/#python-package-using-setuptools-rust 09:57:12

Show newer messages


Back to Room ListRoom Version: 6