Andrew Clayton

Results 552 comments of Andrew Clayton

~~Package versions may need to be updated for Fedora 40 and Ubuntu 24.04.~~

Updated Ubuntu 24.04 name and package versions ```diff $ git diff diff --git ./source/installation.rst ./source/installation.rst index 14a1478..ff6384f 100644 --- ./source/installation.rst +++ ./source/installation.rst @@ -620,8 +620,8 @@ Ubuntu .. code-block:: none...

Update Fedora versions ``` $ git range-diff 89f4bd1...c3cf518 1: 89f4bd1 ! 1: c3cf518 Prune and update OS list/install steps @@ Commit message Removed a bunch of old Debian, Ubuntu, RHEL,...

Rebased with master ``` $ git range-diff c3cf518...ab35f01 -: ------- > 1: 153a799 Makefile: Fix location for the SECURITY.md file -: ------- > 2: 168e112 Add autodeploy, Pin action to...

Fix build on Clang and older GCC ``` $ git range-diff 300f3cb5...74bea8c4 1: 300f3cb5 ! 1: 74bea8c4 status: Show list of loaded language modules @@ src/nxt_status.c +nxt_inline const nxt_str_t *...

@andrey-zelenkov This patch set which adds a new `modules` section to the `/status` endpoint e.g ```json { "modules": { "python": { "version": "3.12.2", "lib": "/opt/unit/modules/python.unit.so" }, "wasm": { "version": "0.1",...

- Drop the pytests patch - Use a statement expression in `nxt_status_app_type2name()` to do what I attempted to do initially. On first looks it seems like it might not work...

@andrey-zelenkov Thanks for the patch and while it works OK on master ``` $ pytest test/test_status.py which: no go in (/home/andrew/.local/bin:/home/andrew/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin) which: no go in (/home/andrew/.local/bin:/home/andrew/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin) ============================================= test session starts...

I'm guessing the problem is that this ```python return find_diffs(Status.control.conf_get('/status'), Status._status) ``` is just getting the _whole_ `/status` again, `find_diffs()` is looking at all the values and subtracting them from...