KEMBAR78
Add additional `brew contributions` functionality. by MikeMcQuaid · Pull Request #20663 · Homebrew/brew · GitHub
Skip to content

Conversation

MikeMcQuaid
Copy link
Member

  • Add an --organisation flag to search a specific organisation.
  • Wait for the GitHub API rate limit to reset before automatically retrying.
  • Use (much) fewer API calls by using organisation-wide API PR searches rather than per-repository. This makes the rate limit easier to avoid and also makes things much faster (with the trade-off of showing a max PR count per-user rather than per-repository).
  • Improve output to clarify when the max PR/commit count is reached.
  • Move more logic and add more Sorbet signatures to the GitHub and Utils::Git modules.
  • Rename a few GitHub API methods.
  • Remove a lot of (now unused) GitHub module methods.
  • Add, use a Tap#full_repository method.
  • Add formula-analytics as a deprecated tap.

- Add an `--organisation` flag to search a specific organisation.
- Wait for the GitHub API rate limit to reset before automatically
  retrying.
- Use (much) fewer API calls by using organisation-wide API PR searches
  rather than per-repository. This makes the rate limit easier to avoid
  and also makes things much faster (with the trade-off of showing a max
  PR count per-user rather than per-repository).
- Improve output to clarify when the max PR/commit count is reached.
- Move more logic and add more Sorbet signatures to the `GitHub` and
  `Utils::Git` modules.
- Rename a few GitHub API methods.
- Remove a lot of (now unused) `GitHub` module methods.
- Add, use a `Tap#full_repository` method.
- Add `formula-analytics` as a deprecated tap.
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Sep 10, 2025
Merged via the queue into main with commit 0d8da98 Sep 10, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the contributions_tweaks branch September 10, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants