git-annex/Assistant/WebApp
Joey Hess d1ed337035 webapp: Improve handling of remotes whose setup has stalled.
This includes recovery from the ssh-agent problem that led to many reporting
http://git-annex.branchable.com/bugs/Internal_Server_Error:_Unknown_UUID/
(Including fixing up .ssh/config to set IdentitiesOnly.)

Remotes that have no known uuid are now displayed in the webapp as
"unfinished". There's a link to check their status, and if the remote
has been set annex-ignore, a retry button can be used to unset that and
try again to set up the remote.

As this bug has shown, the process of adding a ssh remote has some failure
modes that are not really ideal. It would certianly be better if, when
setting up a ssh remote it would detect if it's failed to get the UUID,
and handle that in the remote setup process, rather than waiting until
later and handling it this way.

However, that's hard to do, particularly for local pairing, since the
PairListener runs as a background thread. The best it could do is pop up an
alert if there's a problem. This solution is not much different.

Also, this solution handles cases where the user has gotten their repo into
a mess manually and let's the assistant help with cleaning it up.

This commit was sponsored by Chia Shee Liang. Thanks!
2013-07-31 16:36:29 -04:00
..
Configurators fix build 2013-07-23 13:40:27 -04:00
Common.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Configurators.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Control.hs fun with exec 2013-07-23 17:31:51 -04:00
DashBoard.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Documentation.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Form.hs Make field readonly, not disabled 2013-06-18 17:08:37 -04:00
Notifications.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
OtherRepos.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Page.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
RepoList.hs webapp: Improve handling of remotes whose setup has stalled. 2013-07-31 16:36:29 -04:00
routes webapp: Improve handling of remotes whose setup has stalled. 2013-07-31 16:36:29 -04:00
SideBar.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Types.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
Utility.hs rename module 2013-04-23 11:38:52 -04:00