OLD | NEW |
1 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import bot_utils | 5 import bot_utils |
6 | 6 |
7 class FletchGCSNamer(bot_utils.GCSNamer): | 7 class FletchGCSNamer(bot_utils.GCSNamer): |
8 def __init__(self, channel=bot_utils.Channel.BLEEDING_EDGE, | 8 def __init__(self, channel=bot_utils.Channel.BLEEDING_EDGE, |
9 release_type=bot_utils.ReleaseType.RAW, temporary=False): | 9 release_type=bot_utils.ReleaseType.RAW, temporary=False): |
10 super(FletchGCSNamer, self).__init__(channel, release_type, False) | 10 super(FletchGCSNamer, self).__init__(channel, release_type, False) |
11 if temporary: | 11 if temporary: |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 def gcc_embedded_bundle_zipfilename(self, system): | 59 def gcc_embedded_bundle_zipfilename(self, system): |
60 return 'gcc-arm-embedded-%s.zip' % system | 60 return 'gcc-arm-embedded-%s.zip' % system |
61 | 61 |
62 def gcc_embedded_bundle_filepath(self, revision, system): | 62 def gcc_embedded_bundle_filepath(self, revision, system): |
63 return '/'.join([self.fletch_sdk_directory(revision), | 63 return '/'.join([self.fletch_sdk_directory(revision), |
64 self.gcc_embedded_bundle_zipfilename(system)]) | 64 self.gcc_embedded_bundle_zipfilename(system)]) |
65 | 65 |
66 def docs_filepath(self, revision): | 66 def docs_filepath(self, revision): |
67 return '/'.join([self.fletch_sdk_directory(revision), 'docs']) | 67 return '/'.join([self.fletch_sdk_directory(revision), 'docs']) |
OLD | NEW |