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

Side by Side Diff: scripts/master/chromeos_revision_source.py

Issue 3777004: Fix imports and bring over a missing file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Module for chromium-os-specific git source that dumps revisions.""" 5 """Module for chromium-os-specific git source that dumps revisions."""
6 6
7 import copy 7 import copy
8 8
9 from buildbot.steps import source 9 from buildbot.steps import source
10 from buildbot.process import buildstep 10 from buildbot.process import buildstep
(...skipping 27 matching lines...) Expand all
38 revision_list = revision_list.strip() 38 revision_list = revision_list.strip()
39 return revision_list 39 return revision_list
40 40
41 def startVC(self, branch, revision, patch): 41 def startVC(self, branch, revision, patch):
42 """Drops a source stamp for other steps""" 42 """Drops a source stamp for other steps"""
43 args = copy.copy(self.args) 43 args = copy.copy(self.args)
44 args['command'] = 'echo "%s" > %s' % (revision, PFQ_REVISION_FILE) 44 args['command'] = 'echo "%s" > %s' % (revision, PFQ_REVISION_FILE)
45 # Shell is defined by buildbot.slave.SlaveShellCommand. 45 # Shell is defined by buildbot.slave.SlaveShellCommand.
46 cmd = buildstep.LoggedRemoteCommand("shell", args) 46 cmd = buildstep.LoggedRemoteCommand("shell", args)
47 self.startCommand(cmd, []) 47 self.startCommand(cmd, [])
OLDNEW
« no previous file with comments | « masters/master.chromiumos/run_master.bat ('k') | scripts/master/factory/chromeos_build_factory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698