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

Unified Diff: appengine_apps/chromium_status/tools/update.py

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine_apps/chromium_status/tools/set_status.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine_apps/chromium_status/tools/update.py
diff --git a/appengine_apps/chromium_status/tools/update.py b/appengine_apps/chromium_status/tools/update.py
deleted file mode 100755
index b59f7384ff9c4a9664a1dcd9e7ea6f2b118a2e84..0000000000000000000000000000000000000000
--- a/appengine_apps/chromium_status/tools/update.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import subprocess
-import sys
-
-ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
-APPCFG = os.path.join(ROOT, '..', 'google_appengine', 'appcfg.py')
-
-INSTANCES = [
- 'chromeos-status-hrd',
- 'chromium-status-hr',
- 'chromiumos-status-hr',
- 'dart-status',
- 'gyp-status-hrd',
- 'naclports-status-hrd',
- 'nativeclient-status-hrd',
- 'o3d-status-hr',
- 'v8-roll',
- 'v8-status',
- 'webrtc-status',
-]
-
-def main():
- if not sys.argv[1:]:
- print('Usage: update.py <appcfg.py command> -V <version to use>')
- print('Examples:')
- print(' update.py update -V r94532')
- print(' update.py set_default_version -V r94532')
- print('')
- print('The following instances will be affected:')
- for instance in INSTANCES:
- print(' %s' % instance)
- print('')
- return 1
-
- command = sys.argv[1:]
- for instance in INSTANCES:
- print('\nDoing %s' % instance)
- subprocess.check_call(
- [sys.executable, APPCFG] + command + [ROOT, '-A', instance])
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « appengine_apps/chromium_status/tools/set_status.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698