Sam Coe
63ad804a26
Add notes about project scope to various commands ( #6907 )
2023-01-24 17:22:20 +00: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ć
8d82a96349
Fix fetching issue/PR comments
...
The "Author" struct was too overloaded in different types of queries that treat struct fields in incompatible ways. This change defines a simpler CommentAuthor struct for use in comments until we can figure out how to query `... on User` information for comments too.
2022-12-23 17:14:06 +01:00
Mislav Marohnić
f8f206e063
Group PR, release, and repo subcommands
2022-12-21 14:47:59 +01:00
Mislav Marohnić
fcd86c00b4
Merge remote-tracking branch 'origin' into cobra-update
2022-12-21 13:23:41 +01:00
Nate Smith
1f85a92463
Merge pull request #5333 from chemotaxis/gh-issue-lock
...
Add `lock` and `unlock` commands for issues and pull requests
2022-12-20 18:04:34 -06:00
vilmibm
c3cceae9ea
finish tests
2022-12-20 15:45:13 -08:00
vilmibm
6fce78e689
WIP all but relocking
2022-12-20 15:34:17 -08:00
vilmibm
8d9b47e555
stub out rest of tests
2022-12-20 15:20:21 -08:00
vilmibm
a1fe708048
todos
2022-12-20 13:15:14 -08:00
vilmibm
bb958490ea
WIP tests
2022-12-20 13:14:41 -08:00
vilmibm
cee5e6e42a
WIP on tests
2022-12-20 13:00:52 -08:00
Mislav Marohnić
607a0876b9
Split issue commands into "General" vs. "Targeted"
2022-12-20 17:56:51 +01:00
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