| 2 Aug 2021 |
@hexa:lossy.network | *
All of these home automation tools are just shitting into their own workspace all the time.. I'm tracking zigbee2mqtt myself an packaging it with npmlock2nix and recently that piece of excellent software started running npm run build on startup... If computers haven't killed us all in 10y we surely have lost control of how to actually run software offline by then.
https://matrix.to/#/!QhvgabMQzwEQeWehhZ:lossy.network/$bu3ZzKHt4_oXlTZiga_CFvhyUjHyY8W27LFmmPGhCR4?via=lossy.network&via=matrix.org&via=nixos.dev
| 00:47:09 |
Church | Well that's horrific | 00:58:27 |
Church | Guess we have to patch the package.json? | 00:58:45 |
@hexa:lossy.network | I'm open to ideas | 01:03:14 |
@hexa:lossy.network | do you have a specific patch in mind? | 01:04:17 |
Church | Hmm, lemme see | 03:04:50 |
Church | hexa https://github.com/Koenkk/zigbee2mqtt/blob/master/index.js Could comment out/remove line 69 | 03:07:15 |
Church | That calls checkDist which calls the run build. | 03:07:34 |
Zhaofeng Li | Can we send a patch upstream to add an option? It was just added 10 days ago and they don't look very frenck-y to me | 04:25:50 |
Church | Definitely an option I think. | 05:59:25 |
Church | We can see how open they are. | 05:59:34 |
@andi:kack.it | https://github.com/Koenkk/zigbee2mqtt/issues/8145 | 08:45:28 |
@andi:kack.it | That fix they provided is sufficient to fix it in my package. I could remove the hack I added last week when this first appeared. You should always have a dist/hash file in your output that contains unknown now. That is sufficient for the application to not do any of the weird stuff during startup. | 08:52:29 |
@hexa:lossy.network | thanks | 09:18:01 |
@hexa:lossy.network | odd, that is already in 1.21.0 | 09:20:15 |
@andi:kack.it | Did you update the packaging to also do the typescript compilation? This might have been the first release where you have seen that. Not sure what versions are in nixpkgs. | 09:48:49 |
@hexa:lossy.network | nope | 09:55:11 |
@hexa:lossy.network | not if node2nix didn't handle it :) | 09:55:27 |
@andi:kack.it | Looks like you've to call npm run build somewhere in that expression. node2nix apparently only does npm install? | 09:57:54 |
| 4 Aug 2021 |
@hexa:lossy.network | ============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /build/source, configfile: pyproject.toml
plugins: aiohttp-0.3.0, mock-3.6.1, rerunfailures-10.1, xdist-2.3.0, forked-1.3.0, requests-mock-1.9.3, anyio-3.3.0, hypothesis-6.14.0
gw0 [13939] / gw1 [13939] / gw2 [13939] / gw3 [13939] / gw4 [13939] / gw5 [13939] / gw6 [13939] / gw7 [13939] / gw8 [13939] / gw9 [13939] / gw10 [13939] / gw11 [13939] / gw12 [13939] / gw13 [13939] / gw14 [13939
] / gw15 [13939] / gw16 [13939] / gw17 [13939] / gw18 [13939] / gw19 [13939] / gw20 [13939] / gw21 [13939] / gw22 [13939] / gw23 [13939] / gw24 [13939] / gw25 [13939] / gw26 [13939] / gw27 [13939] / gw28 [13939]
/ gw29 [13939] / gw30 [13939] / gw31 [13939]
........................................................................ [ 0%]
........................................................................ [ 1%]
......................................................................... [ 1%]
........................................................................ [ 2%]
........................................................................ [ 2%]
........................................................................ [ 3%]
........................................................................ [ 3%]
........................................................................ [ 4%]
....................F................................................... [ 4%]
._.
| 20:41:51 |
@hexa:lossy.network | * ============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /build/source, configfile: pyproject.toml
plugins: aiohttp-0.3.0, mock-3.6.1, rerunfailures-10.1, xdist-2.3.0, forked-1.3.0, requests-mock-1.9.3, anyio-3.3.0, hypothesis-6.14.0
gw0 [13939] / gw1 [13939] / gw2 [13939] / gw3 [13939] / gw4 [13939] / gw5 [13939] / gw6 [13939] / gw7 [13939] / gw8 [13939] / gw9 [13939] / gw10 [13939] / gw11 [13939] / gw12 [13939] / gw13 [13939] / gw14 [13939
] / gw15 [13939] / gw16 [13939] / gw17 [13939] / gw18 [13939] / gw19 [13939] / gw20 [13939] / gw21 [13939] / gw22 [13939] / gw23 [13939] / gw24 [13939] / gw25 [13939] / gw26 [13939] / gw27 [13939] / gw28 [13939]
/ gw29 [13939] / gw30 [13939] / gw31 [13939]
........................................................................ [ 0%]
........................................................................ [ 1%]
......................................................................... [ 1%]
........................................................................ [ 2%]
........................................................................ [ 2%]
........................................................................ [ 3%]
........................................................................ [ 3%]
........................................................................ [ 4%]
....................F................................................... [ 4%]
._. (home-assistant, I'll be seeing that traceback in 15-20 minutes)
| 20:46:06 |
| 5 Aug 2021 |
| ajz changed their display name from ajz229 to Mate Hajzso. | 11:44:20 |
| 6 Aug 2021 |
@hexa:lossy.network | working on v2021.8.3, they keep their releases coming fast … and there were some test errors I had to still look into | 20:59:30 |
@hexa:lossy.network | with 30 minutes iteration cycles this is getting somewhat annoying, but running the tests does uncover issues, so they're worth it | 20:59:57 |
| 7 Aug 2021 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/pull/132946 | 00:47:39 |
| 10 Aug 2021 |
| lgcl joined the room. | 14:23:45 |
CRTified | Redacted or Malformed Event | 22:32:45 |
| 12 Aug 2021 |
| ajz changed their display name from Mate Hajzso to ajz. | 19:24:15 |
| 15 Aug 2021 |
| Rien joined the room. | 16:38:02 |
Rien | For home-assistant: should I be able to add integrations through the web interface? | 18:07:48 |