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

Update version release notification handling #2267

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

abraunegg
Copy link
Owner

  • Update the GitHub version check to also utilise the date a release was done, to allow 1 month grace period before generating obsolete version message.

* Update the GitHub version check to also utilise the date a release was done, to allow 1 month grace period before generating obsolete version message.
aclindsa
aclindsa previously approved these changes Dec 16, 2022
Copy link

@aclindsa aclindsa left a comment

Choose a reason for hiding this comment

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

I was able to build and test, and confirm that I see the "softer" message when I force the version to be out of date since I am still within the one-month grace period.

Thanks!

src/util.d Outdated
if (releaseGracePeriod.toUnixTime() > currentTime.toUnixTime()) {
writeln();
log.logAndNotify("INFO: A new onedrive client version is available. Please upgrade your client version when possible.");
log.vlog("Current Application Version: ", applicationVersion);

Choose a reason for hiding this comment

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

When testing, I saw only the "A new onedrive client..." message (without any version numbers) and I came here to ask if you might consider adding the version numbers to that message. But, it looks like you already have them, though they're only displayed when the user asks for verbose output?

I wonder if they are worth "upgrading" to display whenever the warning is - it seems like if the user is to take action on the upgrade message, it would almost always be useful for them to know their current version and the latest version to be able to check their upstream package repository (or pester the maintainer!).

Copy link
Owner Author

Choose a reason for hiding this comment

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

@aclindsa
I was more thinking to just advise the version when obsolete - however PR is updated and will merge into 'master'

* Update PR
@abraunegg abraunegg merged commit 3bca35d into master Dec 16, 2022
@abraunegg abraunegg deleted the update-checkApplicationVersion branch December 16, 2022 19:56
@abraunegg
Copy link
Owner Author

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Repository owner locked and limited conversation to collaborators Dec 24, 2022
@abraunegg abraunegg added this to the v2.4.23 milestone Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Relax "Your onedrive client version is obsolete and unsupported" warning
2 participants