Open yogurtearl opened 2 years ago
I think it's better to error out instead of printing warnings. It's easy enough to simply fix the typo (or drop the review, if that's somehow the right choice) and rerun the command. This is, of course, predicated on the fix for the bug you pointed out here.
Warnings are pretty easy to miss, especiall in the git spr
output as it's fairly verbose already.
My vote is that the desired behaviour is to error out early instead of creating any PRs so that the error can be fixed.
My vote is that the desired behaviour is to error out early instead of creating any PRs so that the error can be fixed.
that would be fine as well. and mitigated by https://github.com/ejoffe/spr/issues/221 as well.
if you run this command, but
jane
is not an assignable reviewer, then it just errors out and doesn't create the rest of the PRs.Current behaviour:
Stops after the first PR and doesn't assign reviewers to that first PR. Also, doesn't print the status of the PR it did create.
Desired behaviour:
Creates all the PRs with only
bob
andalice
as reviewers, and a warning message aboutjane
.