-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add information about which branch is being used #3407
Conversation
Add the information about which software branch, beta or stable, is being used on this device. This is accessible through both the JSON API and MQTT, just like the version string. This will automatically detect if it is a beta or not based on the release version configured in package.json to make sure it is always set properly. This could be really useful for any consumer of the API that wants to make sure to check the correct channel to know potentially if a device is using the most recent version, for example and also to match it to the correct branch (beta, soundreactive, ...).
cc @blazoncek and @softhack007 for missing labels form the previous PR #3402. |
Perhaps this should be combined with #3839 |
I think those are two different things. The same product (What #3839 is about) could be used for stable or beta branches. |
That was exactly the point. Combine the two in one solution. |
This has been superseded by "release" key in "info" object in JSON API in 0.15.0-b3 or later. |
Cool thanks. I couldn't find a PR for it, I thought there have been multiple ones in the past, I guess it was not linked to one? |
Add the information about which software branch, beta or stable, is being used on this device. This is accessible through both the JSON API and MQTT, just like the version string. This will automatically detect if it is a beta or not based on the release version configured in package.json to make sure it is always set properly.
This could be really useful for any consumer of the API that wants to make sure to check the correct channel to know potentially if a device is using the most recent version, for example and also to match it to the correct branch (beta, soundreactive, ...).
Recreated from a topic branch to follow the project's guidelines.