diff options
author | Joey Hess <joey@kitenet.net> | 2014-07-15 17:35:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-07-15 17:35:58 -0400 |
commit | 61addcb7f297d0ca0943c0c6623d033f2e9e05bd (patch) | |
tree | 42928961ca4d5c7481d6e462e17a5762c391333e /doc/todo | |
parent | 4b4d302bcd168732c0e04d76bb387fd04fce06b5 (diff) | |
parent | 7b087002352d67791f02c55d9cf1a7a72855d3bd (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/todo')
3 files changed, 30 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_add_--symlink_option_to_import/comment_1_d5d853142d401b95577567e3eb43495e._comment b/doc/todo/wishlist:_add_--symlink_option_to_import/comment_1_d5d853142d401b95577567e3eb43495e._comment new file mode 100644 index 000000000..62d4264cb --- /dev/null +++ b/doc/todo/wishlist:_add_--symlink_option_to_import/comment_1_d5d853142d401b95577567e3eb43495e._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 1" + date="2014-07-15T18:53:47Z" + content=""" +Well, it's easy enough to make symlinks to content in a git-annex repository yourself if you want to. I don't see why this belongs in `git annex import`, which is too complicated already. +"""]] diff --git a/doc/todo/wishlist:_do_not_import_new_files/comment_4_22a7a03c30174e42e6d8e639e31e1d34._comment b/doc/todo/wishlist:_do_not_import_new_files/comment_4_22a7a03c30174e42e6d8e639e31e1d34._comment new file mode 100644 index 000000000..f53fb6395 --- /dev/null +++ b/doc/todo/wishlist:_do_not_import_new_files/comment_4_22a7a03c30174e42e6d8e639e31e1d34._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 4" + date="2014-07-15T19:01:24Z" + content=""" +So the goal is to inject any known objects from the dump into the local annex to avoid needing to re-transfer them. + +It seems to me that in this case, you would not even want to create new symlinks in the git repository. + +`git annex reinject` might be a better place to put code to handle this than `git annex import`. +"""]] diff --git a/doc/todo/wishlist:_do_not_import_new_files/comment_5_4294e92e2f4efb9dd10b280f5c9843f7._comment b/doc/todo/wishlist:_do_not_import_new_files/comment_5_4294e92e2f4efb9dd10b280f5c9843f7._comment new file mode 100644 index 000000000..e312c083d --- /dev/null +++ b/doc/todo/wishlist:_do_not_import_new_files/comment_5_4294e92e2f4efb9dd10b280f5c9843f7._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 5" + date="2014-07-15T19:13:05Z" + content=""" +A fundamental problem with this idea is that git-annex's keys can use any of many checksumming backends. So, which checksum should it try? Running every possible checksum on a file is going to re-read it repeatedly and be expensive. + +`git annex import` avoids this problem by using whatever the default backend is configured to be for the filename it's importing. This is good enough to make repeated runs of `git annex import` work ok, but when we get into trying to reinject whole directory trees like this, I don't think that's good enough. +"""]] |