summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pigmonkey <pigmonkey@web>2016-09-06 23:10:47 +0000
committerGravatar admin <admin@branchable.com>2016-09-06 23:10:47 +0000
commitca8d5c203d5536b45fe466d7a2da33096ba52d37 (patch)
tree63112fab3864702c47694db3172fff003a5f7f29
parent8c79359eb2d554d51463adcd518af91072ac3406 (diff)
Added a comment
-rw-r--r--doc/todo/Specify_maximum_usable_space_per_remote/comment_2_b81af6dac4042c0d4dab58c91a46b09d._comment15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/Specify_maximum_usable_space_per_remote/comment_2_b81af6dac4042c0d4dab58c91a46b09d._comment b/doc/todo/Specify_maximum_usable_space_per_remote/comment_2_b81af6dac4042c0d4dab58c91a46b09d._comment
new file mode 100644
index 000000000..8fe3597c7
--- /dev/null
+++ b/doc/todo/Specify_maximum_usable_space_per_remote/comment_2_b81af6dac4042c0d4dab58c91a46b09d._comment
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="pigmonkey"
+ subject="comment 2"
+ date="2016-09-06T23:10:47Z"
+ content="""
+Is it not possible to implement per-annex?
+
+For instance, take the walkthrough example where you create an annex at `~/annex` and then clone it at `/media/usb/annex`. Take that setup and add a special remote -- say, a Google Drive remote called `annex-gdrive`. Now both `~/annex` and `/media/usb/annex` know which files are stored on the `annex-gdrive` remote. So we go into `~/annex` and set the maximum usable space for `annex-gdrive` and upload a couple files. Then we can go into `/media/usb/annex`, sync, and it will be able to determine the space still available on `annex-gdrive`, not through any special API but just by looking at the size of the files it knows are stored on that special remote.
+
+In the case that we create a brand new annex `~/foo` and add a Google Drive special remote to it `foo-gdrive` that happens to use the same Google account as the `annex-gdrive` remote from the previous annex, I would not expect that new annex to know about the storage used for `annex-gdrive`. That would need some sort of special API from the provider.
+
+I just want the annex `~/annex` to know about the storage used at `annex-gdrive` and the annex `~/foo` to know about the storage used at `foo-gdrive`.
+
+Hope that makes sense!
+"""]]