summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmRFKwny4rArBaz-36xTcsJYqKIgdDaw5Q <Andrew@web>2012-12-30 01:26:03 +0000
committerGravatar admin <admin@branchable.com>2012-12-30 01:26:03 +0000
commit837d653b8c6844371f0bca5fed377d6c206979e8 (patch)
treec128fbcf3e9590c253f806df8907a75d02e4a308
parentb2ad158dafe25556446b8c36e5d1da7acf513c89 (diff)
-rw-r--r--doc/forum/multiple_urls_for_the_same_UUID.mdwn26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/forum/multiple_urls_for_the_same_UUID.mdwn b/doc/forum/multiple_urls_for_the_same_UUID.mdwn
new file mode 100644
index 000000000..2f8106b59
--- /dev/null
+++ b/doc/forum/multiple_urls_for_the_same_UUID.mdwn
@@ -0,0 +1,26 @@
+I've been doing a sort of experiment but I'm not sure if it's working or, really, how to even tell.
+
+I have two macbooks that are both configured as clients as well as a USB HDD, an rsync endpoint on a home NAS, and a glacier endpoint.
+
+For the purposes of this example, lets call the macbooks "chrissy" and "brodie". Chrissy's was initially configured with a remote for brodie with the url as
+
+ ssh://Brodie.88195848.members.btmm.icloud.com./Users/akraut/Desktop/annex
+
+This allows me to leverage the "Back To My Mac" free IPv6 roaming I get from Apple. Now, occasionally, that dns resolution fails. Since I'm frequently on the same network, I can also use the mDNS address of brodie.local. which is much more reliable.
+
+So my brilliant/terrible idea was to put this in my git config:
+
+ [remote "brodie"]
+ url = ssh://Brodie.88195848.members.btmm.icloud.com./Users/akraut/Desktop/annex
+ fetch = +refs/heads/*:refs/remotes/brodie/*
+ annex-uuid = BF4BCA6D-9252-4B5B-BE12-36DD755FAF4B
+ annex-cost-command = /Users/akraut/Desktop/annex/tools/annex-cost6.sh Brodie.88195848.members.btmm.icloud.com.
+ [remote "brodie-local"]
+ url = ssh://brodie.local./Users/akraut/Desktop/annex
+ fetch = +refs/heads/*:refs/remotes/brodie/*
+ annex-uuid = BF4BCA6D-9252-4B5B-BE12-36DD755FAF4B
+ annex-cost-command = /Users/akraut/Desktop/annex/tools/annex-cost.sh brodie.local.
+
+Is there any reason why I shouldn't do this? Is annex smart enough to know that it can reach the same remote through both urls? Will the cost calculations be considered and the "local" url chosen if it's cost is less than the other?
+
+(I posted the annex-cost.sh stuff at [[forum/Calculating Annex Cost by Ping Times]].)