Skip to content

Bug-2038705: Use PyGithub for calls to GitHub v3#9664

Draft
moijes12 wants to merge 1 commit into
mozilla:masterfrom
moijes12:bug2038705-own
Draft

Bug-2038705: Use PyGithub for calls to GitHub v3#9664
moijes12 wants to merge 1 commit into
mozilla:masterfrom
moijes12:bug2038705-own

Conversation

@moijes12

@moijes12 moijes12 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Changes

Updated the below functions in treeherder/utils/github.py to use PyGithub

  • get_repository
  • compare_shas
  • get_all_commits
  • get_commit
  • get_pull_request
  • get_pull_request_commits
  • get_releases

Pending work:

  • Callers need to be updated.
  • Failing tests need to be examined
  • New tests needed for github.py

Fixes
Bug-2038705

Updated the below functions in treeherder/utils/github.py to use
PyGithub
- get_repository
- compare_shas
- get_all_commits
- get_commit
- get_pull_request
- get_pull_request_commits
- get_releases

Pending work:
- Callers need to be updated.
- Failing tests need to be examined
- New tests needed for `github.py`

Fixes
[Bug-2038705](https://bugzilla.mozilla.org/show_bug.cgi?id=2038705)
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.

1 participant