[Webkit-unassigned] [Bug 283824] New: [webkitpy] git-webkit revert --no-pr --no-bug fails with traceback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 29 05:55:43 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=283824

            Bug ID: 283824
           Summary: [webkitpy] git-webkit revert --no-pr --no-bug fails
                    with traceback
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

Trying to use “./Scripts/Tools/git-webkit revert --no-pr --no-bug <commit>”
produces a traceback (note that I left the bug URL/title empty because I did
not want to create a bug in this case):

% ./Tools/Scripts/git-webkit revert --no-pr --no-bug cdbaf316924a9586fe251b1006041b334d0c7fac 
This issue will track the revert and should not be the issue of the commit(s) to be reverted.
Enter issue URL or title of new issue (reason for the revert):
Traceback (most recent call last):
  File "/home/aperez/devel/WebKit-2.46/./Tools/Scripts/git-webkit", line 63, in <module>
    sys.exit(program.main(
             ^^^^^^^^^^^^^
  File "/home/aperez/devel/WebKit-2.46/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 185, in main
    return parsed.main(
           ^^^^^^^^^^^^
  File "/home/aperez/devel/WebKit-2.46/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py", line 286, in main
    issue = cls.get_issue_info(args, repository, commit_objects, commit_issues, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aperez/devel/WebKit-2.46/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py", line 139, in get_issue_info
    sys.stderr.write('Could not fetch {} from link. Please verify that the issue exists.\n'.format(issue.tracker.NAME))
                                                                                                   ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'tracker'
%

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241129/84608dc4/attachment.htm>


More information about the webkit-unassigned mailing list