Mislav Marohnić
a55dd656f3
Merge remote-tracking branch 'origin' into cobra-update
2022-12-20 17:15:25 +01:00
vilmibm
95419f9006
further WIP
2022-12-19 18:12:08 -08:00
vilmibm
4c28e32e9d
WIP on adding tests, add prompt, tweak things
2022-12-19 17:57:04 -08:00
vilmibm
b52d452168
wip: tweak output, update to Prompter, start on tests
2022-12-16 13:01:09 -08:00
vilmibm
5a6b4ce934
Merge remote-tracking branch 'origin/trunk' into gh-issue-lock
2022-12-16 10:10:59 -08:00
vilmibm
f5d19b831e
error instead of prompt when no base repo + fixes
2022-12-15 11:44:37 -08:00
vilmibm
91445d2df3
Merge remote-tracking branch 'origin/trunk' into pr-prompter
2022-12-05 11:27:55 -08:00
Sam Coe
98ab1f2587
Authenticate network git commands ( #6541 )
2022-11-15 13:14:37 +02:00
chemotaxis
8cdff1327c
Merge remote-tracking branch 'upstream/trunk' into gh-issue-lock
...
Resolved conflicts mainly around pinning comments.
2022-11-13 19:12:19 -05:00
Mislav Marohnić
9971c12bed
Group issue commands into general vs. additional
2022-11-09 21:55:39 +01:00
Mislav Marohnić
b12ea845ef
Migrate to the new Cobra command grouping feature
2022-11-09 16:42:13 +01:00
Sam Coe
f96b2fce57
Refactor git client and add tests ( #6525 )
2022-11-03 11:58:38 +01:00
vilmibm
afecf7e5d0
use tableprinter in issue develop
2022-10-24 15:23:52 -07:00
vilmibm
96372e5ac8
use new GitClient in issue develop
2022-10-24 15:02:24 -07:00
Nate Smith
a20192943d
Merge pull request #6254 from Bestra/create-linked-branch-command
...
Add `gh issue develop` command
2022-10-24 16:26:56 -05:00
vilmibm
42c017b887
use Prompter in Commentable
2022-10-19 13:05:00 -07:00
vilmibm
47eebe0c64
use Prompter in template manager
2022-10-19 13:05:00 -07:00
vilmibm
a3b1bb7fb2
use Prompter in pr create
...
Note that this isn't done; it's leaving the metadata piece alone until
better testing utils are in place
2022-10-19 13:05:00 -07:00
Seito Tanaka
e523d50176
Add support for editing last issue/pr comment ( #6384 )
2022-10-18 08:10:12 +00:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Natthakit Susanthitanon
4c3b123db6
Return empty error before starting a pager program ( #6419 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-10-13 19:08:13 +02:00
Chris Westra
48f527fdd3
Show repo url for linked branches in tty
2022-09-26 14:39:04 -04:00
Chris Westra
9a38142a0f
Add tests, update stubs for feature detection
2022-09-16 13:38:51 -04:00
Chris Westra
76d975524e
Add feature detection query
2022-09-16 12:13:22 -04:00
Chris Westra
6f0bf82696
Properly check for omitted name param, fix stubs
2022-09-16 10:41:10 -04:00
Chris Westra
1f26eb6899
Merge branch 'trunk' into create-linked-branch-command
2022-09-14 16:28:54 -04:00
Chris Westra
79783162f4
self-review cleanup
2022-09-14 16:26:49 -04:00
Chris Westra
bc72d6b983
Omit name param from mutation when blank
...
As it currently sits the backend won't ignore the param. I'll be looking to
add a PR for this but for now we'll remove it.
2022-09-14 14:54:43 -04:00
Chris Westra
48512176d8
Error when issue-repo doesn't match issue url
2022-09-14 11:57:51 -04:00
Sam Coe
e14d14cef2
Add support for issue state reason ( #6245 )
2022-09-14 12:39:15 +04:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Chris Westra
0f1924ba7e
WIP tests for --list flag
2022-09-13 17:06:27 -04:00
Chris Westra
07e84ea7a9
Add tests for checkout flag
2022-09-13 15:01:19 -04:00
Chris Westra
398c86b8a2
Use shared fn to look up issue and its repo
2022-09-13 10:47:57 -04:00
Chris Westra
ac4fc388bf
List linked branches works
2022-09-13 07:28:33 -04:00
Chris Westra
8cf8a16e6a
WIP add --checkout option
2022-09-12 17:20:24 -04:00
Chris Westra
6248e62611
Use GraphQLQuery test helper
...
GraphQLMutation expects a single `input` variable
2022-09-12 11:28:49 -04:00
Chris Westra
e1b83496fa
Make sure struct fields are public
2022-09-12 10:30:38 -04:00
Chris Westra
2e98e8a4a7
Get that test mostly working
2022-09-08 17:17:06 -04:00
Chris Westra
5734df806b
FIll in all the missing stuff in the test setup
2022-09-08 12:18:37 -04:00
Chris Westra
5f3f00f909
WIP
2022-09-08 10:04:12 -04:00
Chris Westra
0e1bae7be0
WIP
2022-09-06 17:04:37 -04:00
Chris Westra
152b861001
WIP
2022-09-01 16:36:48 -04:00
Mark Woods
e876b22963
Change markdown wrap limit match terminal width ( #6016 )
2022-09-01 07:36:25 +00:00
ffalor
665e4e3446
Add new commands issue pin and issue unpin ( #5597 )
2022-08-31 10:16:45 +00:00
Chris Westra
711591c92b
WIP
2022-08-26 15:25:19 -04:00
Sam Coe
2fc0ffd0be
Fix auth refresh prompter initialization ( #6141 )
...
* Fix prompter not being initialized in auth refresh
* fix broken issue list test
2022-08-25 12:07:40 +03:00
satotake
b3ab76818c
Refactor issue list and pr list tests
...
following #6085
* Inject fake `Now` function to tests of `issue list` / `pr list`
* Remove `regexp` from the tests
2022-08-25 00:01:29 +09:00
chemotaxis
7a5ed08185
Test reasonsMap construction
...
Make sure reasons were added in the correct order.
2022-08-23 23:24:42 -04:00
chemotaxis
077ab39738
Implicitly return the nil value when no lock reason given
...
While I usually like explicitly setting all values, getting rid of
setting the empty string streamlines map construction and testing.
The reasonsMap will return the nil value because the empty string is not
in the map.
2022-08-23 23:16:15 -04:00