Commit graph

3542 commits

Author SHA1 Message Date
Devon Romanko
45bc1d787c use Stub instead of SetPrepareCmd in 'pr view' tests 2021-01-27 07:23:49 -05:00
vilmibm
6ef5248d21 cp -r instead of mv 2021-01-26 17:08:08 -08:00
vilmibm
39628a4354 use new docker-based script 2021-01-26 16:53:00 -08:00
vilmibm
a603526e01 clean up temporary directory 2021-01-26 16:44:37 -08:00
vilmibm
71da09e560 add docker-based script for running createrepo 2021-01-26 16:43:53 -08:00
Devon Romanko
9dcd3fbacf use Stub instead of SetPrepareCmd in 'issue create' tests 2021-01-26 08:24:22 -05:00
Devon Romanko
3068d80a27 use Stub instead of SetPrepareCmd in 'issue view' tests 2021-01-26 08:15:43 -05:00
Devon Romanko
2eed1593ce use Stub instead of SetPrepareCmd in 'pr list' tests 2021-01-26 08:15:13 -05:00
Devon Romanko
877cbbb5dc use Stub instead of SetPrepareCmd in 'issue list' tests 2021-01-26 08:14:29 -05:00
Kevin Beaulieu
4468a5c950 Update tests to handle confirmation 2021-01-25 18:24:52 -08:00
Kevin Beaulieu
e7df220b01 Add confirmation prompt 2021-01-25 18:03:45 -08:00
Sam
c71dc877b1
Merge pull request #2255 from quiye/alert-merging-with-unpushed
Alert unpushed commits when merging a pull request
2021-01-25 13:56:47 -08:00
Sam Coe
3f172ad991
Add contional and tests 2021-01-25 13:27:32 -08:00
zamasu
e4b9f7cb8c
Alert unpushed commits when merging a pull request 2021-01-25 12:04:32 -08:00
Sam
e6e920827f
Merge pull request #2444 from bigkevmcd/config-dir-from-env
Configuration path can come from environment.
2021-01-25 11:50:02 -08:00
Sam Coe
85a6267810
Remove last hardcoded config paths and fix tests 2021-01-25 11:43:37 -08:00
Nate Smith
e9afac9373
Merge pull request #2844 from cli/secret-set-fix
Fix `secret set --repos` for repositories that have dashes
2021-01-25 11:34:59 -08:00
Nate Smith
6152d8a419
Merge pull request #2825 from cli/rename-fork
restore fork rename behavior for nontty case
2021-01-25 11:29:52 -08:00
Sam
8125cd5911
Merge pull request #2117 from fsmiamoto/checkout-detached-head
Add flag for using detached HEAD to `pr checkout`
2021-01-25 11:29:36 -08:00
vilmibm
26f6761481 add note about future behavior 2021-01-25 11:29:26 -08:00
Sam Coe
cec3aa294e
Support detach head for pr checkout 2021-01-25 11:22:33 -08:00
Nate Smith
9cbfdac2c0
Merge pull request #2799 from cli/success-icon-consistency
Consistently use success icon
2021-01-25 11:21:11 -08:00
vilmibm
d0fe1ce61b Merge remote-tracking branch 'origin/trunk' into kb/delete-issue-cmd 2021-01-25 10:16:18 -08:00
Kevin McDermott
d54a7618d4
Configuration path can come from environment.
This adds support for using the GH_CONFIG_DIR environment variable to determine
where the config files are written, this is useful for cases where the homedir
is not writable.
2021-01-25 10:07:54 -08:00
Mislav Marohnić
70c4cbf240 Merge remote-tracking branch 'origin' into success-icon-consistency 2021-01-25 14:57:04 +01:00
Mislav Marohnić
f46bab256c Rename to SuccessIconWithColor 2021-01-25 14:56:39 +01:00
Mislav Marohnić
f8135c15b1 Fix secret set --repos for repositories that have dashes
A GraphQL alias cannot contain dashes. Instead, generate safe
identifiers for GraphQL aliases.
2021-01-25 14:29:11 +01:00
Mislav Marohnić
d0a46399b7
Merge pull request #2828 from dpromanko/dpromanko/remove-init-cmd-stubber
Remove use of deprecated test.InitCmdStubber
2021-01-25 14:06:10 +01:00
Mislav Marohnić
9c4c1efc78 Merge remote-tracking branch 'origin' into dpromanko/remove-init-cmd-stubber 2021-01-25 13:56:28 +01:00
Mislav Marohnić
a881c130c3
Merge pull request #2843 from cli/freeze-time-in-test
Freeze time in `issue view` test
2021-01-25 13:56:00 +01:00
Mislav Marohnić
d465b7f5d5 Freeze time in issue view test 2021-01-25 13:46:30 +01:00
Mislav Marohnić
8cba14b564 💅 cleanup command stub assertions 2021-01-25 13:13:36 +01:00
Kevin Beaulieu
57d5470df9 Add issue delete command
Similar to `issue close`, but for deleting an issue rather than
just closing it.

Resolves cli/cli#2820.
2021-01-24 15:08:19 -08:00
Devon Romanko
e39c9d8f9f remove new uses of InitCmdStubber after rebase 2021-01-23 08:31:49 -05:00
Devon Romanko
5d23f116c9 removed no longer used CmdStubber 2021-01-23 08:22:14 -05:00
Devon Romanko
ac5bfc09b8 remove use of deprecated InitCmdStubber 2021-01-23 08:22:11 -05:00
vilmibm
d051f0634f update tests 2021-01-22 16:13:39 -08:00
vilmibm
1fa3047b59 restore renaming behavior for nontty case 2021-01-22 16:12:25 -08:00
Mislav Marohnić
96fa6e7830 Merge remote-tracking branch 'origin' into success-icon-consistency 2021-01-22 23:56:54 +01:00
Mislav Marohnić
23d68705bc Match color of the success icon with the end state of the record 2021-01-22 23:55:33 +01:00
Nate Smith
6e2c1b33b0
Merge pull request #2224 from divbhasin/1190-limit-merge-methods
#1190 - limit merge methods
2021-01-22 14:23:23 -08:00
Mislav Marohnić
20e167a7ae
Merge pull request #2108 from AliabbasMerchant/fix1309
fix: Project Argument working alongwith --web flag
2021-01-22 23:20:12 +01:00
AliabbasMerchant
1c54db4919 fix: Project Argument working along with --web flag 2021-01-22 23:07:00 +01:00
Mislav Marohnić
9f7fd6e917
Merge pull request #1953 from neelr/trunk
Add ability to force checkout PR
2021-01-22 22:47:05 +01:00
Mislav Marohnić
874375f01e 💅 pr checkout --force 2021-01-22 22:37:20 +01:00
Neel Redkar
a89fa1ebed add ability to force checkout 2021-01-22 22:29:01 +01:00
Mislav Marohnić
77cc378ae0
Merge pull request #2004 from marclop/f/add-self-assign-flag-to-issue-create
Allow assigning to or filtering by special `@me` keyword
2021-01-22 22:17:24 +01:00
Mislav Marohnić
e334a1f10c Add docs for using @me to reference self 2021-01-22 22:14:47 +01:00
Mislav Marohnić
73da25a96d Use concrete type instead of an interface to avoid forced casting 2021-01-22 22:05:33 +01:00
Mislav Marohnić
28c2d042e7 Extend @me replacing behavior to issue list 2021-01-22 22:05:33 +01:00