<?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>247274</bug_id>
          
          <creation_ts>2022-10-31 11:32:53 -0700</creation_ts>
          <short_desc>We need git-webkit apply-pr and apply-from-bug</short_desc>
          <delta_ts>2023-04-20 08:52:46 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1909363</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-10-31 11:32:53 -0700</bug_when>
    <thetext>webkit-patch has apply-attachment and apply-from-bug to apply patches posted on Bugzilla.
We need an equivalent command for applying PR and/or PR associated with the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909367</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-10-31 11:51:16 -0700</bug_when>
    <thetext>Note that one of important use cases is to apply PR written by someone else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909368</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-10-31 11:55:17 -0700</bug_when>
    <thetext>Arguably more important than it was in webkit-patch, because downloading a diff file from GitHub is an undiscoverable action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909369</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-10-31 11:57:15 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; Arguably more important than it was in webkit-patch, because downloading a
&gt; diff file from GitHub is an undiscoverable action.

Yeah, we used to able to download the diff on Bugzilla and apply that locally. Can&apos;t do that anymore either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909398</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-10-31 13:27:46 -0700</bug_when>
    <thetext>I should have explained how this undiscoverable action works. Adding .diff or .patch to a PR or commit link (like https://github.com/WebKit/WebKit/pull/5969.diff) produces downloadable diffs, either &quot;git diff&quot; or &quot;git patch&quot; style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1910821</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-07 10:33:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/102048463&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950086</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2023-04-20 08:52:46 -0700</bug_when>
    <thetext>`git-webkit checkout pr-#` exists, and is designed to solve this problem. If we wanted to expand this to bugs, we&apos;re basically resolving the pointer to the PR, then checking out the PR.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>