cli/pkg/cmd/pr
Mislav Marohnić 766e4950d9 Be transparent about which part of pr create flow failed
When applying metadata to the new PR such as assignees or reviewers, if
the operation fails, an error message would get printed:

    failed to create pull request: <API error text>

This was misleading, because the PR did get created; it's just that
updating it failed. The new error message is:

    https://github.com/OWNER/REPO/pull/123
    pull request update failed: <API error text>

The PR URL is printed on stdout and the error message is printed on
stderr. In case of any errors, the exit code is still non-zero.
2020-08-31 16:46:22 +02:00
..
checkout fix tests 2020-08-19 16:40:13 -05:00
close Merge remote-tracking branch 'origin/trunk' into prclose-delete 2020-08-19 21:06:04 -05:00
create Be transparent about which part of pr create flow failed 2020-08-31 16:46:22 +02:00
diff Disallow pr -R flag for commands that operate on the current branch 2020-08-27 16:30:34 +02:00
list Fix --repo override taking effect for pr commands 2020-08-06 21:39:46 +02:00
merge Disallow pr -R flag for commands that operate on the current branch 2020-08-27 16:30:34 +02:00
ready Disallow pr -R flag for commands that operate on the current branch 2020-08-27 16:30:34 +02:00
reopen Fix --repo override taking effect for pr commands 2020-08-06 21:39:46 +02:00
review Disallow pr -R flag for commands that operate on the current branch 2020-08-27 16:30:34 +02:00
shared Isolate pr list command 2020-08-04 18:38:06 +02:00
status Fix --repo override taking effect for pr commands 2020-08-06 21:39:46 +02:00
view Disallow pr -R flag for commands that operate on the current branch 2020-08-27 16:30:34 +02:00
pr.go Fix GH_REPO override 2020-08-07 14:47:58 +02:00