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

Issue 5297002: --archive_dir will now serve existing update.gz (Closed)

Created:
10 years, 1 month ago by DaleCurtis
Modified:
9 years, 7 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org, Nick Sanders, ericli
Visibility:
Public.

Description

When updates are pre-generated outside of the Dev Server, there is currently no easy and efficient way to serve them. With this change, the --archive_dir option no longer supports image.zip updates and relies exclusively on pre-generated update.gz and stateful.tgz files. Change-Id: Ibe15f7517ded375140c33f83d92a17283e827dc6 BUG=chromium-os:9775 TEST=Running in production in Kirkland test lab. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=723ec47

Patch Set 1 #

Total comments: 6

Patch Set 2 : Removed image.zip support. Serve only now means just that. #

Total comments: 2

Patch Set 3 : Code review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -67 lines) Patch
M autoupdate.py View 1 2 6 chunks +15 lines, -41 lines 0 comments Download
M autoupdate_unittest.py View 1 2 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
DaleCurtis
git cl finally cooperated so I could get this up.
10 years, 1 month ago (2010-11-23 03:40:52 UTC) #1
sosa
http://codereview.chromium.org/5297002/diff/1/autoupdate.py File autoupdate.py (right): http://codereview.chromium.org/5297002/diff/1/autoupdate.py#newcode25 autoupdate.py:25: serve_only: Serve updates from a pre-built image.zip file. If ...
10 years, 1 month ago (2010-11-23 19:50:36 UTC) #2
DaleCurtis
http://codereview.chromium.org/5297002/diff/1/autoupdate.py File autoupdate.py (right): http://codereview.chromium.org/5297002/diff/1/autoupdate.py#newcode554 autoupdate.py:554: os.path.getmtime(image_path) < os.path.getmtime(update_path)): I can if you really want ...
10 years, 1 month ago (2010-11-23 20:11:20 UTC) #3
sosa
http://codereview.chromium.org/5297002/diff/1/autoupdate.py File autoupdate.py (right): http://codereview.chromium.org/5297002/diff/1/autoupdate.py#newcode554 autoupdate.py:554: os.path.getmtime(image_path) < os.path.getmtime(update_path)): I'm ok with removing the logic ...
10 years, 1 month ago (2010-11-23 20:45:57 UTC) #4
DaleCurtis
http://codereview.chromium.org/5297002/diff/1/autoupdate.py File autoupdate.py (right): http://codereview.chromium.org/5297002/diff/1/autoupdate.py#newcode554 autoupdate.py:554: os.path.getmtime(image_path) < os.path.getmtime(update_path)): Sent, I'll give it until next ...
10 years, 1 month ago (2010-11-23 21:02:37 UTC) #5
DaleCurtis
PTAL. I didn't get any pings back about --archive_dir usage by anyone else, so I've ...
10 years ago (2010-11-30 19:05:10 UTC) #6
sosa
Nit also please remove the unittest for this funciton in autoupdate_unittest.py LGTM once those are ...
10 years ago (2010-11-30 19:38:48 UTC) #7
DaleCurtis
Fixed. After talking with dgarrett, decided to remove caching_enabled flag completely since serve_only code path ...
10 years ago (2010-11-30 21:44:18 UTC) #8
sosa
10 years ago (2010-11-30 22:04:40 UTC) #9
LGTM!

Powered by Google App Engine
This is Rietveld 408576698