[Nut-upsuser] ISE review of I-D: deprecate command VER?
Jim Klimov
jimklimov+nut at gmail.com
Wed Mar 23 08:49:56 GMT 2022
Fair points and reminders above, thanks.
Posted https://github.com/networkupstools/nut/pull/1336 to update the
NUT_NETVERSION=1.3 macro in code and docs, as well as a few more cases of
"2.7.5" bumped to "2.8.0".
Notably, codebase currently does not mention a "PROTVER" - should the alias
to "NETVER" be made while we are at it? Any more similar changes I missed
to match proposed RFE'd protocol?
Looking at implementation, currently the NUT_NETVERSION is only reported in
`netmisc.c` as response to `NETVER` command. It does not seem any NUT code
requests or consults this value (handling unknown commands meaningfully
instead), so it is more informative for third-party code.
As for releasing "NUT 2.8.0" (nee 2.7.5), I think the stack of "urgent" PRs
and ideas is running dry so it is getting more to the "make it shiny" point
and testing extensively so it's not a flop, and then address
second-priorities as 2.8.1 etc.
Jim Klimov
On Mon, Mar 21, 2022, 17:38 Greg Troxel <gdt at lexort.com> wrote:
>
> Manuel Wolfshant <wolfy at nobugconsulting.ro> writes:
>
> > Not really. Even 2.7.5 is still not out and 2.7.4 was released in sept
> > 2021 ( according to https://github.com/networkupstools/nut ).
>
> No, 2.7.4 was released in 2016. It's just a github artifact; read the
> "release notes".
>
> >> 4. The I-D must also say which protocol version it documents, as
> >> returned in response to command PROTVER (formerly NETVER).
> >>
> >> Will this stll be 1.2 in NUT 2.8.0, or will it move to 1.3?
>
> If we are heading down the RFC path, I think it's totally unreasonable
> to have a protocol change more than once in a while, and doing so needs
> to be coordinated with all users of the protocol, and the RFC updated.
> So I'd hope that whatever version is on the master branch is what's
> being documented. It could be that the protocol has changed and the
> version number hasn't, but that seems unlikely.
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220323/48797a6b/attachment.htm>
More information about the Nut-upsuser
mailing list