[Webkit-unassigned] [Bug 244010] New: `git-webkit ptr` fails when using angle brackets for bugs.webkit.org URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 16 14:50:05 PDT 2022


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

            Bug ID: 244010
           Summary: `git-webkit ptr` fails when using angle brackets for
                    bugs.webkit.org URL
           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: ddkilzer at webkit.org
                CC: jbedard at apple.com

`git-webkit ptr` fails when using angle brackets for bugs.webkit.org URL.

In Bug 244008, I originally formatted the git commit message like this:

'''
    Leak of id<MTLArgumentEncoder> in rx::(anonymous)::InitArgumentBufferEncoder()
    <https://bugs.webkit.org/show_bug.cgi?id=244008>
    <rdar://98747531>

'''

However, that resulted in the following error:

```
$ ./Tools/Scripts/git-webkit pfr
Branch 'main' set up to track remote branch 'main' from 'origin'.
>From https://github.com/WebKit/WebKit
 * branch                      main       -> FETCH_HEAD
Current branch ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder is up to date.
    Found 1 commit...
Total errors found: 0 in 1 files
Your issue is redacted, diverting to a secure, non-origin remote you have access to.
Making PR against 'apple' instead of 'origin'
Enumerating objects: 19, done.
Counting objects: 100% (19/19), done.
Delta compression using up to 24 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.01 KiB | 129.00 KiB/s, done.
Total 10 (delta 9), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (9/9), completed with 9 local objects.
remote: 
remote: Create a pull request for 'ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder' on GitHub by visiting:
remote:      https://github.com/ddkilzer/WebKit-apple/pull/new/ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder
remote: 
To https://github.com/ddkilzer/WebKit-apple.git
 * [new branch]                ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder -> ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder
Everything up-to-date
Traceback (most recent call last):
  File "./Tools/Scripts/git-webkit", line 69, in <module>
    sys.exit(program.main(
  File "WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 148, in main
    return parsed.main(
  File "WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 507, in main
    return cls.create_pull_request(repository, args, branch_point)
  File "WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 434, in create_pull_request
    pr = remote_repo.pull_requests.create(
  File "WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py", line 148, in create
    sys.stderr.write(self.tracker.parse_error(response.json()))
AttributeError: 'PRGenerator' object has no attribute 'tracker'
$ 
```

I had to remove the angle brackets from the bugs.webkit.org URL to workaround the issue.

-- 
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/20220816/39172559/attachment.htm>


More information about the webkit-unassigned mailing list