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

Unified Diff: tools/bots/bot_utils.py

Issue 1502253002: Revert "Copy entire api-docs directory to release GCloud directory in promote script." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update comment. Created 5 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 | « no previous file | tools/promote.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot_utils.py
diff --git a/tools/bots/bot_utils.py b/tools/bots/bot_utils.py
index da166aa2db679e8e8f2490b7246d16ad5eb84722..53bd1ca4d1cfb47d272e62f113ecb654382de982 100644
--- a/tools/bots/bot_utils.py
+++ b/tools/bots/bot_utils.py
@@ -71,7 +71,7 @@ class GCSNamer(object):
Under every base path, the following structure is used:
- /VERSION
- - /api-docs/{dart-api-docs.zip,dartdocs-gen-api.zip}
+ - /api-docs/dartdocs-gen-api.zip
- /dartium/{chromedriver,content_shell,dartium}
-{linux,macos,windows}-{ia32,x64}-release.zip
- /sdk/dartsdk-{linux,macos,windows}-{ia32,x64}-release.zip
@@ -119,6 +119,10 @@ class GCSNamer(object):
return '/'.join([self.dartium_directory(revision),
self.dartium_variant_zipfilename(name, system, arch, mode)])
+ def apidocs_zipfilepath(self, revision):
+ return '/'.join([self.apidocs_directory(revision),
+ self.dartdocs_zipfilename()])
+
def dartium_android_apk_filepath(self, revision, name, arch, mode):
return '/'.join([self.dartium_android_directory(revision),
self.dartium_android_apk_filename(name, arch, mode)])
@@ -162,9 +166,6 @@ class GCSNamer(object):
def dartium_android_apk_filename(self, name, arch, mode):
return '%s-%s-%s.apk' % (name, arch, mode)
- def apidocs_zipfilename(self):
- return 'dart-api-docs.zip'
-
def dartdocs_zipfilename(self):
return 'dartdocs-gen-api.zip'
« no previous file with comments | « no previous file | tools/promote.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698