Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Minversion value should be <= current version #96

Open
phmccarty opened this issue Nov 7, 2017 · 0 comments
Open

Minversion value should be <= current version #96

phmccarty opened this issue Nov 7, 2017 · 0 comments
Assignees

Comments

@phmccarty
Copy link
Contributor

phmccarty commented Nov 7, 2017

The swupd_create_update binary has a --minversion option, and its value can be any arbitrary integer. However, when minversion > current, and minversion is fixed for successive builds, every build N in the range current <= N <= minversion will be a full minversion bump. Hitting such a situation would most likely be unintentional, because the update stream would be a series of full rebuilds instead of delta updates.

It would be helpful for swupd_create_update to enforce that minversion <= current, because minversion > current is wasteful and not useful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants