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

Issue 3014051: Create a latest link to point at newest image (Closed)

Created:
10 years, 4 months ago by Olof Johansson
Modified:
9 years, 7 months ago
Reviewers:
davidjames
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Create a latest link to point at newest image build_image creates it after a successful build, and get_latest_image can use it if it exists. Fall back to old behavior for now when there are directories without a link. BUG=none TEST=Try building an image, check link. Rebuild, check new link.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M build_image View 1 chunk +4 lines, -0 lines 0 comments Download
M get_latest_image.sh View 1 chunk +6 lines, -2 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Olof Johansson
10 years, 4 months ago (2010-08-04 02:21:00 UTC) #1
davidjames
10 years, 4 months ago (2010-08-05 03:59:26 UTC) #2
LGTM w/nit

http://codereview.chromium.org/3014051/diff/1/3
File get_latest_image.sh (right):

http://codereview.chromium.org/3014051/diff/1/3#newcode35
get_latest_image.sh:35: DEFAULT_FROM="${IMAGES_DIR}/`readlink
${IMAGES_DIR}/latest`"
Please remove tabs

Powered by Google App Engine
This is Rietveld 408576698