Add information about which branch is being used - #3407
Closed
Moustachauve wants to merge 1 commit into
Closed
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, ...).
Contributor
Author
|
cc @blazoncek and @softhack007 for missing labels form the previous PR #3402. |
This was referenced Feb 6, 2024
Contributor
|
Perhaps this should be combined with #3839 |
Contributor
Author
|
I think those are two different things. The same product (What #3839 is about) could be used for stable or beta branches. |
Contributor
That was exactly the point. Combine the two in one solution. |
Contributor
|
This has been superseded by "release" key in "info" object in JSON API in 0.15.0-b3 or later. |
Contributor
Author
|
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? |
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.
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.