Sunsetting the Docker `openwrtorg` org (not `openwrt` org)

2023-04-14 Thread Paul Spooren
Hi all, I’d like to disable the `openwrtorg` organization on Docker.io . It was initially created since some unknown entity registered `openwrt` without using it. After some clarification with the Docker team they thankfully granted us access to the account. By migrating th

[PATCH 0/2] Small improvements to jshn.c and jshn.sh

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville Minor improvements in efficiency and portability to libubox's jshn and its wrapper. Philip Prindeville (2): jshn.sh: Add pretty-printing to json_dump blobmsg: Don't do at run-time what can be done at compile-time blobmsg_json.c | 6 +++--- sh/jshn.sh | 12

[PATCH 1/2] jshn.sh: Add pretty-printing to json_dump

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville If a JSON file might be read by a human, say for debugging, it could be useful to pretty-print it. We do this in places by calling "json_dump -i" but it shouldn't be necessary to know the arguments to "jshn" (and indeed, that's not portable if we retool the underlying im

[PATCH 2/2] blobmsg: Don't do at run-time what can be done at compile-time

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville Repeatedly calling a run-time function like strlen() on an invariant value is inefficient, especially if that value can be computed once (at initialization) or better yet, computed at compile-time. Signed-off-by: Philip Prindeville --- blobmsg_json.c | 6 +++--- 1 file