<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244010</bug_id>
          
          <creation_ts>2022-08-16 14:50:05 -0700</creation_ts>
          <short_desc>`git-webkit pfr` fails when using angle brackets for bugs.webkit.org URL</short_desc>
          <delta_ts>2024-08-20 16:16:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>239082</blocked>
    
    <blocked>278426</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1891770</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2022-08-16 14:50:05 -0700</bug_when>
    <thetext>`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:

&apos;&apos;&apos;
    Leak of id&lt;MTLArgumentEncoder&gt; in rx::(anonymous)::InitArgumentBufferEncoder()
    &lt;https://bugs.webkit.org/show_bug.cgi?id=244008&gt;
    &lt;rdar://98747531&gt;

&apos;&apos;&apos;

However, that resulted in the following error:

```
$ ./Tools/Scripts/git-webkit pfr
Branch &apos;main&apos; set up to track remote branch &apos;main&apos; from &apos;origin&apos;.
From https://github.com/WebKit/WebKit
 * branch                      main       -&gt; 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 &apos;apple&apos; instead of &apos;origin&apos;
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 &apos;ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder&apos; 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 -&gt; ddkilzer/bug-244008-fix-leak-of-id_MTLArgumentEncoder
Everything up-to-date
Traceback (most recent call last):
  File &quot;./Tools/Scripts/git-webkit&quot;, line 69, in &lt;module&gt;
    sys.exit(program.main(
  File &quot;WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py&quot;, line 148, in main
    return parsed.main(
  File &quot;WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py&quot;, line 507, in main
    return cls.create_pull_request(repository, args, branch_point)
  File &quot;WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py&quot;, line 434, in create_pull_request
    pr = remote_repo.pull_requests.create(
  File &quot;WebKit.github/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py&quot;, line 148, in create
    sys.stderr.write(self.tracker.parse_error(response.json()))
AttributeError: &apos;PRGenerator&apos; object has no attribute &apos;tracker&apos;
$ 
```

I had to remove the angle brackets from the bugs.webkit.org URL to workaround the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891772</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2022-08-16 14:53:42 -0700</bug_when>
    <thetext>This happened while `main` was at commit 84f547237bc57d93b4f5b79eff64589e5ab3aa5c (253486@main).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892327</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-18 16:46:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/98856552&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893270</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-08-23 10:36:42 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3580</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893382</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-23 16:42:09 -0700</bug_when>
    <thetext>Committed 253710@main (b6e3977a551d): &lt;https://commits.webkit.org/253710@main&gt;

Reviewed commits have been landed. Closing PR #3580 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895168</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-31 08:49:08 -0700</bug_when>
    <thetext>Committed 252432.299@safari-7614-branch (248bf5256d56): &lt;https://commits.webkit.org/252432.299@safari-7614-branch&gt;

Reviewed commits have been landed. Closing PR #39 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054250</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2024-08-20 16:16:11 -0700</bug_when>
    <thetext>Follow-up issue:

Bug 278426: [ews-build] Bugzillas enclosed in &lt;&gt; in commit messages do not get closed upon landing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>