~sircmpwn/git.sr.ht#95: Make it slightly harder to delete repositories

It's currently possible to delete a repository with a single click. There's no confirmation. I know we're all adults here for something like this I'd like at least a confirm dialog or (better yet) something that requires intention like how GitHub forces you to type the name of the repository.

Status
RESOLVED WONT_FIX
Submitter
~gjost
Assigned to
No-one
Submitted
1 year, 11 days ago
Updated
1 year, 10 days ago
Labels
No labels applied.

~sircmpwn REPORTED WONT_FIX 1 year, 11 days ago

You have to click two buttons, the first labelled Delete, the second one is bright red and explicitly lays out Proceed and delete. Additionally, if you delete a repo, getting it back is as simple as a git push.

~gjost 1 year, 10 days ago

I get the whole UNIX-is-the-Hole-Hawg serious-users-don't-need-to-be-protected-from-themselves aesthetic, which totally works with the brutalist design which I also appreciate. It's true that if you're the only user it's easy to just git-push again, and it's also true that on this service deleting the Git repo doesn't also remove the tickets or other pieces.

But repository deletion is one place where I'd want the confirmation to be a little stronger. If you're running a serious project with a lot of contributors then deleting the repo might be a serious inconvenience. You might have to contact contributors to get various branches back, etc, etc.

~sircmpwn 1 year, 10 days ago

You have to click two buttons labelled Delete, one of which is red, to perform an action which can ultimately be rolled back. This is entirely sufficient.

~gjost 1 year, 10 days ago

Fair enough.