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

Improved update availability check #103

Open
Pidgeot opened this issue Apr 4, 2020 · 0 comments
Open

Improved update availability check #103

Pidgeot opened this issue Apr 4, 2020 · 0 comments
Assignees

Comments

@Pidgeot
Copy link
Owner

Pidgeot commented Apr 4, 2020

Currently, an update is considered available if the online version string is not equal to the local version string. This has caused various annoyances for my beta packs which are hosted at a different URL but still check for stable updates.

I propose to add an additional two criteria, and a config setting to choose which to use. The default if not configured would depend on the file host.

  • String equality. Currently the only option. Remains default for JSON and regex updaters.

  • Lexical ordering, split on ., attempting conversion of parts to integers (basically semver).

  • Timestamp comparison. Only available for DFFD, but preferred (default) in that case. If update timestamp is after the time of first launch for the local pack (saved to file), an update is available. Ideally include a delay and variance setting for staged rollout.

[Issue created by PeridexisErrant: 2017-03-13]

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

No branches or pull requests

2 participants