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

Add information about which branch is being used #3407

Closed
wants to merge 1 commit into from

Conversation

Moustachauve
Copy link
Contributor

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.

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, ...).
@Moustachauve
Copy link
Contributor Author

Moustachauve commented Oct 1, 2023

cc @blazoncek and @softhack007 for missing labels form the previous PR #3402.

@Moustachauve Moustachauve changed the title Add information about which branch is being Add information about which branch is being used Oct 1, 2023
@softhack007 softhack007 added this to the 0.14.1 candidate milestone Oct 6, 2023
@softhack007 softhack007 added enhancement connectivity Issue regarding protocols, WiFi connection or availability of interfaces labels Oct 6, 2023
@blazoncek
Copy link
Collaborator

Perhaps this should be combined with #3839

@Moustachauve
Copy link
Contributor Author

I think those are two different things. The same product (What #3839 is about) could be used for stable or beta branches.

@blazoncek
Copy link
Collaborator

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.

@blazoncek
Copy link
Collaborator

This has been superseded by "release" key in "info" object in JSON API in 0.15.0-b3 or later.

@blazoncek blazoncek removed this from the 0.15.0-alpha candidate milestone May 21, 2024
@Moustachauve
Copy link
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connectivity Issue regarding protocols, WiFi connection or availability of interfaces enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants