Changeset 45580 in webkit


Ignore:
Timestamp:
Jul 6, 2009 7:18:41 PM (15 years ago)
Author:
eric@webkit.org
Message:

2009-07-06 Eric Seidel <eric@webkit.org>

Reviewed by Maciej Stachowiak.

bugzilla-tool fails to close bugs with bugzilla 3.0
https://bugs.webkit.org/show_bug.cgi?id=27008

Update bugzilla.py to match changes in the bug page "changeform"
Update scm.py to add bug_ids to attachments to make error reporting nicer.

  • Scripts/modules/bugzilla.py:
  • Scripts/modules/scm.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r45544 r45580  
     12009-07-06  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        bugzilla-tool fails to close bugs with bugzilla 3.0
     6        https://bugs.webkit.org/show_bug.cgi?id=27008
     7
     8        Update bugzilla.py to match changes in the bug page "changeform"
     9        Update scm.py to add bug_ids to attachments to make error reporting nicer.
     10
     11        * Scripts/modules/bugzilla.py:
     12        * Scripts/modules/scm.py:
     13
    1142009-07-03  Maciej Stachowiak  <mjs@apple.com>
    215
  • trunk/WebKitTools/Scripts/modules/bugzilla.py

    r45544 r45580  
    144144        for element in soup.findAll('attachment'):
    145145            attachment = {}
     146            attachment['bug_id'] = bug_id
    146147            attachment['is_obsolete'] = (element.has_key('isobsolete') and element['isobsolete'] == "1")
    147148            attachment['is_patch'] = (element.has_key('ispatch') and element['ispatch'] == "1")
     
    294295            log(comment_text)
    295296            self.browser['comment'] = comment_text
    296         self.browser['knob'] = ['resolve']
     297        self.browser['bug_status'] = ['RESOLVED']
    297298        self.browser['resolution'] = ['FIXED']
    298299        self.browser.submit()
  • trunk/WebKitTools/Scripts/modules/scm.py

    r45514 r45580  
    100100        return_code = patch_apply_process.wait()
    101101        if return_code:
    102             raise ScriptError("Patch " + patch['url'] + " failed to download and apply.")
     102            raise ScriptError("Patch %s from bug %s failed to download and apply." % (patch['url'], patch['bug_id']))
    103103
    104104    def run_status_and_extract_filenames(self, status_command, status_regexp):
Note: See TracChangeset for help on using the changeset viewer.