William Martin
|
e775bc64b8
|
Fix PR and Issue list
Separate the GQL and JSON decoded types that we use for queries.
|
2023-11-27 17:00:10 +01:00 |
|
Sam Coe
|
e843349a13
|
Extract Project Status into fragment to fix unmarshal error
|
2023-11-27 15:01:22 +01:00 |
|
William Martin
|
65d63e1bc9
|
Add test for ProjectV2Item query Status column
|
2023-11-27 10:53:19 +01:00 |
|
Sam Coe
|
3f37d7e372
|
Fix query for project item status field (#8332)
|
2023-11-14 17:27:50 +01:00 |
|
Sam Coe
|
ebcf3a1022
|
Set default Accept header for api command when one is not specified (#8303)
|
2023-11-06 15:22:32 +01:00 |
|
William Martin
|
8a9eb7bfc2
|
Add tests for issue and PR project items query building
|
2023-11-01 17:40:29 +01:00 |
|
Matthew Ruggio
|
83418cba54
|
export status optionId and name for pull request projectItems
|
2023-10-16 21:06:30 -05:00 |
|
Matthew Ruggio
|
8a868779a6
|
Add status column for each projectItem object.
This should be comparable to classic project's notion of column, although not _exactly_ the same since new projects are much more configurable.
|
2023-10-16 21:06:30 -05:00 |
|
Jun Nishimura
|
508065b72d
|
Add verbose flag to api cmd (#7826)
|
2023-08-25 09:37:37 -07:00 |
|
Sam Coe
|
8079d18efd
|
Use asciisanitization package from go-gh (#7745)
|
2023-07-24 10:50:33 -07:00 |
|
Sam Coe
|
ad283cff72
|
Fix pr checks command for GHES versions older than 3.9 (#7725)
|
2023-07-19 09:25:07 -07:00 |
|
Sam Coe
|
5d82a9553c
|
Sanitize file contents before displaying them (#7694)
|
2023-07-18 12:49:25 -07:00 |
|
Sam Coe
|
2a4160a3a3
|
Do not add auth token to redirect requests which do not have the same host as the inital request. (#7692)
|
2023-07-14 08:12:20 +09:00 |
|
nate smith
|
a889bfab20
|
Merge remote-tracking branch 'origin/trunk' into fix/error-on-no-browser
|
2023-07-10 15:29:17 -07:00 |
|
Nate Smith
|
fad105c471
|
Merge pull request #7656 from cli/fix-issue-develop
Fix issue develop command
|
2023-07-10 12:59:15 -07:00 |
|
Sam Coe
|
47d94f8ce7
|
Add --branch-repo flag
|
2023-07-10 08:53:44 +09:00 |
|
Johannes Grumböck
|
8a7d80864b
|
Add check description to pr checks output (#7451)
|
2023-07-06 14:38:44 +09:00 |
|
Sam Coe
|
b59f3dc29f
|
Rewrite issue develop command to fix numerous issues
|
2023-07-03 14:18:25 +09:00 |
|
Shion Ichikawa
|
5e8cc40f6c
|
Automatically fetch new branches created with issue develop (#7589)
|
2023-07-03 11:21:42 +09:00 |
|
Sam Coe
|
d46f47e430
|
Don't deduplicate checks that stem from different events (#7618)
|
2023-06-27 09:12:52 +09:00 |
|
William Martin
|
e2dc66baea
|
Reorder Check and Status States enums variants alphabetically
|
2023-05-23 17:36:20 +02:00 |
|
William Martin
|
dad5f25748
|
Use go enums for status and check status graphql enums
|
2023-05-23 17:22:56 +02:00 |
|
William Martin
|
04ecac9a6f
|
Rework state parsing for CheckRuns and StatusContexts
|
2023-05-23 16:51:08 +02:00 |
|
William Martin
|
90e680f21a
|
Split CheckRunState and StatusState parsing
|
2023-05-23 15:59:12 +02:00 |
|
William Martin
|
75e35e2dde
|
Use pseudo field for statusCheckRollupWithCountByState
|
2023-05-22 17:28:15 +02:00 |
|
William Martin
|
ebb7d26f3a
|
Implement initial spike for detecting and using counts by state
|
2023-05-17 19:59:03 +02:00 |
|
William Martin
|
9d81c1134d
|
Implement parsing and counting of PR checks using new GQL fields
|
2023-05-17 18:45:25 +02:00 |
|
William Martin
|
bfb5e8f1d6
|
Avoid using named return in PR ChecksStatus
See: https://dave.cheney.net/practical-go/presentations/gophercon-israel.html#_avoid_named_return_values
|
2023-05-16 19:53:35 +02:00 |
|
William Martin
|
c4bb344ddd
|
Add some comments to PR ChecksStatus
|
2023-05-16 19:53:35 +02:00 |
|
William Martin
|
cd8547b227
|
Add some further test coverage around PR ChecksStatus
|
2023-05-16 19:53:35 +02:00 |
|
Martijn Pieters
|
bf3ffba8ef
|
Add PR auto-merge status info to PR queries (#7384)
|
2023-05-04 09:36:21 +12:00 |
|
Yeikel
|
9b75e274e4
|
feat: add visibility field (#7337)
|
2023-04-25 12:58:01 +00:00 |
|
Alexander Seiler
|
218f29f296
|
Correct some typos
|
2023-04-21 03:51:31 +02:00 |
|
Sam Coe
|
dbc2f05124
|
Update go-gh to v2 (#7299)
* Update go-gh
* Update code for go-gh v2
|
2023-04-16 15:34:23 +10:00 |
|
Kousik Mitra
|
aa0f2de885
|
Return error on no-browser option if repo don't exists
|
2023-04-16 01:30:14 +05:30 |
|
Sam Coe
|
5191c502e9
|
Only replace control sequences (#7168)
|
2023-03-15 08:24:20 +11:00 |
|
Anupam Kumar
|
88cc4d2531
|
Add variable set command (#6928)
|
2023-03-13 03:01:38 +00:00 |
|
Sam Coe
|
78ffa73f44
|
Use transform.Transformer interface for ascii sanitization (#7117)
|
2023-03-13 08:36:46 +11:00 |
|
Sam Coe
|
44b02188e2
|
Properly handle C1 control sequences (#7079)
|
2023-03-07 12:44:30 +11:00 |
|
Sam Coe
|
c9a2d85793
|
Cleanup config.AuthToken and config.DefaultHost methods (#7049)
|
2023-02-28 00:24:45 +00:00 |
|
Sam Coe
|
08a1231178
|
Allow retrieving projectItems in JSON and allow adding/removing user owned projects (#7007)
|
2023-02-15 22:14:59 +00:00 |
|
Josh Soref
|
e6d6427704
|
Support Fork with Default Branch Only
|
2023-02-07 10:00:39 -05:00 |
|
Sam Coe
|
0dd7e9c36f
|
Fix panic in ASCII sanitization (#6956)
|
2023-02-06 15:24:57 +01:00 |
|
Sam Coe
|
ced071feae
|
Sanitize ANSII control characters returned from the server (#6916)
|
2023-02-01 21:19:30 +00:00 |
|
Mislav Marohnić
|
d2f3e89ad3
|
Fix ignoring ProjectsV2-specific errors for GHES
|
2023-01-27 18:08:56 +01:00 |
|
azu
|
700bda3ad8
|
Add gh repo edit --enable-discussions (#6903)
* Add gh repo edit --enable-discussions
* Add hasDiscussionsEnabled to JSON fields for repos
Co-authored-by: Mislav Marohnić <mislav@github.com>
|
2023-01-24 18:13:05 +01:00 |
|
Mislav Marohnić
|
d49e1ff021
|
Fix flakey TestUpdateProjectV2Items (#6909)
Restructure test to not depend on the order in which Go maps are iterated.
|
2023-01-24 18:01:25 +01:00 |
|
Ilya Yatsishin
|
179e9c256d
|
Add projectsV2 support to issue create, issue edit, pr create, and pr edit (#6735)
Co-authored-by: pshevche <pavel.shevchenko.95@gmail.com>
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
|
2023-01-19 22:13:09 +00:00 |
|
Mislav Marohnić
|
8b3e5c1554
|
Fix mergedBy JSON export for PRs
|
2023-01-18 21:41:07 +01:00 |
|
Mislav Marohnić
|
638f6ccc30
|
Fix JSON payload for PR review author
We do not query for bot/user distinction when fetching PR reviews, so we can't output that information either.
|
2023-01-18 21:33:29 +01:00 |
|