Skip to content

Comments

[pull] master from networkupstools:master#385

Merged
pull[bot] merged 38 commits intopthis:masterfrom
networkupstools:master
Feb 4, 2026
Merged

[pull] master from networkupstools:master#385
pull[bot] merged 38 commits intopthis:masterfrom
networkupstools:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 4, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

timn and others added 30 commits February 2, 2026 16:56
This fixes the build fail triggered on CI farm, and some more that
trigger on the more recent version 21 of clang.

Signed-off-by: Tim Niemueller <tim@niemueller.de>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
On the used clang version implicit conversion triggers a warning, the
`-Werror` makes those errors.

I have used Gemini for some of these, but quota ran out after half an hour and
~120 invocations so I completed the rest manually.

Signed-off-by: Tim Niemueller <tim@niemueller.de>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Kudos to Tim Niemueller, Gemini, and clang-21 extended warnings.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…apping table entry types etc. via enum values [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ture and method arguments

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ULLness at the beginning of main() [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…the iteration variable name

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ng of xmalloc() [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Bonus question: what could Gemini mean by "FTS"?..

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…mge_model_names[] [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… *)1` also in comparisons

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…IPMI on this host" to report the message

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
- Added support for scanning UPower devices via GDBus/libgio.
- Implemented dynamic loading of libgio/libglib to avoid hard dependencies.
- Added --upower_scan (-J) option to nut-scanner.
- Added m4/nut_check_libglib.m4 to detect GLib/GIO.
- Updated configure.ac to check for UPower support requirements.
- Updated nut-scanner build system and initialization.
- Updated nut-scanner man page

Signed-off-by: Tim Niemueller <tim@niemueller.de>
Signed-off-by: Tim Niemueller <tim@niemueller.de>
Pretend it's 1999 and put declaration of the variable further up.

Signed-off-by: Tim Niemueller <tim@niemueller.de>
…er (and hack) the variables for libglib and for libgio [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
+1 for "current" (added interfaces) and "+1" for age (only added, not removed)

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Tim Niemueller <tim@niemueller.de>
Earlier commits separated LIBGIO* from LIBGLIB* variables,
but a parallel-developed fix happened to conflate them back.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…S first [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…" (we may have some defined but zeroed, so not active for a build) [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…er` tool section [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…bs related to UPower where we only load one for scanning [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…le)1` instead of `(void *)1` [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ian Testing in Jan/Feb 2026 seems to lack it) [#1209]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…e if the real thing is not available [#1209]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…rt [#3293]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…selves [#2431]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ker or compiler with the library paths and link name, to derive the path from error messages [#2431]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Refactor `void*` casting to specific types, indentations and other noisy stuff
@pull pull bot locked and limited conversation to collaborators Feb 4, 2026
@pull pull bot added the ⤵️ pull label Feb 4, 2026
@pull pull bot merged commit ee388a7 into pthis:master Feb 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants