Changeset 52718 in webkit


Ignore:
Timestamp:
Jan 4, 2010 1:42:04 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-04 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

bugzilla-tool should not require users to install mechanize
https://bugs.webkit.org/show_bug.cgi?id=32635

  • .gitignore: Ignore autoinstall.cache.d directory created by autoinstall.py

2010-01-04 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

bugzilla-tool should not require users to install mechanize
https://bugs.webkit.org/show_bug.cgi?id=32635

Use the nifty "autoinstall" module from Daniel Krech:
http://pypi.python.org/pypi/autoinstall/0.2
http://code.google.com/p/pyautoinstall/
It's available under a WebKit-compatible BSD license.

  • Scripts/webkitpy/init.py:
    • bind "mechanize" to an autoinstall importer which will auto-download mechanize if necessary.
  • Scripts/webkitpy/autoinstall.py: Added.
  • Scripts/webkitpy/bugzilla.py: use "mechanize" instead of webkit_mechanize
  • Scripts/webkitpy/statusbot.py: ditto.
  • Scripts/webkitpy/webkit_mechanize.py: Removed.
Location:
trunk
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitignore

    r52383 r52718  
    55build/
    66/WebKitBuild/
     7autoinstall.cache.d
    78
    89# Ignore Chromium projects auto-generated from .gyp files:
  • trunk/ChangeLog

    r52597 r52718  
     12010-01-04  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        bugzilla-tool should not require users to install mechanize
     6        https://bugs.webkit.org/show_bug.cgi?id=32635
     7
     8        * .gitignore: Ignore autoinstall.cache.d directory created by autoinstall.py
     9
    1102009-12-28  Estêvão Samuel Procópio  <tevaum@gmail.com>
    211
  • trunk/WebKitTools/ChangeLog

    r52717 r52718  
     12010-01-04  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        bugzilla-tool should not require users to install mechanize
     6        https://bugs.webkit.org/show_bug.cgi?id=32635
     7
     8        Use the nifty "autoinstall" module from Daniel Krech:
     9        http://pypi.python.org/pypi/autoinstall/0.2
     10        http://code.google.com/p/pyautoinstall/
     11        It's available under a WebKit-compatible BSD license.
     12
     13        * Scripts/webkitpy/__init__.py:
     14         - bind "mechanize" to an autoinstall importer which will
     15           auto-download mechanize if necessary.
     16        * Scripts/webkitpy/autoinstall.py: Added.
     17        * Scripts/webkitpy/bugzilla.py: use "mechanize" instead of webkit_mechanize
     18        * Scripts/webkitpy/statusbot.py: ditto.
     19        * Scripts/webkitpy/webkit_mechanize.py: Removed.
     20
    1212010-01-04  Adam Barth  <abarth@webkit.org>
    222
  • trunk/WebKitTools/Scripts/webkitpy/__init__.py

    r44979 r52718  
    11# Required for Python to search this directory for module files
     2
     3import autoinstall
     4
     5# List our third-party library dependencies here and where they can be downloaded.
     6autoinstall.bind("mechanize", "http://pypi.python.org/packages/source/m/mechanize/mechanize-0.1.11.zip", "mechanize-0.1.11")
  • trunk/WebKitTools/Scripts/webkitpy/bugzilla.py

    r52716 r52718  
    4040from webkitpy.credentials import Credentials
    4141
    42 # WebKit includes a built copy of BeautifulSoup in Scripts/modules
     42# WebKit includes a built copy of BeautifulSoup in Scripts/webkitpy
    4343# so this import should always succeed.
    4444from .BeautifulSoup import BeautifulSoup, SoupStrainer
    4545
    46 from webkitpy.webkit_mechanize import Browser
     46from mechanize import Browser
    4747
    4848def parse_bug_id(message):
  • trunk/WebKitTools/Scripts/webkitpy/statusserver.py

    r52716 r52718  
    3030
    3131from webkitpy.webkit_logging import log
    32 from webkitpy.webkit_mechanize import Browser
     32from mechanize import Browser
    3333
    3434# WebKit includes a built copy of BeautifulSoup in Scripts/webkitpy
Note: See TracChangeset for help on using the changeset viewer.