| 
									
										
										
										
											2024-06-30 18:42:16 +01:00
										 |  |  | # typed: strict | 
					
						
							| 
									
										
										
										
											2022-07-24 22:06:00 +01:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-21 08:08:53 -07:00
										 |  |  | require "abstract_command" | 
					
						
							| 
									
										
										
										
											2022-07-24 22:06:00 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | module Homebrew | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |   module DevCmd | 
					
						
							|  |  |  |     class Contributions < AbstractCommand | 
					
						
							| 
									
										
										
										
											2024-07-02 15:24:01 +01:00
										 |  |  |       PRIMARY_REPOS = T.let(%w[brew core cask].freeze, T::Array[String]) | 
					
						
							| 
									
										
										
										
											2024-06-30 18:42:16 +01:00
										 |  |  |       SUPPORTED_REPOS = T.let([ | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         PRIMARY_REPOS, | 
					
						
							|  |  |  |         OFFICIAL_CMD_TAPS.keys.map { |t| t.delete_prefix("homebrew/") }, | 
					
						
							|  |  |  |         OFFICIAL_CASK_TAPS.reject { |t| t == "cask" }, | 
					
						
							| 
									
										
										
										
											2024-06-30 18:42:16 +01:00
										 |  |  |       ].flatten.freeze, T::Array[String]) | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       MAX_REPO_COMMITS = 1000
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       cmd_args do | 
					
						
							| 
									
										
										
										
											2025-06-03 13:01:49 -04:00
										 |  |  |         usage_banner "`contributions` [`--user=`] [`--repositories=`] [`--from=`] [`--to=`] [`--csv`]" | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         description <<~EOS | 
					
						
							|  |  |  |           Summarise contributions to Homebrew repositories. | 
					
						
							|  |  |  |         EOS | 
					
						
							| 
									
										
										
										
											2025-06-03 13:01:49 -04:00
										 |  |  |         comma_array "--user=", | 
					
						
							|  |  |  |                     description: "Specify a comma-separated list of GitHub usernames or email addresses to find " \ | 
					
						
							|  |  |  |                                  "contributions from. Omitting this flag searches Homebrew maintainers." | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         comma_array "--repositories", | 
					
						
							|  |  |  |                     description: "Specify a comma-separated list of repositories to search. " \ | 
					
						
							|  |  |  |                                  "Supported repositories: #{SUPPORTED_REPOS.map { |t| "`#{t}`" }.to_sentence}. " \ | 
					
						
							|  |  |  |                                  "Omitting this flag, or specifying `--repositories=primary`, searches only the " \ | 
					
						
							| 
									
										
										
										
											2025-06-03 13:01:49 -04:00
										 |  |  |                                  "main repositories: `brew`, `core`, `cask`. " \ | 
					
						
							|  |  |  |                                  "Specifying `--repositories=all` searches all repositories. " | 
					
						
							|  |  |  |         flag   "--from=", | 
					
						
							|  |  |  |                description: "Date (ISO 8601 format) to start searching contributions. " \ | 
					
						
							|  |  |  |                             "Omitting this flag searches the past year." | 
					
						
							|  |  |  |         flag   "--to=", | 
					
						
							|  |  |  |                description: "Date (ISO 8601 format) to stop searching contributions." | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         switch "--csv", | 
					
						
							|  |  |  |                description: "Print a CSV of contributions across repositories over the time period." | 
					
						
							| 
									
										
										
										
											2024-02-22 23:29:55 +00:00
										 |  |  |       end | 
					
						
							| 
									
										
										
										
											2023-08-30 15:08:50 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       sig { override.void } | 
					
						
							|  |  |  |       def run | 
					
						
							| 
									
										
										
										
											2025-04-22 19:23:10 +01:00
										 |  |  |         Homebrew.install_bundler_gems!(groups: ["contributions"]) if args.csv? | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         results = {} | 
					
						
							|  |  |  |         grand_totals = {} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-18 11:29:36 -04:00
										 |  |  |         repos = T.must( | 
					
						
							|  |  |  |           if args.repositories.blank? || args.repositories&.include?("primary") | 
					
						
							|  |  |  |             PRIMARY_REPOS | 
					
						
							|  |  |  |           elsif args.repositories&.include?("all") | 
					
						
							|  |  |  |             SUPPORTED_REPOS | 
					
						
							|  |  |  |           else | 
					
						
							|  |  |  |             args.repositories | 
					
						
							|  |  |  |           end, | 
					
						
							|  |  |  |         ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         repos.each do |repo| | 
					
						
							|  |  |  |           if SUPPORTED_REPOS.exclude?(repo) | 
					
						
							|  |  |  |             odie "Unsupported repository: #{repo}. Try one of #{SUPPORTED_REPOS.join(", ")}." | 
					
						
							|  |  |  |           end | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         from = args.from.presence || Date.today.prev_year.iso8601 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |         contribution_types = [:author, :committer, :coauthor, :review] | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-25 10:02:18 -04:00
										 |  |  |         require "utils/github" | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         users = args.user.presence || GitHub.members_by_team("Homebrew", "maintainers").keys | 
					
						
							|  |  |  |         users.each do |username| | 
					
						
							|  |  |  |           # TODO: Using the GitHub username to scan the `git log` undercounts some | 
					
						
							| 
									
										
										
										
											2025-08-05 12:47:04 -04:00
										 |  |  |           #       contributions as people might not always have configured their Git | 
					
						
							|  |  |  |           #       committer details to match the ones on GitHub. | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           # TODO: Switch to using the GitHub APIs instead of `git log` if | 
					
						
							| 
									
										
										
										
											2025-08-05 12:47:04 -04:00
										 |  |  |           #       they ever support trailers. | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           results[username] = scan_repositories(repos, username, from:) | 
					
						
							|  |  |  |           grand_totals[username] = total(results[username]) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |           contributions = contribution_types.filter_map do |type| | 
					
						
							|  |  |  |             type_count = grand_totals[username][type] | 
					
						
							|  |  |  |             next if type_count.to_i.zero? | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             "#{Utils.pluralize("time", type_count, include_count: true)} (#{type})" | 
					
						
							|  |  |  |           end | 
					
						
							| 
									
										
										
										
											2024-03-19 12:36:30 -07:00
										 |  |  |           contributions << | 
					
						
							|  |  |  |             "#{Utils.pluralize("time", grand_totals[username].values.sum, include_count: true)} (total)" | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-10 17:28:21 +01:00
										 |  |  |           contributions_string = [ | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |             "#{username} contributed", | 
					
						
							|  |  |  |             *contributions.to_sentence, | 
					
						
							|  |  |  |             "#{time_period(from:, to: args.to)}.", | 
					
						
							|  |  |  |           ].join(" ") | 
					
						
							| 
									
										
										
										
											2025-06-10 17:28:21 +01:00
										 |  |  |           if args.csv? | 
					
						
							|  |  |  |             $stderr.puts contributions_string | 
					
						
							|  |  |  |           else | 
					
						
							|  |  |  |             puts contributions_string | 
					
						
							|  |  |  |           end | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-28 19:28:19 +01:00
										 |  |  |         return unless args.csv? | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-10 17:28:21 +01:00
										 |  |  |         $stderr.puts | 
					
						
							| 
									
										
										
										
											2024-07-28 19:28:19 +01:00
										 |  |  |         puts generate_csv(grand_totals) | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       end | 
					
						
							| 
									
										
										
										
											2022-07-24 22:06:00 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       private | 
					
						
							| 
									
										
										
											
												dev-cmd/contributions: CSV output of queried repos; shorter sentence
- This gives users of this command a `--csv` option to pass to... you guessed
  it, generate a CSV that's `pbcopy`able elsewhere, for more granular
  breakdowns of where a person contributed.
- Inspiration was taken from the mockup in
  https://github.com/Homebrew/brew/issues/13642#issuecomment-1254535251
  but without the extra dependency of the TerminalTable gem.
- Always print a condensed "total contributions" sentence.
Output:
```
$ brew contributions issyl0
The user issyl0 has made 1201 contributions in all time.
$ brew contributions issyl0 --csv
user,repo,commits,coauthorships,signoffs
issyl0,brew,331,13,0
issyl0,core,473,24,326
issyl0,cask,4,0,0
issyl0,aliases,0,0,0
issyl0,autoupdate,1,0,0
issyl0,bundle,14,2,0
issyl0,command-not-found,1,0,0
issyl0,test-bot,3,0,0
issyl0,services,9,0,0
issyl0,cask-drivers,0,0,0
issyl0,cask-fonts,0,0,0
issyl0,cask-versions,0,0,0
```
											
										 
											2023-02-15 12:25:04 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       sig { params(repo: String).returns(Pathname) } | 
					
						
							|  |  |  |       def find_repo_path_for_repo(repo) | 
					
						
							|  |  |  |         return HOMEBREW_REPOSITORY if repo == "brew" | 
					
						
							| 
									
										
										
										
											2023-02-25 00:29:37 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-25 10:02:18 -04:00
										 |  |  |         require "tap" | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         Tap.fetch("homebrew", repo).path | 
					
						
							| 
									
										
										
										
											2023-02-23 23:27:38 +00:00
										 |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       sig { params(from: T.nilable(String), to: T.nilable(String)).returns(String) } | 
					
						
							|  |  |  |       def time_period(from:, to:) | 
					
						
							|  |  |  |         if from && to | 
					
						
							|  |  |  |           "between #{from} and #{to}" | 
					
						
							|  |  |  |         elsif from | 
					
						
							|  |  |  |           "after #{from}" | 
					
						
							|  |  |  |         elsif to | 
					
						
							|  |  |  |           "before #{to}" | 
					
						
							|  |  |  |         else | 
					
						
							|  |  |  |           "in all time" | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2023-02-25 00:29:37 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-01 23:46:25 +01:00
										 |  |  |       sig { params(totals: T::Hash[String, T::Hash[Symbol, Integer]]).returns(String) } | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       def generate_csv(totals) | 
					
						
							| 
									
										
										
										
											2025-04-22 19:23:10 +01:00
										 |  |  |         require "csv" | 
					
						
							| 
									
										
										
										
											2024-07-18 11:22:39 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         CSV.generate do |csv| | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |           csv << %w[user repo author committer coauthor review total] | 
					
						
							| 
									
										
										
										
											2023-02-20 00:14:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           totals.sort_by { |_, v| -v.values.sum }.each do |user, total| | 
					
						
							|  |  |  |             csv << grand_total_row(user, total) | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2023-02-20 00:14:53 +00:00
										 |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-01 23:46:25 +01:00
										 |  |  |       sig { | 
					
						
							|  |  |  |         params( | 
					
						
							|  |  |  |           user:        String, | 
					
						
							|  |  |  |           grand_total: T::Hash[Symbol, Integer], | 
					
						
							|  |  |  |         ).returns( | 
					
						
							|  |  |  |           [String, String, T.nilable(Integer), T.nilable(Integer), T.nilable(Integer), T.nilable(Integer), Integer], | 
					
						
							|  |  |  |         ) | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       def grand_total_row(user, grand_total) | 
					
						
							|  |  |  |         [ | 
					
						
							|  |  |  |           user, | 
					
						
							|  |  |  |           "all", | 
					
						
							|  |  |  |           grand_total[:author], | 
					
						
							|  |  |  |           grand_total[:committer], | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |           grand_total[:coauthor], | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           grand_total[:review], | 
					
						
							|  |  |  |           grand_total.values.sum, | 
					
						
							|  |  |  |         ] | 
					
						
							| 
									
										
										
										
											2023-02-20 00:14:53 +00:00
										 |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-18 11:29:36 -04:00
										 |  |  |       sig { | 
					
						
							|  |  |  |         params( | 
					
						
							|  |  |  |           repos:  T::Array[String], | 
					
						
							|  |  |  |           person: String, | 
					
						
							|  |  |  |           from:   String, | 
					
						
							|  |  |  |         ).returns(T::Hash[Symbol, T.untyped]) | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       def scan_repositories(repos, person, from:) | 
					
						
							|  |  |  |         data = {} | 
					
						
							| 
									
										
										
										
											2024-07-18 11:29:36 -04:00
										 |  |  |         return data if repos.blank? | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-25 10:02:18 -04:00
										 |  |  |         require "tap" | 
					
						
							|  |  |  |         require "utils/github" | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         repos.each do |repo| | 
					
						
							|  |  |  |           repo_path = find_repo_path_for_repo(repo) | 
					
						
							|  |  |  |           tap = Tap.fetch("homebrew", repo) | 
					
						
							|  |  |  |           unless repo_path.exist? | 
					
						
							|  |  |  |             opoo "Repository #{repo} not yet tapped! Tapping it now..." | 
					
						
							|  |  |  |             tap.install | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |           repo_full_name = if repo == "brew" | 
					
						
							|  |  |  |             "homebrew/brew" | 
					
						
							|  |  |  |           else | 
					
						
							|  |  |  |             tap.full_name | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |           puts "Determining contributions for #{person} on #{repo_full_name}..." if args.verbose? | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-28 13:54:36 +01:00
										 |  |  |           author_commits, committer_commits = GitHub.count_repo_commits(repo_full_name, person, | 
					
						
							|  |  |  |                                                                         from:, to: args.to, max: MAX_REPO_COMMITS) | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           data[repo] = { | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |             author:    author_commits, | 
					
						
							|  |  |  |             committer: committer_commits, | 
					
						
							| 
									
										
										
										
											2024-06-30 18:42:16 +01:00
										 |  |  |             coauthor:  git_log_trailers_cmd(repo_path, person, "Co-authored-by", from:, to: args.to), | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |             review:    count_reviews(repo_full_name, person, from:, to: args.to), | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |           } | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         data | 
					
						
							| 
									
										
										
										
											2023-02-20 00:14:53 +00:00
										 |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-30 18:42:16 +01:00
										 |  |  |       sig { params(results: T::Hash[Symbol, T.untyped]).returns(T::Hash[Symbol, Integer]) } | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       def total(results) | 
					
						
							| 
									
										
										
										
											2024-06-02 08:35:33 +01:00
										 |  |  |         totals = { author: 0, committer: 0, coauthor: 0, review: 0 } | 
					
						
							| 
									
										
										
										
											2023-02-20 00:14:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         results.each_value do |counts| | 
					
						
							|  |  |  |           counts.each do |kind, count| | 
					
						
							|  |  |  |             totals[kind] += count | 
					
						
							|  |  |  |           end | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2023-02-25 00:29:37 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         totals | 
					
						
							| 
									
										
										
										
											2023-02-25 00:29:37 +00:00
										 |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       sig { | 
					
						
							|  |  |  |         params(repo_path: Pathname, person: String, trailer: String, from: T.nilable(String), | 
					
						
							|  |  |  |                to: T.nilable(String)).returns(Integer) | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       def git_log_trailers_cmd(repo_path, person, trailer, from:, to:) | 
					
						
							|  |  |  |         cmd = ["git", "-C", repo_path, "log", "--oneline"] | 
					
						
							|  |  |  |         cmd << "--format='%(trailers:key=#{trailer}:)'" | 
					
						
							|  |  |  |         cmd << "--before=#{to}" if to | 
					
						
							|  |  |  |         cmd << "--after=#{from}" if from | 
					
						
							| 
									
										
										
											
												dev-cmd/contributions: CSV output of queried repos; shorter sentence
- This gives users of this command a `--csv` option to pass to... you guessed
  it, generate a CSV that's `pbcopy`able elsewhere, for more granular
  breakdowns of where a person contributed.
- Inspiration was taken from the mockup in
  https://github.com/Homebrew/brew/issues/13642#issuecomment-1254535251
  but without the extra dependency of the TerminalTable gem.
- Always print a condensed "total contributions" sentence.
Output:
```
$ brew contributions issyl0
The user issyl0 has made 1201 contributions in all time.
$ brew contributions issyl0 --csv
user,repo,commits,coauthorships,signoffs
issyl0,brew,331,13,0
issyl0,core,473,24,326
issyl0,cask,4,0,0
issyl0,aliases,0,0,0
issyl0,autoupdate,1,0,0
issyl0,bundle,14,2,0
issyl0,command-not-found,1,0,0
issyl0,test-bot,3,0,0
issyl0,services,9,0,0
issyl0,cask-drivers,0,0,0
issyl0,cask-fonts,0,0,0
issyl0,cask-versions,0,0,0
```
											
										 
											2023-02-15 12:25:04 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |         Utils.safe_popen_read(*cmd).lines.count { |l| l.include?(person) } | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2023-03-14 21:17:34 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-28 14:10:25 +01:00
										 |  |  |       sig { | 
					
						
							|  |  |  |         params(repo_full_name: String, person: String, from: T.nilable(String), | 
					
						
							|  |  |  |                to: T.nilable(String)).returns(Integer) | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       def count_reviews(repo_full_name, person, from:, to:) | 
					
						
							| 
									
										
										
										
											2024-07-25 10:02:18 -04:00
										 |  |  |         require "utils/github" | 
					
						
							| 
									
										
										
										
											2024-05-28 14:10:25 +01:00
										 |  |  |         GitHub.count_issues("", is: "pr", repo: repo_full_name, reviewed_by: person, review: "approved", from:, to:) | 
					
						
							| 
									
										
										
										
											2024-03-19 11:57:54 -07:00
										 |  |  |       rescue GitHub::API::ValidationFailedError | 
					
						
							|  |  |  |         if args.verbose? | 
					
						
							|  |  |  |           onoe "Couldn't search GitHub for PRs by #{person}. Their profile might be private. Defaulting to 0." | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |         0 # Users who have made their contributions private are not searchable to determine counts. | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2023-03-15 21:31:41 +00:00
										 |  |  |     end | 
					
						
							| 
									
										
										
										
											2023-03-14 21:17:34 +00:00
										 |  |  |   end | 
					
						
							| 
									
										
										
										
											2022-07-24 22:06:00 +01:00
										 |  |  | end |