Commit graph

11279 commits

Author SHA1 Message Date
Thanh D Tran
74d9a9b866
Merge pull request #22 from ttran112/trunk
fixed the 404 edge case error
2021-05-30 20:28:37 -07:00
ttran112
5077d4794c fixed the 404 edge case error 2021-05-30 20:25:11 -07:00
Gowtham Munukutla
5c96d5d460 fix lint errors 2021-05-30 13:53:56 +05:30
Gowtham Munukutla
c4beed8276 complete tests 2021-05-30 13:42:39 +05:30
Gowtham Munukutla
9b87b13b80 add test cases WIP 2021-05-29 19:27:30 +05:30
jack1142
42333bb2d1
Update issue non-tty view formatting and its tests 2021-05-29 04:44:48 +02:00
jack1142
979ec9298d
Update issue tty view formatting and its tests 2021-05-29 04:44:48 +02:00
jack1142
3943a8bb1f
Update PR tty view formatting and its tests 2021-05-29 04:44:34 +02:00
Mislav Marohnić
1a980e768c Fix how teams are displayed in requested reviewers
1. The `--json` export now only renders the `login` field for User types
   and `name` and `slug` fields for Team types.
2. The `pr view` command now renders team reviewers in the format of
   `ORG/SLUG` instead of the team name. This is so that the same value
    can be used in the `pr create -r` flag.
2021-05-28 14:32:31 +02:00
Gowtham Munukutla
e160dd3eae
fix listing of PRs when merged ones are searched (#3730)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-05-28 10:11:12 +00:00
Sam
35e5c758b5
Merge pull request #3701 from mercimat/fix-pr-team-reviewrequests
fix adding/removing team reviewers with `gh pr edit`
2021-05-27 09:09:58 -04:00
Sam Coe
761fa94831
Small nitpicky polish 2021-05-27 08:47:41 -04:00
Husrav Homidov
53dff30ab0 Merge branch 'cli:trunk' into trunk 2021-05-26 19:32:29 -07:00
Thanh D Tran
43a9709e4e
Merge pull request #18 from ttran112/trunk
fix minor error and add branchName for addArgs, addCombine
2021-05-26 19:29:14 -07:00
ttran112
cb3792051a fix minor error and add branchName for addArgs, addCombine 2021-05-26 19:27:07 -07:00
Thanh D Tran
c127ca4051
Merge pull request #17 from ttran112/trunk
fix addArgs and combine by addding branchName parameter
2021-05-26 17:47:30 -07:00
ttran112
3a48c35bc6 fix addArgs and combine by addding branchName parameter 2021-05-26 17:45:42 -07:00
Sam Coe
602167c0c7
Address PR comments 2021-05-26 11:28:58 -04:00
Mislav Marohnić
ece536a5fd
Merge pull request #3700 from cli/pr-checkout-deleted
Fix `pr checkout` for PRs coming from deleted forks
2021-05-26 12:59:02 +02:00
Mislav Marohnić
ebf2bb9f4b
Merge pull request #3714 from cli/pr-checkout-push
Fix `pr checkout` setting up git push configuration
2021-05-26 12:49:24 +02:00
jlsestak
7a0329e708
Merge pull request #15 from jlsestak/trunk
made branch and line flags, fixed path
2021-05-25 23:05:25 -07:00
Jessica Sestak
88ce5320f6 made branch and line flags, fixed path 2021-05-25 23:04:42 -07:00
jlsestak
f43113e3c9
Merge pull request #14 from jlsestak/trunk
added combination of args, partial fix to args
2021-05-25 22:49:32 -07:00
Jessica Sestak
a65266bf36 added combination of args, partial fix to args 2021-05-25 22:47:08 -07:00
Husrav Homidov
282bb9a014
Merge pull request #11 from ravocean/trunk
Tidied up the logic of openInBrowser
2021-05-25 21:44:45 -07:00
ravocean
1e61f41cd9 Tidied up the logic of openInBrowser 2021-05-25 21:42:42 -07:00
Ben
50af6c1658 broke the flag checking into a separate function, and created a http response checker function 2021-05-25 17:54:23 -07:00
Sam Coe
583e74d70c
Add support for XDG_STATE_HOME 2021-05-25 16:30:51 -04:00
Mislav Marohnić
053d43f705 Fix pr checkout setting up git push configuration 2021-05-25 15:43:18 +02:00
bchadwic
24abf29acb created a test file 2021-05-24 21:16:37 -07:00
Sam
6b49b487e2
Merge pull request #3707 from cli/fix-test-env
Fix test that was deleting local config folder
2021-05-24 18:41:41 -04:00
Sam Coe
972d5ff5f0
Fix test that was deleting local config folder 2021-05-24 18:35:37 -04:00
Cristian Dominguez
325886c0e4 Only schedule an auto-merge when PR state is blocked
When passing `--auto` flag, only schedule an auto-merge if
the `mergeStateStatus` field is "BLOCKED".
This ensures that a PR will always be merged when passing `--auto` even
if it doesn't have required checks or if checks have already passed.
2021-05-24 18:45:59 -03:00
Sam
045089c483
Merge pull request #3671 from cli/xdg-config
Add support for XDG_CONFIG_HOME and AppData on Windows
2021-05-24 16:22:36 -04:00
Sam Coe
0d49bfba42
Add support for XDG_CONFIG_HOME and AppData on Windows 2021-05-24 16:13:33 -04:00
bchadwic
70e72afdcc cleaned up, added suggestion to 404 handling 2021-05-24 13:06:33 -07:00
bchadwic
fdca340b28 simplified the if block for flags, now allows for checking destination before opening browser 2021-05-24 12:53:17 -07:00
bchadwic
88e2a9f748 cleaned logic and added in a print function that takes in an exitCode 2021-05-24 12:48:32 -07:00
mercimat
a612f06dee fix pr review requests for teams 2021-05-24 17:00:25 +02:00
Mislav Marohnić
b9a4a425bf Fix pr checkout for PRs coming from deleted forks 2021-05-24 16:52:53 +02:00
Mislav Marohnić
55b183f3c9
Merge pull request #3697 from sadikkuzu/patch-1
Capitalized h
2021-05-24 12:27:21 +02:00
jlsestak
6b8f1f68c8
Merge pull request #9 from jlsestak/trunk
Added errors and started defining the the path for flags and args to …
2021-05-23 19:10:31 -07:00
Jessica Sestak
edebfa104b Added errors and started defining the the path for flags and args to open in the browser. 2021-05-23 19:04:38 -07:00
SADIK KUZU
0da3a19526
Capitalized h 2021-05-24 04:04:05 +03:00
Husrav Homidov
aa7acb7272
Merge pull request #7 from ravocean/trunk
Added flags: --settings, --projects, and --wiki
2021-05-23 16:02:51 -07:00
ravocean
b22519309f Fixed the name of projects flag 2021-05-23 16:01:18 -07:00
ravocean
e4b2ec202d We added a few flags based on priority 2021-05-23 15:57:29 -07:00
Husrav Homidov
c359b3e454
Merge pull request #5 from ravocean/trunk
Added parseArgs() function, beginning to work on parseFlags() functions
2021-05-23 15:34:08 -07:00
ravocean
6e7cd6fd05 Added parseArgs() function, beginning to work on parseFlags() functions 2021-05-23 15:31:01 -07:00
Benjamin Chadwick
8d1dee4cd4
Merge pull request #2 from jlsestak/trunk
Update browse.go
2021-05-23 12:36:01 -07:00