Skip to content

Commit

Permalink
docs: updates from Homebrew/brew
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Mar 1, 2024
1 parent 17d94f1 commit f243a1c
Showing 1 changed file with 40 additions and 44 deletions.
84 changes: 40 additions & 44 deletions docs/GitHub.html
Original file line number Diff line number Diff line change
Expand Up @@ -1634,9 +1634,7 @@ <h3 class="signature " id="check_for_duplicate_pull_requests-class_method">
587
588
589
590
591
592</pre>
590</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 558</span>
Expand All @@ -1656,7 +1654,6 @@ <h3 class="signature " id="check_for_duplicate_pull_requests-class_method">
<span class='kw'>end</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_pull_requests'>pull_requests</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>

<span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="ENV.html" title="ENV (class)">ENV</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>HOMEBREW_TEST_BOT_AUTOBUMP</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span>
<span class='id identifier rubyid_duplicates_message'>duplicates_message</span> <span class='op'>=</span> <span class='heredoc_beg'>&lt;&lt;~EOS</span>
<span class='tstring_content'> These </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_state'>state</span><span class='embexpr_end'>}</span><span class='tstring_content'> pull requests may be duplicates:
</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_pull_requests'>pull_requests</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_pr'>pr</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_pr'>pr</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>title</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_pr'>pr</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>html_url</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>
Expand All @@ -1665,11 +1662,10 @@ <h3 class="signature " id="check_for_duplicate_pull_requests-class_method">
<span class='tstring_content'> Duplicate PRs should not be opened.
</span><span class='tstring_content'> Manually open these PRs if you are sure that they are not duplicates.
</span><span class='heredoc_end'> EOS
</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_quiet'>quiet</span>
<span class='id identifier rubyid_opoo'>opoo</span> <span class='id identifier rubyid_duplicates_message'>duplicates_message</span>
<span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_force'>force</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_quiet'>quiet</span>
</span>
<span class='kw'>if</span> <span class='id identifier rubyid_quiet'>quiet</span>
<span class='id identifier rubyid_odie'>odie</span> <span class='id identifier rubyid_error_message'>error_message</span>
<span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_force'>force</span>
<span class='kw'>else</span>
<span class='id identifier rubyid_odie'>odie</span> <span class='heredoc_beg'>&lt;&lt;~EOS</span>
<span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_duplicates_message'>duplicates_message</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='embexpr_end'>}</span><span class='tstring_content'>
</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_error_message'>error_message</span><span class='embexpr_end'>}</span><span class='tstring_content'>
Expand Down Expand Up @@ -1811,6 +1807,8 @@ <h3 class="signature " id="count_repo_commits-class_method">
<pre class="lines">


787
788
789
790
791
Expand All @@ -1821,12 +1819,10 @@ <h3 class="signature " id="count_repo_commits-class_method">
796
797
798
799
800
801</pre>
799</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 789</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 787</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_count_repo_commits'>count_repo_commits</span><span class='lparen'>(</span><span class='id identifier rubyid_nwo'>nwo</span><span class='comma'>,</span> <span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='label'>max:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
<span class='id identifier rubyid_odie'>odie</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Cannot count commits, HOMEBREW_NO_GITHUB_API set!</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Homebrew.html" title="Homebrew (module)">Homebrew</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Homebrew/EnvConfig.html" title="Homebrew::EnvConfig (module)">EnvConfig</a></span></span><span class='period'>.</span><span class='id identifier rubyid_no_github_api?'>no_github_api?</span>
Expand Down Expand Up @@ -1876,6 +1872,8 @@ <h3 class="signature " id="create_bump_pr-class_method">
<pre class="lines">


616
617
618
619
620
Expand Down Expand Up @@ -1966,12 +1964,10 @@ <h3 class="signature " id="create_bump_pr-class_method">
705
706
707
708
709
710</pre>
708</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 618</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 616</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_create_bump_pr'>create_bump_pr</span><span class='lparen'>(</span><span class='id identifier rubyid_info'>info</span><span class='comma'>,</span> <span class='label'>args:</span><span class='rparen'>)</span>
<span class='id identifier rubyid_tap'>tap</span> <span class='op'>=</span> <span class='id identifier rubyid_info'>info</span><span class='lbracket'>[</span><span class='symbol'>:tap</span><span class='rbracket'>]</span>
Expand Down Expand Up @@ -2798,6 +2794,8 @@ <h3 class="signature " id="forked_repo_info!-class_method">
<pre class="lines">


603
604
605
606
607
Expand All @@ -2807,12 +2805,10 @@ <h3 class="signature " id="forked_repo_info!-class_method">
611
612
613
614
615
616</pre>
614</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 605</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 603</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_forked_repo_info!'>forked_repo_info!</span><span class='lparen'>(</span><span class='id identifier rubyid_tap_remote_repo'>tap_remote_repo</span><span class='comma'>,</span> <span class='label'>org:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_create_fork'>create_fork</span><span class='lparen'>(</span><span class='id identifier rubyid_tap_remote_repo'>tap_remote_repo</span><span class='comma'>,</span> <span class='label'>org:</span> <span class='id identifier rubyid_org'>org</span><span class='rparen'>)</span>
Expand Down Expand Up @@ -3066,12 +3062,12 @@ <h3 class="signature " id="get_pull_request_changed_files-class_method">
<pre class="lines">


594
595
596</pre>
592
593
594</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 594</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 592</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get_pull_request_changed_files'>get_pull_request_changed_files</span><span class='lparen'>(</span><span class='id identifier rubyid_tap_remote_repo'>tap_remote_repo</span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='rparen'>)</span>
<span class='const'><span class='object_link'><a href="GitHub/API.html" title="GitHub::API (module)">API</a></span></span><span class='period'>.</span><span class='id identifier rubyid_open_rest'><span class='object_link'><a href="GitHub/API.html#open_rest-class_method" title="GitHub::API.open_rest (method)">open_rest</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url_to'>url_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>repos</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_tap_remote_repo'>tap_remote_repo</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pulls</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>files</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
Expand Down Expand Up @@ -3462,6 +3458,8 @@ <h3 class="signature " id="last_commit-class_method">
<pre class="lines">


736
737
738
739
740
Expand All @@ -3476,12 +3474,10 @@ <h3 class="signature " id="last_commit-class_method">
749
750
751
752
753
754</pre>
752</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 738</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 736</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_last_commit'>last_commit</span><span class='lparen'>(</span><span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='id identifier rubyid_ref'>ref</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Homebrew.html" title="Homebrew (module)">Homebrew</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Homebrew/EnvConfig.html" title="Homebrew::EnvConfig (module)">EnvConfig</a></span></span><span class='period'>.</span><span class='id identifier rubyid_no_github_api?'>no_github_api?</span>
Expand Down Expand Up @@ -3707,6 +3703,8 @@ <h3 class="signature " id="multiple_short_commits_exist?-class_method">
<pre class="lines">


754
755
756
757
758
Expand All @@ -3718,12 +3716,10 @@ <h3 class="signature " id="multiple_short_commits_exist?-class_method">
764
765
766
767
768
769</pre>
767</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 756</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 754</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_multiple_short_commits_exist?'>multiple_short_commits_exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='id identifier rubyid_commit'>commit</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Homebrew.html" title="Homebrew (module)">Homebrew</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Homebrew/EnvConfig.html" title="Homebrew::EnvConfig (module)">EnvConfig</a></span></span><span class='period'>.</span><span class='id identifier rubyid_no_github_api?'>no_github_api?</span>
Expand Down Expand Up @@ -4065,6 +4061,8 @@ <h3 class="signature " id="pull_request_commits-class_method">
<pre class="lines">


710
711
712
713
714
Expand All @@ -4082,12 +4080,10 @@ <h3 class="signature " id="pull_request_commits-class_method">
726
727
728
729
730
731</pre>
729</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 712</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 710</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_pull_request_commits'>pull_request_commits</span><span class='lparen'>(</span><span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='comma'>,</span> <span class='label'>per_page:</span> <span class='int'>100</span><span class='rparen'>)</span>
<span class='id identifier rubyid_pr_data'>pr_data</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="GitHub/API.html" title="GitHub::API (module)">API</a></span></span><span class='period'>.</span><span class='id identifier rubyid_open_rest'><span class='object_link'><a href="GitHub/API.html#open_rest-class_method" title="GitHub::API.open_rest (method)">open_rest</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url_to'>url_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>repos</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pulls</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='rparen'>)</span><span class='rparen'>)</span>
Expand Down Expand Up @@ -4144,13 +4140,13 @@ <h3 class="signature " id="pull_request_labels-class_method">
<pre class="lines">


731
732
733
734
735
736</pre>
734</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 733</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 731</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_pull_request_labels'>pull_request_labels</span><span class='lparen'>(</span><span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='rparen'>)</span>
<span class='id identifier rubyid_pr_data'>pr_data</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="GitHub/API.html" title="GitHub::API (module)">API</a></span></span><span class='period'>.</span><span class='id identifier rubyid_open_rest'><span class='object_link'><a href="GitHub/API.html#open_rest-class_method" title="GitHub::API.open_rest (method)">open_rest</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url_to'>url_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>repos</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_repo'>repo</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pulls</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_pull_request'>pull_request</span><span class='rparen'>)</span><span class='rparen'>)</span>
Expand Down Expand Up @@ -4287,6 +4283,8 @@ <h3 class="signature " id="repo_commits_for_user-class_method">
<pre class="lines">


769
770
771
772
773
Expand All @@ -4301,12 +4299,10 @@ <h3 class="signature " id="repo_commits_for_user-class_method">
782
783
784
785
786
787</pre>
785</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 771</span>
<pre class="code"><span class="info file"># File 'utils/github.rb', line 769</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_repo_commits_for_user'>repo_commits_for_user</span><span class='lparen'>(</span><span class='id identifier rubyid_nwo'>nwo</span><span class='comma'>,</span> <span class='id identifier rubyid_user'>user</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='id identifier rubyid_max'>max</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Homebrew.html" title="Homebrew (module)">Homebrew</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Homebrew/EnvConfig.html" title="Homebrew::EnvConfig (module)">EnvConfig</a></span></span><span class='period'>.</span><span class='id identifier rubyid_no_github_api?'>no_github_api?</span>
Expand Down

0 comments on commit f243a1c

Please sign in to comment.