summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-12 16:12:16 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-12 16:12:16 -0400
commit43170265bd8d6dfcdc62c6ea3880783938294bf0 (patch)
treea604867a013364afb434a37d7f902c27bd06fdd5 /doc
parentdaca2d5a6f5cb272170999d366f93520e42a98c2 (diff)
webapp: Avoid confusing display of dead remotes.
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_3_2b1ac09cb8b5f5ec62a201785c2f6531._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_3_2b1ac09cb8b5f5ec62a201785c2f6531._comment b/doc/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_3_2b1ac09cb8b5f5ec62a201785c2f6531._comment
new file mode 100644
index 000000000..9e2745c10
--- /dev/null
+++ b/doc/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_3_2b1ac09cb8b5f5ec62a201785c2f6531._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2016-05-12T19:52:49Z"
+ content="""
+Looking at the code, the RepoList looks at syncRemotes to decide if a
+remote is syncing or not. The edit form instead looks at remoteAnnexSync
+from the remote's gitconfig. So, seems syncRemotes for some reason does
+not include this remote, despite its gitconfig saying to sync with it.
+
+Well, calcSyncRemotes starts with remoteAnnexSync but also excludes Dead
+repos. And indeed, when a repo is dead, it behaves as shown.
+
+So, `git annex semitrust Kapsel` should get it back to syncing with that
+remote. Assuming it's not dead for a reason.
+
+The webapp UI doesn't currently indicate when a remote is dead. I think you
+can only get into this state by running `git annex dead` at the command line
+though.
+
+Simple fix is to not make the webapp display dead remotes in the
+RepoList at all. Done.
+"""]]