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

Side by Side Diff: tools/bots/bot_utils.py

Issue 198723006: Add archiving of src tarball and debian packages (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/bots/src-tarball.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import hashlib 7 import hashlib
8 import imp 8 import imp
9 import os 9 import os
10 import string 10 import string
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 def dartium_directory(self, revision): 129 def dartium_directory(self, revision):
130 return self._variant_directory('dartium', revision) 130 return self._variant_directory('dartium', revision)
131 131
132 def dartium_android_directory(self, revision): 132 def dartium_android_directory(self, revision):
133 return self._variant_directory('dartium_android', revision) 133 return self._variant_directory('dartium_android', revision)
134 134
135 def sdk_directory(self, revision): 135 def sdk_directory(self, revision):
136 return self._variant_directory('sdk', revision) 136 return self._variant_directory('sdk', revision)
137 137
138 def linux_packages_directory(self, revision):
139 return self._variant_directory('linux_packages', revision)
Søren Gjesse 2014/03/17 18:07:35 ubuntu_precise_packages? For the Debian chroot bui
ricow1 2014/03/17 18:24:47 We need to pass that into the script then, i.e., w
Søren Gjesse 2014/03/18 11:43:42 We should be able to produce packages for both Ubu
140
141 def src_directory(self, revision):
142 return self._variant_directory('src', revision)
143
138 def editor_directory(self, revision): 144 def editor_directory(self, revision):
139 return self._variant_directory('editor', revision) 145 return self._variant_directory('editor', revision)
140 146
141 def editor_eclipse_update_directory(self, revision): 147 def editor_eclipse_update_directory(self, revision):
142 return self._variant_directory('editor-eclipse-update', revision) 148 return self._variant_directory('editor-eclipse-update', revision)
143 149
144 def apidocs_directory(self, revision): 150 def apidocs_directory(self, revision):
145 return self._variant_directory('api-docs', revision) 151 return self._variant_directory('api-docs', revision)
146 152
147 def misc_directory(self, revision): 153 def misc_directory(self, revision):
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 320
315 return checksum_filename 321 return checksum_filename
316 322
317 def GetChannelFromName(name): 323 def GetChannelFromName(name):
318 """Get the channel from the name. Bleeding edge builders don't 324 """Get the channel from the name. Bleeding edge builders don't
319 have a suffix.""" 325 have a suffix."""
320 channel_name = string.split(name, '-').pop() 326 channel_name = string.split(name, '-').pop()
321 if channel_name in Channel.ALL_CHANNELS: 327 if channel_name in Channel.ALL_CHANNELS:
322 return channel_name 328 return channel_name
323 return Channel.BLEEDING_EDGE 329 return Channel.BLEEDING_EDGE
OLDNEW
« no previous file with comments | « no previous file | tools/bots/src-tarball.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698