Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Announce NUT_NETVERSION=1.3 #1336

Merged
merged 5 commits into from
Mar 27, 2022
Merged

Conversation

jimklimov
Copy link
Member

Update the configure.ac to report the new version in netmisc.c, and update docs that referred to "2.7.5" as the new release to speak about "2.8.0" which sings to similar tune as #1263.

Also documents PRIMARY command as alias to MASTER (per #840) in protocol 1.3, although the practical implementation is expected to be compatible with protocol 1.2 client/server (see #1328).

CC @NUT-RogerPrice

@jimklimov jimklimov requested review from clepple, aquette and zykh March 23, 2022 08:32
Copy link
Member

@clepple clepple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know my thoughts on numeric protocol versions.

The other parts of the PR look fine.

@jimklimov
Copy link
Member Author

jimklimov commented Mar 24, 2022 via email

@clepple
Copy link
Member

clepple commented Mar 24, 2022

If two network protocol upgrades are being discussed, and both branches in Git propose an incremented protocol version, one will have to be updated a second time to avoid a conflict if both are not merged at the same time. It seems like very little gain for a lot of maintenance burden. (And that's if NETVER doesn't get renamed...)

Other protocols have text-based "feature flags" where they indicate a set of features that are supported.

In all of the previous NUT protocol iterations, a client could simply try a new command, and check for an appropriate "ERR" response.

@jimklimov jimklimov merged commit 11f36ac into networkupstools:master Mar 27, 2022
@jimklimov jimklimov deleted the netversion-1.3 branch August 20, 2022 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants