-
Notifications
You must be signed in to change notification settings - Fork 14
github: move all GitHub logic to dedicated class (bug 1996507, bug 1995679) #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shtrom
merged 18 commits into
zeid/bug-1989635-github-pr-pilot
from
no-bug/github-api-url-parsing
Nov 3, 2025
Merged
Changes from 15 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
85fba5e
github: add GitHubAPI, GitHubAPIClient classes (bug 1989637) (#536)
zzzeid 4b5285b
github: add pull request view, url, template (bug 1989963) (#553)
zzzeid 7c0d34d
github: add pull request endpoint (bug 1991125) (#582)
zzzeid dc3ebcb
pull_request: add more functionality to end points and ui (bug 199112…
zzzeid 222bef8
github: add write methods (bug 1989960) (#611)
zzzeid 0e2ec95
landing_worker: add comment + close pr functionality (bug 1994736) (#…
zzzeid 7c1d6a8
pull_requests: add landing job timeline (bug 1995378) (#616)
zzzeid b8472c8
GitSCM/GitHubAPI: move all github logic to dedicated class
shtrom c9ec66a
github: add GitHub class for basic URL and token manipulation (bug 19…
shtrom b57ce51
utils: move URL_USERINFO_RE to const (bug 1995679)
shtrom 3d9712a
GitHubAPIClient: scope GET requests to the chosen repo (#608)
shtrom 4563f49
fixup! GitSCM/GitHubAPI: move all github logic to dedicated class
shtrom ad30b6c
Merge remote-tracking branch 'origin/zeid/bug-1989635-github-pr-pilot…
shtrom e49bb55
tests: run utils test suite (bug 1996744) (#643)
shtrom 4493dee
tests: add tests for GitHub class
shtrom 12b2be3
Update src/lando/utils/github.py
shtrom dc6994e
Merge branch 'zeid/bug-1989635-github-pr-pilot' into no-bug/github-ap…
shtrom 09000ad
github: make repo_url parsing more resilient and predictable
shtrom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Generated by Django 5.2.5 on 2025-10-28 13:40 | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("main", "0032_revisionlandingjob_commit_id"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="revision", | ||
| name="pull_number", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.