<?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>192227</bug_id>
          
          <creation_ts>2018-11-30 07:36:51 -0800</creation_ts>
          <short_desc>Add script to automatically close GitHub pull requests</short_desc>
          <delta_ts>2019-07-10 11:45:13 -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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>dbates</cc>
    
    <cc>dean_johnson</cc>
    
    <cc>dino</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>jond</cc>
    
    <cc>lforschler</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mjs</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1483526</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-11-30 07:36:51 -0800</bug_when>
    <thetext>This script will close all open pull requests at https://github.com/WebKit/webkit with a friendly message:

&quot;&quot;&quot;
Thank you for your interest in contributing to WebKit!

This repository is a mirror and does not accept pull requests. Please submit your contribution to [WebKit Bugzilla](https://bugs.webkit.org/) for code review. Please also read [Contributing Code](https://webkit.org/contributing-code/) for an introduction to the contribution process. We apologize for the inconvenience and hope to see you on WebKit Bugzilla soon!
&quot;&quot;&quot;

If we run the script on a daily basis, then potential contributors can be redirected to Bugzilla in a timely manner, instead of getting frustrated that their pull requests were ignored until somebody notices them weeks later.

We have two options to run it:

 (a) I could configure it to run nightly on my personal VPS, if Jon is OK with granting my GitHub account access to the WebKit repo.
 (b) Apple could run it on Apple infrastructure, if someone from Apple wants to manage this.

If we do (b) then the script should be rewritten in python2 instead of python3. (The configparser syntax is different enough that it&apos;s easier to support only one python version.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483527</commentid>
    <comment_count>1</comment_count>
      <attachid>356176</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-11-30 07:40:14 -0800</bug_when>
    <thetext>Created attachment 356176
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483542</commentid>
    <comment_count>2</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-11-30 09:07:01 -0800</bug_when>
    <thetext>The script itself is fine but there&apos;s a GitHub app that looks like it would fit the bill.

https://probot.github.io/apps/close-issue/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483548</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-11-30 09:10:48 -0800</bug_when>
    <thetext>(In reply to Don Olmstead from comment #2)
&gt; The script itself is fine but there&apos;s a GitHub app that looks like it would
&gt; fit the bill.
&gt; 
&gt; https://probot.github.io/apps/close-issue/

Not clear if that can close pull requests? Doesn&apos;t look like it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483560</commentid>
    <comment_count>4</comment_count>
      <attachid>356176</attachid>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-11-30 09:30:48 -0800</bug_when>
    <thetext>Comment on attachment 356176
Patch

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

&gt; Tools/Scripts/close-pull-requests:77
&gt; +    issue = github.Issue.Issue(requester=req._requester,
&gt; +                               headers={},
&gt; +                               attributes=issue_data,
&gt; +                               completed=True)

I had thought all PRs are technically issues. So you could just try installing it on a dummy repo and see what happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483561</commentid>
    <comment_count>5</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-11-30 09:32:16 -0800</bug_when>
    <thetext>So to be clear I think the script is perfectly fine as is the only reason I bring up the Close Issue Probot is the whole hosting issue.

https://github.com/offu/close-issue-app is the source for it so if it doesn&apos;t fit the bill maybe we can extend it and do a PR on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1483986</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-01 08:41:45 -0800</bug_when>
    <thetext>(In reply to Don Olmstead from comment #5)
&gt; So to be clear I think the script is perfectly fine as is the only reason I
&gt; bring up the Close Issue Probot is the whole hosting issue.
&gt; 
&gt; https://github.com/offu/close-issue-app is the source for it so if it
&gt; doesn&apos;t fit the bill maybe we can extend it and do a PR on it.

I&apos;m fine with using that app if that&apos;s what we want to do. I&apos;d hesitate to give an app access to my own GitHub account, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1484398</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-12-03 10:41:46 -0800</bug_when>
    <thetext>Not maintaining a service that runs scripts seems better than maintaining it. Can we have a separate GitHub account for the app?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1484405</commentid>
    <comment_count>8</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-12-03 10:45:51 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #7)
&gt; Not maintaining a service that runs scripts seems better than maintaining
&gt; it. Can we have a separate GitHub account for the app?

Someone who has org access to WebKit on GitHub would need to enable it. When enabling it it will ask permissions for things. If the permissions it asks for are ok then it should just work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1484431</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-03 11:58:08 -0800</bug_when>
    <thetext>(In reply to Don Olmstead from comment #8)
&gt; Someone who has org access to WebKit on GitHub would need to enable it.

Of the five people who have access, the only name I recognize is Jon (CCed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491110</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-01 12:02:53 -0800</bug_when>
    <thetext>Anyway, I can have this dumb little script running immediately if we make the decision to go that route, if I&apos;m granted access to the GitHub repo. If we want to use the app, someone else will have to take charge. Either way, it&apos;s blocked on Jon Davis since he&apos;s the only current contributor with access to the GitHub repo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533733</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-05-06 19:03:00 -0700</bug_when>
    <thetext>Ping: Jon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1535004</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-05-10 08:56:17 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt;  (a) I could configure it to run nightly on my personal VPS, if Jon is OK
&gt; with granting my GitHub account access to the WebKit repo.

I actually no longer have a personal VPS, but Igalia could set this up easily enough. I&apos;m sure Apple could, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1542375</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-06 06:26:49 -0700</bug_when>
    <thetext>I tried emailing, Jon but I think he missed it.

We really need a response from Jon here, as he&apos;s the only Apple developer who controls the GitHub repo. It would be embarrassing to have to ask old Google developers for help with WebKit&apos;s GitHub repo. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548326</commentid>
    <comment_count>14</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-06-26 19:04:22 -0700</bug_when>
    <thetext>What do we need to do in the Github repo / account??</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548475</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-27 07:31:36 -0700</bug_when>
    <thetext>To use my script, we would need a GitHub access token for an account with access to the GitHub repo. We could create a new GitHub account for this purpose, give it access to the WebKit repo, and then create an access token for it. Access tokens are created under GitHub settings -&gt; Developer settings -&gt; Access tokens. I&apos;ve tested this already and the only permission required is the public_repo permission; everything else can be unchecked.

Then we would need to set up a server to run the script on a regular basis (e.g. daily). You could do that at Apple or we could do it at Igalia, whichever you would prefer.

We could alternatively forget about my script and try setting up https://github.com/offu/close-issue-app instead, as Don suggested. That may or may not be easier.

Either way, we need help from someone with access to the GitHub repo (Jon or Ryosuke).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548697</commentid>
    <comment_count>16</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-06-27 19:00:45 -0700</bug_when>
    <thetext>We should probably also lock the conversation if we can. I had to lock the conversation on https://github.com/WebKit/webkit/pull/20 even after closing PR because the person kept commenting on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548811</commentid>
    <comment_count>17</comment_count>
      <attachid>356176</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-28 08:10:27 -0700</bug_when>
    <thetext>Comment on attachment 356176
Patch

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

&gt; Tools/Scripts/close-pull-requests:79
&gt; +    issue.create_comment(MESSAGE)
&gt; +    req.edit(state=&apos;closed&apos;)

Not tested, but I think we would just need to do:

issue.lock(&apos;resolved&apos;)

Python API docs: https://pygithub.readthedocs.io/en/latest/github_objects/Issue.html?highlight=lock#github.Issue.Issue.lock

GitHub docs: https://developer.github.com/v3/issues/#lock-an-issue

In particular, note the &apos;resolved&apos; string is important and the lock will fail if we don&apos;t have it there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551747</commentid>
    <comment_count>18</comment_count>
    <who name="Jon Davis">jond</who>
    <bug_when>2019-07-10 11:33:01 -0700</bug_when>
    <thetext>I&apos;ve setup an instance of this script to run daily at around 9 AM on an internal instance at Apple.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551756</commentid>
    <comment_count>19</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-07-10 11:45:02 -0700</bug_when>
    <thetext>Awesome, thanks Jon!

I&apos;ll close this, I suppose. We can still commit it to Tools/Scripts if we want, but doesn&apos;t seem necessary.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356176</attachid>
            <date>2018-11-30 07:40:14 -0800</date>
            <delta_ts>2019-07-10 11:45:07 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-192227-20181130094013.patch</filename>
            <type>text/plain</type>
            <size>4940</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM4NjcwCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNjc0ODlmMjY5MDg0YjVmNWM4NGU0NTQzMWI3ODBiMGZl
YzllNjNjOS4uMjQ2ZWE2ZmVhMjRlZTI3MTc5NzI3ZDVhNjFmYTQyNTIxMzYwM2ZiOSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3
IEBACisyMDE4LTExLTMwICBNaWNoYWVsIENhdGFuemFybyAgPG1jYXRhb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90b2tlbicpOgorICAgIGF1dGhfdG9rZW4gPSBjb25maWcuZ2V0KCdnaXRodWIn
LCAnb2F1dGhfdG9rZW4nKQorZWxzZToKKyAgICBwcmludCgnTWFrZSBzdXJlICVzIGhhcyBhIGdp
dGh1YiBzZWN0aW9uIGFuZCBhbiBvYXV0aF90b2tlbiBrZXkvdmFsdWUgcGFpcicgJSBjb25maWdf
ZmlsZSkKKyAgICBzeXMuZXhpdCgxKQorCitnaHViID0gZ2l0aHViLkdpdGh1YihhdXRoX3Rva2Vu
KQorcmVwbyA9IGdodWIuZ2V0X29yZ2FuaXphdGlvbignV2ViS2l0JykuZ2V0X3JlcG8oJ3dlYmtp
dCcpCisKKyMgQ2xvc2UgZWFjaCBwdWxsIHJlcXVlc3QKK3B1bGxfcmVxdWVzdHMgPSByZXBvLmdl
dF9wdWxscygnb3BlbicpCitmb3IgcmVxIGluIHB1bGxfcmVxdWVzdHM6CisgICAgaXNzdWVfZGF0
YSA9IHsndXJsJzogcmVwby51cmwgKyAnL2lzc3Vlcy8nICsgc3RyKHJlcS5udW1iZXIpfQorICAg
IGlzc3VlID0gZ2l0aHViLklzc3VlLklzc3VlKHJlcXVlc3Rlcj1yZXEuX3JlcXVlc3RlciwKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzPXt9LAorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIGF0dHJpYnV0ZXM9aXNzdWVfZGF0YSwKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBjb21wbGV0ZWQ9VHJ1ZSkKKyAgICBpc3N1ZS5jcmVhdGVfY29tbWVudChN
RVNTQUdFKQorICAgIHJlcS5lZGl0KHN0YXRlPSdjbG9zZWQnKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>