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

Implement update checks #2214

Merged
merged 40 commits into from
Jan 21, 2020
Merged

Implement update checks #2214

merged 40 commits into from
Jan 21, 2020

Conversation

TadCordle
Copy link
Contributor

@TadCordle TadCordle commented Jan 6, 2020

Fixes #2193.

A couple changes from the initial design:

  • Instead of getting/setting the last modified time of a file to check the last update time, the time of the previous update check is stored as contents of the file. It seems Files.setLastModifiedTime() isn't supported on all platforms.
  • The file pulled from GCS contains JSON instead of just the version string, for extensibility.
  • The check is daily instead of weekly.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

First pass. I'll go over once more later.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just some minor comments.

@TadCordle TadCordle marked this pull request as ready for review January 13, 2020 22:16
Copy link
Member

@loosebazooka loosebazooka left a comment

Choose a reason for hiding this comment

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

LGTM, just waiting on @chanseokoh since he looked at some parts I didn't go too deep into.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

Looks good to me. Some minor points that I am fine with either way.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

While we're at it, some minor comments.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

LGTM?

@TadCordle TadCordle merged commit 2085d21 into master Jan 21, 2020
@TadCordle TadCordle deleted the i2193-update-checks branch January 21, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic update checks
5 participants