Remerge master as of 20260210 to FTY#3317
Open
jimklimov wants to merge 237 commits intonetworkupstools:FTYfrom
Open
Remerge master as of 20260210 to FTY#3317jimklimov wants to merge 237 commits intonetworkupstools:FTYfrom
jimklimov wants to merge 237 commits intonetworkupstools:FTYfrom
Conversation
…n changing OS user accounts [networkupstools#3193] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Enables to read UPS data from UPower. This is useful if a UPS connected to a desktop system should be exposed over the network. It can also be used to expose laptop batteries. Signed-off-by: Tim Niemueller <tim@niemueller.de>
Required to also test upower_dbus driver. Signed-off-by: Tim Niemueller <tim@niemueller.de>
Signed-off-by: Tim Niemueller <tim@niemueller.de>
Signed-off-by: Tim Niemueller <tim@niemueller.de>
…where multiple calls to clean-up crashed the program [networkupstools#3193] Special thanks to maintainer of libfreeipmi for helping catch it! Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com> Co-authored-by: Albert Chu <chu11@llnl.gov>
…add libglib2.0-dev [networkupstools#3279] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…bal debug_min from ups.conf also to upsdrvctl tool itself [networkupstools#3276] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…"exit" it by protocol [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… if the other side exited [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ry_prepare() [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…top, so upsdrvctl exits when the driver is gone [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ilable [networkupstools#3277] Proper NUT daemons intercept SIGPIPE and survive closed connections, but consumers of upsdrvquery might not, and would crash. If we can, just return the error (and errno=EPIPE) for the specific call. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…kopt(), prefer it over the blanket signal change for the process; handle EPIPE specially [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…rvquery_NOSIGPIPE toggle for consumers who might want to handle SIGPIPE themselves [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…PONG a bit cleaner [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…p and timeout accounting when the read size remains 0 [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…sname() failed, try another in case the driver is still starting and we were called too soon [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ed socket is detected earlier [networkupstools#3277] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Add missing terms. Signed-off-by: Tim Niemueller <tim@niemueller.de>
Apply global `debug_min` from `ups.conf` also to `upsdrvctl` tool
…ut.voltage`, `output.voltage` for e.g. Ugreen US3000 [networkupstools#3281] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: air5551 <Air@example.org>
Signed-off-by: air5551 <Air@example.org>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…tworkupstools#3282] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
drivers/upsdrvctl.c: forkexec(): double-quote the WIN32 argv[0] in commandline
…snmp-subdriver-fix Fix hang in gen-snmp-subdriver.sh
…l-trace-symbols Trace symbols from dynamically loaded libraries in `nut-scanner`
Support exiting from `nut.exe -N` with Ctrl+C
Support providing CGI options for alternate template file names
`configure.ac` man-page section magic vs. tarball builds
upsd: chunk the MAXCONN-sized array processing into several smaller "sysmaxconn"-sized polls as needed
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
5db7fb1 to
ab7ddb9
Compare
Comment on lines
+393
to
+395
| boosting = 0; /* FIXME, don't know which bit gets set | ||
| * (brownouts are very rare here and | ||
| * I can't simulate one) */ |
Check notice
Code scanning / CodeQL
FIXME comment Note
Comment on lines
+2268
to
+2273
| } else if ( (v1 && v2 && v3) | ||
| || (v1n && v2n && v3n) | ||
| || (c1 && (c2 || c3)) | ||
| || (c2 && (c1 || c3)) | ||
| || (c3 && (c1 || c2)) | ||
| || v12 || v23 || v31 |
Check notice
Code scanning / CodeQL
Complex condition Note
Comment on lines
+2280
to
+2291
| !v12 && !v23 && !v31 | ||
| && ( (c0 && !c1 && !c2 && !c3) | ||
| || (v0 && !v1 && !v2 && !v3) | ||
| || (c1 && !c2 && !c3) | ||
| || (!c1 && c2 && !c3) | ||
| || (!c1 && !c2 && c3) | ||
| || (v1 && !v2 && !v3) | ||
| || (!v1 && v2 && !v3) | ||
| || (!v1 && !v2 && v3) | ||
| || (v1n && !v2n && !v3n) | ||
| || (!v1n && v2n && !v3n) | ||
| || (!v1n && !v2n && v3n) ) |
Check notice
Code scanning / CodeQL
Complex condition Note
| /* Passed final lt_dlsym() */ | ||
| symbol = NULL; | ||
|
|
||
| if (dl_saved_libname) |
Check notice
Code scanning / CodeQL
Guarded Free Note
|
✅ Build nut 2.8.4.4241-FTY completed (commit 9cdda1b73c by @jimklimov) |
Member
Author
|
GitHub auth engine crashed and denied checkouts :\ |
…olves git tagging) to after changing committed files Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…sion bump when releasing 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>
…ike RC tags to use a separate OBS template (tweaked to change the dash into tilde for packaging versions) [networkupstools#1209]" This reverts commit cced83a: the currently deployed OBS service does not filter by "tags"... sadly. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…workupstools#3316] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ject any separators, not only <br/> [networkupstools#3316] Keep <br/> as legacy default, to work with older upsstats*.html templates. Closes: networkupstools#2525 Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…e data cell [networkupstools#3316] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…generic_modbus.c: generalize elapsed_since_timeval() [networkupstools#1938] Closes: networkupstools#1938 Co-authored-by: Dimitris Economou <dimitris.s.economou@gmail.com> Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…uits
`common.{c,h}`: generalize `elapsed_since_timeval()` originally from modbus drivers
…e-2.8.5-picks Pick some changes from "prepare release 2.8.5" branch and PR networkupstools#3318
…ing exclamation mark 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>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Another bump goes by... more recently fixed bugs to resync into the other code base, wannabe into the main trunk.