<?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>223942</bug_id>
          
          <creation_ts>2021-03-30 11:37:37 -0700</creation_ts>
          <short_desc>Add confirmation prompt to discourage manual commits</short_desc>
          <delta_ts>2021-04-06 11:38:17 -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>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=223954</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>sam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1745200</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-30 11:37:37 -0700</bug_when>
    <thetext>Add a confirmation prompt which appears while doing manual committing (e.g.: through webkit-patch land) to discourage manual commits. Manual commits will not be allowed after we move to github. So, it would be good to provide such warning so that people can either start using commit-queue, or let us know the reason for manual commits, so that commit-queue can be improved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745219</commentid>
    <comment_count>1</comment_count>
      <attachid>424672</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-30 11:58:27 -0700</bug_when>
    <thetext>Created attachment 424672
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745226</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-30 12:05:26 -0700</bug_when>
    <thetext>unit-tests needs to be updated, but would be nice to have it reviewed meanwhile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745235</commentid>
    <comment_count>3</comment_count>
      <attachid>424672</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-03-30 12:18:07 -0700</bug_when>
    <thetext>Comment on attachment 424672
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=424672&amp;action=review

Looks good, just need to update the unit tests.

&gt; Tools/Scripts/webkitpy/tool/steps/commit.py:72
&gt; +        warning_message += &apos;\nIn future, when WebKit moves to github, manual commiting would not be allowed.&apos;

github -&gt; GitHub</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745237</commentid>
    <comment_count>4</comment_count>
      <attachid>424672</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2021-03-30 12:22:31 -0700</bug_when>
    <thetext>Comment on attachment 424672
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=424672&amp;action=review

&gt; Tools/Scripts/webkitpy/tool/steps/commit.py:74
&gt; +        warning_message += &apos;\nIn you have a specific reason for manual commit, please let us know at admin@webkit.org or please file a bug.&apos;
&gt; +        warning_message += &apos;\nAre you sure you want to continue with manual committing?&apos;

Manual committing is very useful for quick typo fixes and build fixes. This doesn&apos;t seem like a great new rule to push on the community, especially if we don&apos;t have big problem with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745241</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-03-30 12:38:44 -0700</bug_when>
    <thetext>(In reply to Sam Weinig from comment #4)
&gt; Comment on attachment 424672 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=424672&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/tool/steps/commit.py:74
&gt; &gt; +        warning_message += &apos;\nIn you have a specific reason for manual commit, please let us know at admin@webkit.org or please file a bug.&apos;
&gt; &gt; +        warning_message += &apos;\nAre you sure you want to continue with manual committing?&apos;
&gt; 
&gt; Manual committing is very useful for quick typo fixes and build fixes. This
&gt; doesn&apos;t seem like a great new rule to push on the community, especially if
&gt; we don&apos;t have big problem with it.

We don&apos;t have a great way to do any pre-commit validation in GitHub the way we do in Subversion. This is important for things like enforcing rules with tabs, adding identifiers to commit messages, rejecting changes with &quot;OOPS&quot; in them.

To address build-fix/type style changes, the plan is to have a fast-path commit-queue that works the way current commit queue does when EWS was successful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1746250</commentid>
    <comment_count>6</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-01 13:55:03 -0700</bug_when>
    <thetext>&gt; To address build-fix/type style changes, the plan is to have a fast-path commit-queue that works the way current commit queue does when EWS was successful.
Note that the fast-commit-queue will also skip Building. It should take it only ~1 minute to land the patch. We just add the fast-commit-queue mode in https://bugs.webkit.org/show_bug.cgi?id=223954. We also plan to add webkit-patch support for it (e.g.: using --fast-cq parameter).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747546</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-06 11:38:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/76276805&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>424672</attachid>
            <date>2021-03-30 11:58:27 -0700</date>
            <delta_ts>2021-03-30 17:04:33 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-223942-20210330115826.patch</filename>
            <type>text/plain</type>
            <size>2222</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3NTIxNikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDIxLTAzLTMwICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBBZGQgY29uZmlybWF0aW9uIHByb21wdCB0byBkaXNjb3VyYWdlIG1hbnVh
bCBjb21taXRzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD0yMjM5NDIKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICAqIFNjcmlwdHMvd2Via2l0cHkvdG9vbC9zdGVwcy9jb21taXQucHk6CisgICAgICAgIChDb21t
aXQud2Fybl9mb3JfbWFudWFsX2NvbW1pdCk6IE1ldGhvZCB0byBkaXNwbGF5IHdhcm5pbmcgd2hp
bGUgZG9pbmcgbWFudWFsIGNvbW1pdC4KKyAgICAgICAgKENvbW1pdC5ydW4pOgorCiAyMDIxLTAz
LTI5ICBTaW1vbiBGcmFzZXIgIDxzaW1vbi5mcmFzZXJAYXBwbGUuY29tPgogCiAgICAgICAgIEFs
bG93IG5vbi02MGZwcyBkaXNwbGF5IHVwZGF0ZXMgdG8gYmUgZHJpdmVuIGJ5IERpc3BsYXlSZWZy
ZXNoTW9uaXRvcgpJbmRleDogVG9vbHMvU2NyaXB0cy93ZWJra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cm5p
bmdfbWVzc2FnZSArPSAnXG5BcmUgeW91IHN1cmUgeW91IHdhbnQgdG8gY29udGludWUgd2l0aCBt
YW51YWwgY29tbWl0dGluZz8nCisgICAgICAgIGlmIG5vdCBzZWxmLl90b29sLnVzZXIuY29uZmly
bSh3YXJuaW5nX21lc3NhZ2UsIGRlZmF1bHQ9Im4iKToKKyAgICAgICAgICAgIHNlbGYuX2V4aXQo
MSkKKwogICAgIGRlZiBydW4oc2VsZiwgc3RhdGUpOgogICAgICAgICBzZWxmLl9jb21taXRfbWVz
c2FnZSA9IHNlbGYuX3Rvb2wuY2hlY2tvdXQoKS5jb21taXRfbWVzc2FnZV9mb3JfdGhpc19jb21t
aXQoc2VsZi5fb3B0aW9ucy5naXRfY29tbWl0KS5tZXNzYWdlKCkKICAgICAgICAgaWYgbGVuKHNl
bGYuX2NvbW1pdF9tZXNzYWdlKSA8IDEwOgogICAgICAgICAgICAgcmFpc2UgRXhjZXB0aW9uKCJB
dHRlbXB0ZWQgdG8gY29tbWl0IHdpdGggYSBjb21taXQgbWVzc2FnZSBzaG9ydGVyIHRoYW4gMTAg
Y2hhcmFjdGVycy4gIEVpdGhlciB5b3VyIHBhdGNoIGlzIG1pc3NpbmcgYSBDaGFuZ2VMb2cgb3Ig
d2Via2l0LXBhdGNoIG1heSBoYXZlIGEgYnVnLiIpCiAKKyAgICAgICAgc2VsZi53YXJuX2Zvcl9t
YW51YWxfY29tbWl0KCkKICAgICAgICAgc2VsZi5fY2hlY2tfdGVzdF9leHBlY3RhdGlvbnMoc2Vs
Zi5fY2hhbmdlZF9maWxlcyhzdGF0ZSkpCiAgICAgICAgIHNlbGYuX3N0YXRlID0gc3RhdGUKIAo=
</data>
<flag name="review"
          id="444409"
          type_id="1"
          status="?"
          setter="aakash_jain"
    />
    <flag name="commit-queue"
          id="444457"
          type_id="3"
          status="-"
          setter="ews-feeder"
    />
          </attachment>
      

    </bug>

</bugzilla>