Open bcc32 opened 1 month ago
Yes, the errors could be improved and it is also worth looking into instead making it possible to create issues in such situations (and pull-requests, but that is both harder and stranger (where does the branch come from if there is no clone?)).
Additional work is arriving at a very high frequency right now, so I won't get to this soon.
No problem, thanks for the ack and all your amazing work on magit and forge!
When attempting to create an issue for a repo that has been added to forge but which has no local clone, the error produced is confusing:
It seems to be attempting to create a directory to store the draft issue text, which makes sense, but the error itself is a little unclear and it would probably be a nicer experience to handle this case specifically and produce a
user-error
.Steps to reproduce are just:
Backtrace follows:
FYI version info:
Magit 20241020.1608 [>= 20241020.1608], Transient 20241018.1740, Forge 20241018.1648, Git 2.44.1, Emacs 29.4, gnu/linux