From 097bc2b5587525e099d2042b44594fe129dc695c Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Sun, 2 Feb 2014 21:13:22 +0000 Subject: [PATCH 1/5] Added a comment --- ...mment_1_75445fc0e01ee99bae1c1f5a60e314bc._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/forum/git_annex_copy_more_informative_about_why_some_files_are_not_copied/comment_1_75445fc0e01ee99bae1c1f5a60e314bc._comment diff --git a/doc/forum/git_annex_copy_more_informative_about_why_some_files_are_not_copied/comment_1_75445fc0e01ee99bae1c1f5a60e314bc._comment b/doc/forum/git_annex_copy_more_informative_about_why_some_files_are_not_copied/comment_1_75445fc0e01ee99bae1c1f5a60e314bc._comment new file mode 100644 index 0000000000..15373be70d --- /dev/null +++ b/doc/forum/git_annex_copy_more_informative_about_why_some_files_are_not_copied/comment_1_75445fc0e01ee99bae1c1f5a60e314bc._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="206.74.132.139" + subject="comment 1" + date="2014-02-02T21:13:21Z" + content=""" +I think that this behavior of git-annex is quite useful once you get used to it. It can sometimes trip up new users, but new users would not know about some --explain switch that made it say why it skipped each file. So, I consider this a documentation issue, and I've added a section to the walkthrough to help users learn about it: + + + +As far as copy --from --to, it has been suggested before; I think there is even a todo about it somewhere, but such remote-to-remote transfers are expensive and I would hope it would not normally be used. +"""]] From c6ee7f143a752d25724244276e8c0b1c5216ac87 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkNE-H4vEcbcGndxq5daT8qUb7yIf7r1OE" Date: Sun, 2 Feb 2014 22:35:55 +0000 Subject: [PATCH 2/5] openwrt packages. multiplle architectures --- doc/todo/openwrt_package.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/todo/openwrt_package.txt diff --git a/doc/todo/openwrt_package.txt b/doc/todo/openwrt_package.txt new file mode 100644 index 0000000000..70a4ae03fb --- /dev/null +++ b/doc/todo/openwrt_package.txt @@ -0,0 +1,6 @@ +hi + +recently i have installed openwrt on my mikrotik routerboard. i am verry suprised how well it works. it lacks git-annex package. openwrt has git and i can install it. + +how can i build one on a mips arch ? +is it possible to build multiple architecture standalone binaries ? From 7b6a108437dd224e336578dec2d6dff885b2aaf8 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmdPlD2j96DEwNSGiAHUYKnz2oFHC3rDQY" Date: Sun, 2 Feb 2014 22:55:00 +0000 Subject: [PATCH 3/5] --- ...ink_path_in_simple_submodule_use_case.mdwn | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn diff --git a/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn new file mode 100644 index 0000000000..773d035a80 --- /dev/null +++ b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn @@ -0,0 +1,69 @@ +### Please describe the problem. +When creating a simple "parent" git repo, creating another "child" repo with an annexed file, then adding the child repo as a submodule of the parent, the symlink path of the large file contained by the submodule is incorrect. + + +### What steps will reproduce the problem? +Here are the exact steps for this simple use case (I have removed unrelated output for brevity, and setting up the repos is error-free): + +# Create "parent" repo +$ mkdir parent +$ cd parent/ +$ git init +$ touch parent_start +$ git add parent_start +$ git commit -a -m 'New parent repo' +$ cd ../ + +# Create "child" repo +$ mkdir child +$ cd child/ +$ git init +$ touch child_start +$ git add child_start +$ git commit -a -m 'New child repo' +$ git annex init +$ cp ~/Desktop/some_big_file child_big_file +$ git annex add child_big_file +$ git commit -a -m 'Added big file' +$ cd ../ + +# Add "child" repo as a submodule of "parent" repo +$ cd parent/ +$ git submodule add ../child ./submodule +$ git commit -m 'Added submodule' + +# Try to get annexed file +$ cd submodule/ +$ git annex init +$ git annex get +$ ls ./ +-rw-r--r-- .git +lrwxr-xr-x child_big_file -> .git/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd +-rw-r--r-- child_start + +# As you can see above, the child_big_file symlink path is incorrect (the ".git/annex/..." location is not a directory, and should instead be "../.git/modules/submodule/annex/...") + +# Show the actual location of the annexed file +$ cd ../ +$ ls .git/modules/submodule/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd +-r--r--r-- SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd + + +### What version of git-annex are you using? On what operating system? +Mac OS X Mountain Lion +$ sw_vers -productVersion +10.8.5 +$ git --version +git version 1.7.12.4 (Apple Git-37) +$ git-annex version +git-annex version: 4.20131105-g136b030 +build flags: Assistant Webapp Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA +key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL +remote types: git gcrypt S3 bup directory rsync web webdav glacier hook +local repository version: 3 +default repository version: 3 +supported repository versions: 3 4 +upgrade supported from repository versions: 0 1 2 + + +Thanks for your help :) From a9d9b6ee8f5c49c68668ef62f4f27ad3155a6418 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmdPlD2j96DEwNSGiAHUYKnz2oFHC3rDQY" Date: Sun, 2 Feb 2014 22:56:51 +0000 Subject: [PATCH 4/5] Formatting fixes --- ...ink_path_in_simple_submodule_use_case.mdwn | 111 +++++++++--------- 1 file changed, 56 insertions(+), 55 deletions(-) diff --git a/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn index 773d035a80..a6c707a673 100644 --- a/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn +++ b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn @@ -5,65 +5,66 @@ When creating a simple "parent" git repo, creating another "child" repo with an ### What steps will reproduce the problem? Here are the exact steps for this simple use case (I have removed unrelated output for brevity, and setting up the repos is error-free): -# Create "parent" repo -$ mkdir parent -$ cd parent/ -$ git init -$ touch parent_start -$ git add parent_start -$ git commit -a -m 'New parent repo' -$ cd ../ - -# Create "child" repo -$ mkdir child -$ cd child/ -$ git init -$ touch child_start -$ git add child_start -$ git commit -a -m 'New child repo' -$ git annex init -$ cp ~/Desktop/some_big_file child_big_file -$ git annex add child_big_file -$ git commit -a -m 'Added big file' -$ cd ../ - -# Add "child" repo as a submodule of "parent" repo -$ cd parent/ -$ git submodule add ../child ./submodule -$ git commit -m 'Added submodule' - -# Try to get annexed file -$ cd submodule/ -$ git annex init -$ git annex get -$ ls ./ --rw-r--r-- .git -lrwxr-xr-x child_big_file -> .git/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd --rw-r--r-- child_start - -# As you can see above, the child_big_file symlink path is incorrect (the ".git/annex/..." location is not a directory, and should instead be "../.git/modules/submodule/annex/...") - -# Show the actual location of the annexed file -$ cd ../ -$ ls .git/modules/submodule/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd --r--r--r-- SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd + # Create "parent" repo + $ mkdir parent + $ cd parent/ + $ git init + $ touch parent_start + $ git add parent_start + $ git commit -a -m 'New parent repo' + $ cd ../ + + # Create "child" repo + $ mkdir child + $ cd child/ + $ git init + $ touch child_start + $ git add child_start + $ git commit -a -m 'New child repo' + $ git annex init + $ cp ~/Desktop/some_big_file child_big_file + $ git annex add child_big_file + $ git commit -a -m 'Added big file' + $ cd ../ + + # Add "child" repo as a submodule of "parent" repo + $ cd parent/ + $ git submodule add ../child ./submodule + $ git commit -m 'Added submodule' + + # Try to get annexed file + $ cd submodule/ + $ git annex init + $ git annex get + $ ls ./ + -rw-r--r-- .git + lrwxr-xr-x child_big_file -> .git/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd/SHA256E-s1117253-- ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd + -rw-r--r-- child_start + + # As you can see above, the child_big_file symlink path is incorrect (the ".git/annex/..." location is not a directory, and should instead be "../.git/modules/submodule/annex/...") + + # Show the actual location of the annexed file + $ cd ../ + $ ls .git/modules/submodule/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd + -r--r--r-- SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd ### What version of git-annex are you using? On what operating system? Mac OS X Mountain Lion -$ sw_vers -productVersion -10.8.5 -$ git --version -git version 1.7.12.4 (Apple Git-37) -$ git-annex version -git-annex version: 4.20131105-g136b030 -build flags: Assistant Webapp Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA -key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL -remote types: git gcrypt S3 bup directory rsync web webdav glacier hook -local repository version: 3 -default repository version: 3 -supported repository versions: 3 4 -upgrade supported from repository versions: 0 1 2 + + $ sw_vers -productVersion + 10.8.5 + $ git --version + git version 1.7.12.4 (Apple Git-37) + $ git-annex version + git-annex version: 4.20131105-g136b030 + build flags: Assistant Webapp Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA + key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL + remote types: git gcrypt S3 bup directory rsync web webdav glacier hook + local repository version: 3 + default repository version: 3 + supported repository versions: 3 4 + upgrade supported from repository versions: 0 1 2 Thanks for your help :) From 0d5304cc92e8542a1d0cce37d590727c4939ec22 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmdPlD2j96DEwNSGiAHUYKnz2oFHC3rDQY" Date: Sun, 2 Feb 2014 22:59:17 +0000 Subject: [PATCH 5/5] Note about git-annex assistant --- .../Incorrect_symlink_path_in_simple_submodule_use_case.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn index a6c707a673..823d12679d 100644 --- a/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn +++ b/doc/bugs/Incorrect_symlink_path_in_simple_submodule_use_case.mdwn @@ -38,7 +38,7 @@ Here are the exact steps for this simple use case (I have removed unrelated outp $ git annex get $ ls ./ -rw-r--r-- .git - lrwxr-xr-x child_big_file -> .git/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd/SHA256E-s1117253-- ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd + lrwxr-xr-x child_big_file -> .git/annex/objects/F5/f2/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd/SHA256E-s1117253--ce17632dfd9c61a0a8c1384d25fb3a8a197f8056f224e15fbcad89904a82c5fd -rw-r--r-- child_start # As you can see above, the child_big_file symlink path is incorrect (the ".git/annex/..." location is not a directory, and should instead be "../.git/modules/submodule/annex/...") @@ -50,7 +50,7 @@ Here are the exact steps for this simple use case (I have removed unrelated outp ### What version of git-annex are you using? On what operating system? -Mac OS X Mountain Lion +Mac OS X Mountain Lion. git-annex files are from within the downloadable git-annex assistant. $ sw_vers -productVersion 10.8.5