Skip to content

Conversation

@jimklimov
Copy link
Member

@jimklimov jimklimov commented Mar 23, 2025

Help parse ups.status same way as NUT core code.

Inspired by discussion at networkupstools/wmnut#10

Follows up from #2852 and so is a spin-off from #2708.

…r_add_unique_token() and str_contains_token() for NUT clients who need to parse ups.status

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… str_add_unique_token() and str_contains_token() with upscli_ prefix to surely avoid link/include conflicts

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…_add_unique_token() [networkupstools#2852, networkupstools#2859]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.3 milestone Mar 23, 2025
jimklimov added a commit to jimklimov/wmnut that referenced this pull request Mar 25, 2025
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov added a commit to jimklimov/wmnut that referenced this pull request Mar 25, 2025
@jimklimov jimklimov added the ready / gonna merge The PR is in final cycles leading to merge unless someone logs an objection before we hit the button label Mar 25, 2025
@jimklimov jimklimov merged commit 02b4c82 into networkupstools:master Mar 25, 2025
20 of 22 checks passed
@jimklimov jimklimov deleted the expose-token-methods branch March 25, 2025 20:21
jimklimov added a commit to jimklimov/wmnut that referenced this pull request Apr 28, 2025
…UT methods [networkupstools/nut#2859]

Regression in wmnut v0.71 release

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov added a commit to jimklimov/wmnut that referenced this pull request Apr 28, 2025
…UT methods [networkupstools/nut#2859]

Regression in wmnut v0.71 release

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement NUT protocols ready / gonna merge The PR is in final cycles leading to merge unless someone logs an objection before we hit the button

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant