You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Creating directory: Permission denied, /magit
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:
M-x forge-add-repository and specify some GitHub repo you don't
have a clone for. I used djcb/mu.
M-x forge-list-repositories and go to the topics page for that
newly-added repo.
M-x forge-create-issue, which errors with the message mentioned
above.
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.
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:
have a clone for. I used djcb/mu.
newly-added repo.
above.
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
The text was updated successfully, but these errors were encountered: