!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
26 Jan 2023
@drupol:matrix.orgPolThere is no PHAR available08:38:32
@drupol:matrix.orgPolWhat would be the best option if we want to provide PHPActor independently ?08:39:26
@drupol:matrix.orgPolI found a workaround :D https://github.com/phpactor/phpactor/issues/26#issuecomment-140472148109:08:20
@drupol:matrix.orgPolBy the way, it would be nice to review this PR! https://github.com/NixOS/nixpkgs/pull/212296 09:14:50
@drupol:matrix.orgPol It's merged, thanks etu ! 18:42:20
28 Jan 2023
@drupol:matrix.orgPol tgerbet: Thanks for this !!!! https://github.com/LeSuisse/shelly-ht-action-prometheus I'm planning to set it up today on my raspberry router :) 08:32:33
@drupol:matrix.orgPolThere is also this one: https://github.com/aexel90/shelly_exporter10:51:17
@drupol:matrix.orgPolWhich might be easier to setup for me10:51:24
@drupol:matrix.orgPolSadly the second one doesn't work: https://github.com/aexel90/shelly_exporter/issues/311:16:03
@tgerbet:matrix.orgtgerbetI implemented it using the action calls to not have to rely on their cloud SaaS in my home infra. Different tradeoffs between the 2 I guess :) 11:18:15
@drupol:matrix.orgPolYes indeed, I don't have a mqtt server so, the second one might be a better option for me11:19:26
@tgerbet:matrix.orgtgerbetNo need for a MQTT broker in both cases I think. In my situation you have to add an action call in the sensor configuration. When the sensor wakes up it sends a POST request against the URL. The service listens to that and exposes the ingested data in the format Prometheus expects11:25:44
@drupol:matrix.orgPolOh I might try then.11:35:57
30 Jan 2023
@drupol:matrix.orgPol tgerbet: I submitted a PR for the second project... feel free to give a review: https://github.com/NixOS/nixpkgs/pull/213534 12:54:34
@drupol:matrix.orgPol tgerbet: How to add the test in there ^^ ? 19:15:39
@drupol:matrix.orgPol tgerbet: How do you run the test of this new module? 21:22:00
5 Feb 2023
@drupol:matrix.orgPolCan we have a look at : https://github.com/NixOS/nixpkgs/pull/21403419:20:25
6 Feb 2023
@drupol:matrix.orgPol Thanks etu ^^ The backport is ready as well: https://github.com/NixOS/nixpkgs/pull/214885 10:06:45
@drupol:matrix.orgPol ma27: These failures are unpredictable and related to the tests. I can't personally do anything about them. 10:07:11
@ma27:nicht-so.sexyma27Can't we skip them (on Darwin at least)?10:07:31
@drupol:matrix.orgPol I don't know, maybe we should ask etu or Jan Tojnar about that. 10:08:42
@etu:failar.nuetuI guess we could yes10:34:50
@tgerbet:matrix.orgtgerbet

I checked the logs to compare with the previous bumps (https://github.com/NixOS/nixpkgs/pull/208928) and it looks like it is mostly the same tests that fail:

Blacklist (with glob, quote and comments) [tests/blacklist.phpt]
Bug #66338 (Optimization binding of class constants is not safely opcacheable) [tests/bug66338.phpt]
Bug #78106: Path resolution fails if opcache disabled during request [tests/bug78106.phpt]
ISSUE #115 (path issue when using phar) [tests/issue0115.phpt]
ISSUE #149 (Phar mount points not working this OPcache enabled) [tests/issue0149.phpt]
revalidate_path 01: OPCache must cache only resolved real paths when revalidate_path is set [tests/revalidate_path_01.phpt]
10:38:05
@tgerbet:matrix.orgtgerbet tests/blacklist.phpt is new if we compare the 2 PRs 10:38:40
@tgerbet:matrix.orgtgerbet * tests/blacklist.phpt failure is new if we compare the 2 PRs 10:38:50
@tgerbet:matrix.orgtgerbet

Excluding tests/blacklist.phpt all the tests that are failing are the ones starting a small CLI server

https://github.com/php/php-src/blob/php-8.2.2/ext/opcache/tests/bug66338.phpt#L33
https://github.com/php/php-src/blob/php-8.2.2/ext/opcache/tests/php_cli_server.inc

🤔

10:57:33
@tgerbet:matrix.orgtgerbet

__darwinAllowLocalNetworking for opcache is set to true but I'm not sure if the value is correctly set in when we build the extension

https://github.com/NixOS/nixpkgs/blob/8faf826ce5d79eeb731d77927cd850e53d7773d7/pkgs/top-level/php-packages.nix#L415
https://github.com/NixOS/nixpkgs/blob/2b013e9bc2a74fc63ff6714485b4a4325be59c00/pkgs/stdenv/generic/make-derivation.nix#L281

21:46:24
@tgerbet:matrix.orgtgerbet *

__darwinAllowLocalNetworking for opcache is set to true but I'm not sure if the value is correctly set when we build the extension

https://github.com/NixOS/nixpkgs/blob/8faf826ce5d79eeb731d77927cd850e53d7773d7/pkgs/top-level/php-packages.nix#L415
https://github.com/NixOS/nixpkgs/blob/2b013e9bc2a74fc63ff6714485b4a4325be59c00/pkgs/stdenv/generic/make-derivation.nix#L281

21:47:14
@tgerbet:matrix.orgtgerbetTesting something here: https://github.com/NixOS/nixpkgs/pull/21500421:48:57
7 Feb 2023
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
Testing something here: https://github.com/NixOS/nixpkgs/pull/215004
Looks like it works !
07:37:19

Show newer messages


Back to Room ListRoom Version: 6