Corey Johnson
9187efdc92
Merge remote-tracking branch 'origin/master' into merge-interactive-merge
2020-05-12 08:53:09 -07:00
Corey Johnson
326b678b24
Add delete branch
...
Co-Authored-By: Nate Smith <vilmibm@neongrid.space>
2020-05-12 08:51:22 -07:00
Nate Smith
5ba3baa3c8
Merge pull request #762 from doi-t/reviewers-in-pr-view
...
Add Reviewers to pr view in CLI
2020-05-08 14:46:08 -05:00
Mislav Marohnić
93c61a83b2
Fix pr status -R crash with closed PR on the default branch
...
At the time we have a reference to `baseRepo`, we might still not have
contacted the API nor obtained any information about the default branch
for the repository. This expands the `PullRequests()` query to always
report the default branch so we may choose how to render entries that
belong on the current branch.
2020-05-07 20:53:03 +02:00
Corey Johnson
ea6b3dca8c
Update pr_test.go
2020-05-07 10:52:30 -07:00
Corey Johnson
3d21a33bac
update test
2020-05-06 11:47:43 -07:00
Corey Johnson
8c85e14bac
Make it work without a PR number
2020-05-06 11:19:00 -07:00
Corey Johnson
062c8353eb
Add 'already merged' test
2020-05-05 15:11:06 -07:00
Corey Johnson
8681e7a7b6
Make squash and rebase work
2020-05-05 15:09:02 -07:00
Corey Johnson
16ad382f4d
Add simple merge test
2020-05-05 11:35:19 -07:00
Corey Johnson
8c9fdc768c
Merge remote-tracking branch 'origin' into a-better-runcommand
2020-05-05 09:30:32 -07:00
Corey Johnson
4ef73a723d
Update all calls to RunCommand
2020-05-05 09:20:01 -07:00
Nate Smith
1a1fc64fe4
Merge pull request #842 from foad/df-805-hide-closed-default
...
Hide closed/merged PRs from default branch
2020-05-04 20:17:53 -05:00
Daniel Foad
e7e3a4f9b1
pr comments
2020-05-04 23:47:47 +01:00
Corey Johnson
3b8f4794b4
Update test
2020-05-04 10:31:31 -07:00
Corey Johnson
4020084f02
Fix test
2020-05-01 14:54:38 -07:00
Corey Johnson
fad697cbaf
Names
2020-05-01 14:18:01 -07:00
Corey Johnson
63b20baa1b
Add merged test
2020-05-01 13:58:52 -07:00
Corey Johnson
b8ff489bb5
Add already open test
2020-05-01 12:07:30 -07:00
Corey Johnson
38f9e819c5
Add test for reopen
2020-05-01 12:00:02 -07:00
Corey Johnson
210c47572c
Move RunCommand to testing file
2020-04-30 12:14:40 -07:00
Corey Johnson
e93b18a9af
Add already open test
2020-04-30 11:41:48 -07:00
Corey Johnson
66abe9e62e
Add pr close test
2020-04-30 11:24:27 -07:00
Toshiya Doi
d2d0b47ecc
Merge branch 'master' into reviewers-in-pr-view
2020-04-30 00:31:04 +09:00
Daniel Foad
09157f1fc7
unit tests
2020-04-28 00:03:21 +01:00
rista404
a2a6036c65
Add tests
2020-04-25 23:12:51 +02:00
Toshiya Doi
1ce09ff758
Merge branch 'master' into reviewers-in-pr-view
2020-04-22 22:00:02 +09:00
Toshiya Doi
67907c8b00
Support ghost reviews in pr view
2020-04-22 21:59:09 +09:00
Toshiya Doi
d70358ea34
Support GitHub Team in requested reviewers
2020-04-22 21:58:01 +09:00
vilmibm
a325db3051
new config infrastructure
...
- adds config get and config set commands
- supports arbitrary k/v strings set at top and host level
- supports writing an updated config, preserving comments
- supports mostly lazy evaluation of yaml
2020-04-17 15:17:44 -05:00
Toshiya Doi
6223a2c198
Puts completed reviews before review requests and sort reviewer names alphabetically
2020-04-10 01:16:43 +09:00
Toshiya Doi
531bfbc295
Update unit tests for PR metadata
2020-04-08 20:07:19 +09:00
Toshiya Doi
cef525a0a2
Update unit tests for PR metadata
2020-04-08 16:27:10 +09:00
Toshiya Doi
85d8f808f2
Test pr metadata in CLI preview
2020-04-04 13:14:34 +09:00
Mislav Marohnić
e10ccefaf5
Merge pull request #667 from doi-t/view-the-current-state
...
Show the state (open, closed, merged) in issue view and pr view
2020-04-03 19:41:29 +02:00
Mislav Marohnić
734497a8d8
Code fixes informed by golangci-lint failures ( #738 )
2020-04-03 16:33:34 +02:00
Toshiya Doi
7eabbf5881
Simplify expected output definitions with new line testing helper
2020-04-03 00:35:48 +09:00
Toshiya Doi
0095fe9a13
Merge branch 'master' into view-the-current-state
2020-04-02 23:52:41 +09:00
vilmibm
44acdd4ec3
Merge branch 'master' into pr-status-no-commits
2020-03-30 12:04:02 -05:00
Mislav Marohnić
beb0a6a322
Merge pull request #683 from cli/pr-status-unicode
...
Add unicode to pr status
2020-03-26 13:30:26 +01:00
vilmibm
f4b8851011
Merge remote-tracking branch 'origin/master' into pr-status-no-commits
2020-03-25 12:00:58 -05:00
Nate Smith
e4b8ae0ec4
Merge pull request #665 from cli/preview-default
...
switch {pr,issue} view default
2020-03-25 11:32:46 -05:00
Nate Smith
26022bc684
Merge pull request #690 from cli/repo-view-terminal
...
Add ability to view repo in terminal and do it by default
2020-03-25 11:32:26 -05:00
Toshiya Doi
7d42f46cda
Merge branch 'master' into view-the-current-state
2020-03-25 22:46:12 +09:00
Mislav Marohnić
88cbcc9ec5
Merge remote-tracking branch 'origin/master' into pr-status-unicode
2020-03-25 09:06:27 +01:00
vilmibm
dd1e2a2dfc
add StubError to CmdStubber
2020-03-24 14:19:35 -05:00
vilmibm
5187ad4431
move preparecmd and Runnable to its own package
2020-03-23 16:32:29 -05:00
vilmibm
ff96f48479
add ExpectLines helper
2020-03-20 16:26:49 -05:00
Mislav Marohnić
88c060c610
Fix broken pr view test
2020-03-20 18:15:09 +01:00
Toshiya Doi
0ba0a0757d
Merge branch 'master' into view-the-current-state
2020-03-20 18:16:47 +09:00