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

Unified Diff: tools/bots/bot_utils.py

Issue 26607003: Change promote script to be able to archive to the new gs://dart-archive/ location (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « editor/build/promote.py ('k') | no next file » | 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 c506014f611258430fc4fa8c2555afc081525856..a1a639fd5da380c857abf1539d8f9624267e6045 100644
--- a/tools/bots/bot_utils.py
+++ b/tools/bots/bot_utils.py
@@ -60,9 +60,28 @@ class Mode(object):
ALL_MODES = [RELEASE, DEBUG]
class GCSNamer(object):
+ """
+ This class is used for naming objects in our "gs://dart-archive/"
+ GoogleCloudStorage bucket. It's structure is as follows:
+
+ For every (channel,revision,release-type) tuple we have a base path:
+
+ gs://dart-archive/channels/{be,dev,stable}
+ /{raw,signed,release}/{revision,latest}/
+
+ Under every base path, the following structure is used:
+ - /VERSION
+ - /api-docs/dart-api-docs.zip
+ - /dartium/{chromedriver,content_shell,dartium}
+ -{linux,macos,windows}-{ia32,x64}-release.zip
+ - /sdk/dartsdk-{linux,macos,windows}-{ia32,x64}-release.zip
+ - /editor/darteditor-{linux,macos,windows}-{ia32,x64}.zip
+ - /editor-eclipse-update
+ /{index.html,features/,plugins/,artifacts.jar,content.jar}
+ """
def __init__(self, channel=Channel.BLEEDING_EDGE,
release_type=ReleaseType.RAW):
- assert channel in Channel.ALL_CHANNELS
+ assert channel in Channel.ALL_CHANNELS
assert release_type in ReleaseType.ALL_TYPES
self.channel = channel
« no previous file with comments | « editor/build/promote.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698