<?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>242369</bug_id>
          
          <creation_ts>2022-07-05 16:48:26 -0700</creation_ts>
          <short_desc>[git-webkit] When run git-webkit pr with a revert commit have an error: AttributeError: &apos;PullRequest&apos; object has no attribute &apos;link&apos;</short_desc>
          <delta_ts>2023-01-18 11:22:47 -0800</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>245675</dup_id>
          
          <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>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zhifei Fang">zhifei_fang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1880848</commentid>
    <comment_count>0</comment_count>
    <who name="Zhifei Fang">zhifei_fang</who>
    <bug_when>2022-07-05 16:48:26 -0700</bug_when>
    <thetext>[git-webkit] When run git-webkit pr with a revert commit, it raises an error

ntim @ OpenSource ⚡️ git-webkit pr
Branch &apos;main&apos; set up to track remote branch &apos;main&apos; from &apos;origin&apos;.
Total errors found: 0 in 60 files
Enumerating objects: 1244, done.
Counting objects: 100% (1244/1244), done.
Delta compression using up to 8 threads
Compressing objects: 100% (502/502), done.
Writing objects: 100% (869/869), 325.18 KiB | 218.00 KiB/s, done.
Total 869 (delta 737), reused 472 (delta 361), pack-reused 0
remote: Resolving deltas: 100% (737/737), completed with 346 local objects.
remote: 
remote: Create a pull request for &apos;revert-user-select-unprefixing&apos; on GitHub by visiting:
remote:      https://github.com/nt1m/WebKit/pull/new/revert-user-select-unprefixing
remote: 
To github.com:nt1m/WebKit.git
 * [new branch]                revert-user-select-unprefixing -&gt; revert-user-select-unprefixing
Created &apos;PR 2102 | Revert 249800@main: &quot;Unprefix -webkit-user-select&quot;&apos;!
Traceback (most recent call last):
  File &quot;/Volumes/Data/Code/Safari/Internal/Tools/Scripts/git-webkit&quot;, line 89, in &lt;module&gt;
    sys.exit(program.main(
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py&quot;, line 148, in main
    return parsed.main(
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py&quot;, line 460, in main
    return cls.create_pull_request(repository, args, branch_point)
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py&quot;, line 402, in create_pull_request
    cls.add_comment_to_reverted_commit_bug_tracker(repository, args, pr, commits[0])
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py&quot;, line 259, in add_comment_to_reverted_commit_bug_tracker
    tracker.add_comment(&apos;Reverted by {}&apos;.format(pr.link))
AttributeError: &apos;PullRequest&apos; object has no attribute &apos;link&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882744</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-12 16:49:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/96917985&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926334</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2023-01-18 11:22:47 -0800</bug_when>
    <thetext>Fixed this in https://bugs.webkit.org/show_bug.cgi?id=245675.

*** This bug has been marked as a duplicate of bug 245675 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>