Tom Alexander
ed2e5159df
Better handling of events.
1 year ago
Tom Alexander
9a27ee8d5b
Fix handling of empty responses.
2 years ago
Tom Alexander
155fb7ae00
Add todo comment.
2 years ago
Tom Alexander
1be697b8bf
Throw away results from the first poll since those are historical.
2 years ago
Tom Alexander
c8b9e73c75
Add call to create notification.
2 years ago
Tom Alexander
11ddea7f53
Parse out the title and state of the pull request.
2 years ago
Tom Alexander
51bbe22bdf
Add parsing of the URL to view the pull request.
2 years ago
Tom Alexander
f46a5f8a9c
Filtering to 'opened' pull request events.
2 years ago
Tom Alexander
be9dcee422
Move the handling of events into a struct.
...
I am going to start parsing fields out of the json event objects, so it makes sense to give each event its own type to avoid the verbosity of parsing the values out of the json object every time they are needed.
2 years ago
Tom Alexander
f7d2a2e57d
Filtering for pull request events.
2 years ago
Tom Alexander
f36546a470
Fallback to the previous poll interval duration if no poll interval is specified.
2 years ago
Tom Alexander
df00268d35
Switch to logging.
2 years ago
Tom Alexander
58aa8b249d
Support detecting no events, but not sleeping after first one.
2 years ago
Tom Alexander
211d8681b2
Sleep for ratelimit depletion also.
2 years ago
Tom Alexander
1811b60b06
Add functions for other event lists.
2 years ago
Tom Alexander
e8c4fb16ff
Getting a stream of events from github.
2 years ago
Tom Alexander
b7111994cd
Making API request but failing to decode the results.
2 years ago
Tom Alexander
857c237319
Start githubctl module.
2 years ago
Tom Alexander
b22580bee9
async main.
2 years ago
Tom Alexander
8e0ae62fe4
Add reqwest.
2 years ago
Tom Alexander
675b3638cd
Add tokio and sqlx.
2 years ago
Tom Alexander
e8742061f0
Initial commit.
2 years ago