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

Side by Side Diff: src/platform/memento_softwareupdate/ping_omaha.sh

Issue 2024007: Dev Server: Require Memento Updater (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« src/platform/dev/devserver.py ('K') | « src/platform/dev/devserver.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 source `dirname "$0"`/memento_updater_logging.sh 7 source `dirname "$0"`/memento_updater_logging.sh
8 . /usr/lib/shflags || exit 1 8 . /usr/lib/shflags || exit 1
9 9
10 DEFINE_string app_version "" \ 10 DEFINE_string app_version "" \
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 # BRAND=GGLG 200 # BRAND=GGLG
201 # MACHINE_ID={177255303f3cc519182a103069489327} 201 # MACHINE_ID={177255303f3cc519182a103069489327}
202 # USER_ID={706F576A-ACF9-4611-B608-E5528EAC106A} 202 # USER_ID={706F576A-ACF9-4611-B608-E5528EAC106A}
203 # AU_VERSION=Keystone-1.0.5.0 203 # AU_VERSION=Keystone-1.0.5.0
204 204
205 # post file must be a regular file for wget: 205 # post file must be a regular file for wget:
206 POST_FILE=/tmp/memento_au_post_file 206 POST_FILE=/tmp/memento_au_post_file
207 cat > "/tmp/memento_au_post_file" << EOF 207 cat > "/tmp/memento_au_post_file" << EOF
208 <?xml version="1.0" encoding="UTF-8"?> 208 <?xml version="1.0" encoding="UTF-8"?>
209 <o:gupdate xmlns:o="http://www.google.com/update2/request" \ 209 <o:gupdate xmlns:o="http://www.google.com/update2/request" \
210 version="$AU_VERSION" protocol="2.0" machineid="$MACHINE_ID" \ 210 version="$AU_VERSION" updaterversion="$AU_VERSION" \
211 protocol="2.0" machineid="$MACHINE_ID" \
211 ismachine="0" userid="$USER_ID"> 212 ismachine="0" userid="$USER_ID">
212 <o:os version="$OS" platform="$PLATFORM" sp="$OS_VERSION"></o:os> 213 <o:os version="$OS" platform="$PLATFORM" sp="$OS_VERSION"></o:os>
213 <o:app appid="$APP_ID" version="$PING_APP_VERSION" lang="$LANG" \ 214 <o:app appid="$APP_ID" version="$PING_APP_VERSION" lang="$LANG" \
214 brand="$BRAND" track="$APP_TRACK" board="$APP_BOARD"> 215 brand="$BRAND" track="$APP_TRACK" board="$APP_BOARD">
215 <o:ping active="0"></o:ping> 216 <o:ping active="0"></o:ping>
216 <o:updatecheck></o:updatecheck> 217 <o:updatecheck></o:updatecheck>
217 </o:app> 218 </o:app>
218 </o:gupdate> 219 </o:gupdate>
219 EOF 220 EOF
220 221
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 fi 266 fi
266 fi 267 fi
267 fi 268 fi
268 269
269 echo URL=$CODEBASE 270 echo URL=$CODEBASE
270 echo HASH=$HASH 271 echo HASH=$HASH
271 echo SIZE=$SIZE 272 echo SIZE=$SIZE
272 echo APP_VERSION=$APP_VERSION 273 echo APP_VERSION=$APP_VERSION
273 echo NEW_VERSION=TODO 274 echo NEW_VERSION=TODO
274 275
OLDNEW
« src/platform/dev/devserver.py ('K') | « src/platform/dev/devserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698