<?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>246386</bug_id>
          
          <creation_ts>2022-10-11 20:35:04 -0700</creation_ts>
          <short_desc>Better support for dependent branches</short_desc>
          <delta_ts>2022-10-18 20:36:19 -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="Matt Woodrow">mattwoodrow</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>1904983</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2022-10-11 20:35:04 -0700</bug_when>
    <thetext>Unfortunately GitHub doesn&apos;t support dependent branches for cross-repo PRs, but I think we could support them a bit better on our side.

I frequently end up developing changes that have dependencies on other changes that haven&apos;t yet landed. Neither combining them into a single PR, nor just waiting until the previous one has merged are great options.

Running `git webkit pr` on a branch with dependencies mostly works, except that it creates the PR against &apos;main&apos;, so it also includes all the commits from dependent branches. See https://github.com/WebKit/WebKit/pull/4085.

This is somewhat ok, since it means that EWS works. Once the dependent branches have merged, I can just rebase and re-push the PR and the other commits will disappear.

I think ideally we&apos;d skip putting the commit messages from the dependent branch commits into the PR description, and instead include a message to reviewers that those commits aren&apos;t (logically) part of this PR and shouldn&apos;t be reviewed. Maybe including links to the PRs where those commits can/should be reviewed?

I&apos;m not sure if there&apos;s much else we can do to make it clearer on the GitHub review side.

We also get a lot of log spew on the client side when pushing them, looks like parsing of the commit message is failing in some way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906686</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-18 20:36:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/101321713&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>