Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Issue 7029034: Use --version-path and --version-key when available, in Keystone 1.0.9.2318 and later (Closed)

Created:
9 years, 7 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
Reviewers:
TVL
CC:
chromium-reviews, aharper
Visibility:
Public.

Description

Use --version-path and --version-key when available during an update, if Keystone 1.0.9.2318 or later is present. Providing this data to Keystone will cause it to check the application's Info.plist to determine the installed version, rather than using the version embedded within the ticket. The version in the ticket can become stale in some rare situations through innocent user action. This allows a user to replace Chrome with an earlier version (perhaps on another channel) and not get "stuck" without autoupdates until that channel catches up with the version listed in the ticket. (b/2506062) This also prevents Keystone from believing an update is still available if Chrome is updated but not restarted and the user subsequently promotes Chrome's user ticket to a system ticket from within Chrome. (crbug.com/38696) BUG=38696, 83082 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86388

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M chrome/installer/mac/keystone_install.sh View 2 chunks +16 lines, -0 lines 4 comments Download

Messages

Total messages: 6 (0 generated)
Mark Mentovai
Not ready for chicken yet. Waiting to hear back from Alex.
9 years, 7 months ago (2011-05-18 17:52:11 UTC) #1
TVL
http://codereview.chromium.org/7029034/diff/1/chrome/installer/mac/keystone_install.sh File chrome/installer/mac/keystone_install.sh (right): http://codereview.chromium.org/7029034/diff/1/chrome/installer/mac/keystone_install.sh#newcode380 chrome/installer/mac/keystone_install.sh:380: # Returns 0 (true) if ksadmin supports --version-path and ...
9 years, 7 months ago (2011-05-18 17:57:31 UTC) #2
Mark Mentovai
http://codereview.chromium.org/7029034/diff/1/chrome/installer/mac/keystone_install.sh File chrome/installer/mac/keystone_install.sh (right): http://codereview.chromium.org/7029034/diff/1/chrome/installer/mac/keystone_install.sh#newcode380 chrome/installer/mac/keystone_install.sh:380: # Returns 0 (true) if ksadmin supports --version-path and ...
9 years, 7 months ago (2011-05-18 18:10:42 UTC) #3
TVL
lg
9 years, 7 months ago (2011-05-18 18:12:01 UTC) #4
Mark Mentovai
This is ready now, I’ll check it in along with http://codereview.chromium.org/6990046.
9 years, 7 months ago (2011-05-23 21:44:02 UTC) #5
TVL
9 years, 7 months ago (2011-05-24 01:35:40 UTC) #6
lg

Powered by Google App Engine
This is Rietveld 408576698