Changeset 56125 in webkit


Ignore:
Timestamp:
Mar 17, 2010 1:52:22 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-03-17 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Add a way for the bots to send messages to IRC
https://bugs.webkit.org/show_bug.cgi?id=36235

We'll use these classes to notify #webkit about bad SVN revisions.
This patch just has some skeleton code for us to play with.

  • Scripts/webkitpy/irc/init.py: Added.
  • Scripts/webkitpy/irc/ircbot.py: Added.

A bot that knows how to talk to IRC.

  • Scripts/webkitpy/irc/ircproxy.py: Added.

We need to run the bot on its own thread because the irclib needs
its own mainloop. This class provides an abstraction of the
threading.

  • Scripts/webkitpy/irc/messagepump.py: Added.
  • Scripts/webkitpy/irc/messagepump_unittest.py: Added.
  • Scripts/webkitpy/irc/threadedmessagequeue.py: Added.

A thread-safe message queue for sending messages from the main
thread to the IRC thread.

  • Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Added.
  • Scripts/webkitpy/irc/unittests.py: Added.
  • Scripts/webkitpy/thirdparty/autoinstalled/init.py:

Autoinstall irclib

  • Scripts/webkitpy/unittests.py:
Location:
trunk/WebKitTools
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56123 r56125  
     12010-03-17  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Add a way for the bots to send messages to IRC
     6        https://bugs.webkit.org/show_bug.cgi?id=36235
     7
     8        We'll use these classes to notify #webkit about bad SVN revisions.
     9        This patch just has some skeleton code for us to play with.
     10
     11        * Scripts/webkitpy/irc/__init__.py: Added.
     12        * Scripts/webkitpy/irc/ircbot.py: Added.
     13            A bot that knows how to talk to IRC.
     14        * Scripts/webkitpy/irc/ircproxy.py: Added.
     15            We need to run the bot on its own thread because the irclib needs
     16            its own mainloop.  This class provides an abstraction of the
     17            threading.
     18        * Scripts/webkitpy/irc/messagepump.py: Added.
     19        * Scripts/webkitpy/irc/messagepump_unittest.py: Added.
     20        * Scripts/webkitpy/irc/threadedmessagequeue.py: Added.
     21            A thread-safe message queue for sending messages from the main
     22            thread to the IRC thread.
     23        * Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Added.
     24        * Scripts/webkitpy/irc/unittests.py: Added.
     25        * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py:
     26            Autoinstall irclib
     27        * Scripts/webkitpy/unittests.py:
     28
    1292010-03-17  Victor Wang  <victorw@chromium.org>
    230
  • trunk/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/__init__.py

    r55969 r56125  
    77autoinstall.bind("ClientForm", "http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.zip", "ClientForm-0.2.10")
    88autoinstall.bind("mechanize", "http://pypi.python.org/packages/source/m/mechanize/mechanize-0.1.11.zip", "mechanize-0.1.11")
     9# We import both irclib and ircbot because irclib has two top-level packages.
     10autoinstall.bind("irclib", "http://iweb.dl.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip", "python-irclib-0.4.8")
     11autoinstall.bind("ircbot", "http://iweb.dl.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip", "python-irclib-0.4.8")
    912
    1013from mechanize import Browser
    1114from mechanize import HTTPError
     15import ircbot
  • trunk/WebKitTools/Scripts/webkitpy/unittests.py

    r55970 r56125  
    4646from webkitpy.executive_unittest import *
    4747from webkitpy.grammar_unittest import *
     48from webkitpy.irc.unittests import *
    4849from webkitpy.init.unittests import *  # for the webkitpy.init package
    4950from webkitpy.layout_tests.port.mac_unittest import *
Note: See TracChangeset for help on using the changeset viewer.