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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/commit_announcer.py

Issue 2680173002: Move webkitpy/common/checkout/scm/* -> webkitpy/common/checkout/. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 10 matching lines...) Expand all
21 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 25
26 import logging 26 import logging
27 import re 27 import re
28 import threading 28 import threading
29 import time 29 import time
30 30
31 from webkitpy.common.checkout.scm.git import Git
32 from webkitpy.common.system.executive import ScriptError 31 from webkitpy.common.system.executive import ScriptError
33 from webkitpy.thirdparty.irc.ircbot import SingleServerIRCBot 32 from webkitpy.thirdparty.irc.ircbot import SingleServerIRCBot
34 33
35 _log = logging.getLogger(__name__) 34 _log = logging.getLogger(__name__)
36 35
37 SERVER = "irc.freenode.net" 36 SERVER = "irc.freenode.net"
38 PORT = 6667 37 PORT = 6667
39 CHANNEL = "#blink" 38 CHANNEL = "#blink"
40 NICKNAME = "commit-bot" 39 NICKNAME = "commit-bot"
41 40
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 def __init__(self, tool, announce_path, irc_password): 199 def __init__(self, tool, announce_path, irc_password):
201 threading.Thread.__init__(self) 200 threading.Thread.__init__(self)
202 self.bot = CommitAnnouncer(tool, announce_path, irc_password) 201 self.bot = CommitAnnouncer(tool, announce_path, irc_password)
203 202
204 def run(self): 203 def run(self):
205 self.bot.start() 204 self.bot.start()
206 205
207 def stop(self): 206 def stop(self):
208 self.bot.stop() 207 self.bot.stop()
209 self.join() 208 self.join()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698