Skip to content

Conversation

@agners
Copy link
Collaborator

@agners agners commented Jan 9, 2025

For development it is sometimes useful to just reuse the same version string but increment the underlying build number (which is the actual version devices typically care about).

This change supports multiple local updates with the same version string, and updating to an explicit version by version integer.

For development it is sometimes useful to just reuse the same version
string but increment the underlying build number (which is the actual
version devices typically care about).

This change supports multiple local updates with the same version
string, and updating to an explicit version by version integer.
@agners agners added the new-feature New feature or request label Jan 9, 2025
@agners agners requested a review from marcelveldt January 13, 2025 12:13
@agners agners merged commit b1fa99e into main Jan 13, 2025
4 checks passed
@agners agners deleted the support-multiple-updates-with-same-version-string branch January 13, 2025 13:29
logger.info("Local updates found for this device")
if requested_software_version is None:
# Use integer version to reliably determine absolute latest version
versions = filter(
Copy link
Contributor

Choose a reason for hiding this comment

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

A list comprehension is easier to read and faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants