From 90ab98d49ce61057bc44d62232192683e20c6af7 Mon Sep 17 00:00:00 2001 From: "http://edheil.wordpress.com/" Date: Wed, 28 Nov 2012 03:38:19 +0000 Subject: [PATCH 01/11] Added a comment: Could not find module `Data.AssocList' confirmed fixed. --- .../comment_1_0da9fd67c3cc01b316f95a1df4eb62ae._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/cabal_build:___34__Could_not_find_module___96__Data.AssocList__39____34__/comment_1_0da9fd67c3cc01b316f95a1df4eb62ae._comment diff --git a/doc/bugs/cabal_build:___34__Could_not_find_module___96__Data.AssocList__39____34__/comment_1_0da9fd67c3cc01b316f95a1df4eb62ae._comment b/doc/bugs/cabal_build:___34__Could_not_find_module___96__Data.AssocList__39____34__/comment_1_0da9fd67c3cc01b316f95a1df4eb62ae._comment new file mode 100644 index 0000000000..967e203c1b --- /dev/null +++ b/doc/bugs/cabal_build:___34__Could_not_find_module___96__Data.AssocList__39____34__/comment_1_0da9fd67c3cc01b316f95a1df4eb62ae._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://edheil.wordpress.com/" + ip="99.54.57.201" + subject="Could not find module `Data.AssocList' confirmed fixed." + date="2012-11-28T03:38:19Z" + content=""" +builds fine now, thank you! +"""]] From 6481d18c31a11b734f62d4ecffefd0819fb5f5a7 Mon Sep 17 00:00:00 2001 From: "http://a-or-b.myopenid.com/" Date: Wed, 28 Nov 2012 05:42:27 +0000 Subject: [PATCH 02/11] --- ...ds___39__hxt__39___added_-_3.20121127.mdwn | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/bugs/Build-depends_needs___39__hxt__39___added_-_3.20121127.mdwn diff --git a/doc/bugs/Build-depends_needs___39__hxt__39___added_-_3.20121127.mdwn b/doc/bugs/Build-depends_needs___39__hxt__39___added_-_3.20121127.mdwn new file mode 100644 index 0000000000..da624c08f4 --- /dev/null +++ b/doc/bugs/Build-depends_needs___39__hxt__39___added_-_3.20121127.mdwn @@ -0,0 +1,35 @@ +What steps will reproduce the problem? + +Install git-annex via cabal - either from Hackage or as a manual install. (i.e. ) + +What is the expected output? What do you see instead? + +Expect a clean install. + +However, get the following error: + + Assistant/Install.hs:24:8: + Could not find module `Data.AssocList' + It is a member of the hidden package `hxt-9.3.1.1'. + Perhaps you need to add `hxt' to the build-depends in your .cabal file. + Use -v to see a list of the files searched for. + + +What version of git-annex are you using? On what operating system? + +git-annex: 3.20121127 +OS: Mac OSX 10.6.8 + +Please provide any additional information below. + +The fix seems to be as simple as adding 'htx' to the 'git-annex.cabal' file: + + Executable git-annex + Main-Is: git-annex.hs + Build-Depends: MissingH, hslogger, directory, filepath, + unix, containers, utf8-string, network (>= 2.0), mtl (>= 2.1.1), + bytestring, old-locale, time, + -- Added htx here + hxt, + pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP, + From 85d06ab448569c6fd40f89b3fb8d070afc87bf6b Mon Sep 17 00:00:00 2001 From: "http://a-or-b.myopenid.com/" Date: Wed, 28 Nov 2012 06:02:09 +0000 Subject: [PATCH 03/11] --- ...nstall_c2hs_-_3.20121127_and_previous.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn diff --git a/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn b/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn new file mode 100644 index 0000000000..7c03e1d38c --- /dev/null +++ b/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn @@ -0,0 +1,33 @@ +What steps will reproduce the problem? + +Install git-annex via cabal - either from Hackage or as a manual install. (i.e. ) + +What is the expected output? What do you see instead? + +Expect a clean install. + +However, get the following error: + + Configuring gnuidn-0.2... + cabal: The program c2hs is required but it could not be found. + Failed to install gnuidn-0.2 + cabal: Error: some packages failed to install: + git-annex-3.20121127 depends on gnuidn-0.2 which failed to install. + gnuidn-0.2 failed during the configure step. The exception was: + ExitFailure 1 + network-protocol-xmpp-0.4.4 depends on gnuidn-0.2 which failed to install. + +What version of git-annex are you using? On what operating system? + +git-annex: 3.20121127 (and previous versions) + +OS: Mac OSX 10.6.8 + + +Please provide any additional information below. + +The fix seems as easy as + + cabal install c2hs + +Should c2hs be included as a dep got git-annex or is this a bug in gnuidn? From b0cae9946a09a11aaaf83eceb924e0e1ca44b33f Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" Date: Wed, 28 Nov 2012 11:47:46 +0000 Subject: [PATCH 04/11] --- ...ithin_the_repo_without_copying___63__.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn new file mode 100644 index 0000000000..55d51f21df --- /dev/null +++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn @@ -0,0 +1,19 @@ +Is there a way to move a large file without "git annex unlock"ing it (Which takes very long for copying and then rehashing the file)? +Using a simple "mv" or "git mv" results in broken symlinks, if the target directory is on a different hierarchy level: + +Example: + +Initial State: + + $ ls -Hl Pictures: + Pictures/showImages.jpg -> ../.git/annex/objects/90/32/SHA1-s8737--a8bfb285d0ae394cb75c86f1eb9f703fb678a51e/SHA1-s8737--a8bfb285d0ae394cb + +Move: + + $ mv Pictures/showImages.jpg . + +Result: + + $ ls -H showImages.jpg + ls: cannot access showImages.jpg: No such file or directory + From 2299684ce07ab7c22ac5ef5b9b97e4905bfe3b2c Mon Sep 17 00:00:00 2001 From: jbee Date: Wed, 28 Nov 2012 11:52:24 +0000 Subject: [PATCH 05/11] Added a comment: Thanks --- ...mment_3_4ff80729787a2a4e2baf05dd1db37da3._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/forum/How_to_restore_symlinks/comment_3_4ff80729787a2a4e2baf05dd1db37da3._comment diff --git a/doc/forum/How_to_restore_symlinks/comment_3_4ff80729787a2a4e2baf05dd1db37da3._comment b/doc/forum/How_to_restore_symlinks/comment_3_4ff80729787a2a4e2baf05dd1db37da3._comment new file mode 100644 index 0000000000..ce0be74b00 --- /dev/null +++ b/doc/forum/How_to_restore_symlinks/comment_3_4ff80729787a2a4e2baf05dd1db37da3._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="jbee" + ip="178.25.68.205" + subject="Thanks" + date="2012-11-28T11:52:24Z" + content=""" +> deletion has been committed to git, and then you'd use git log --stat to find the commit that deleted your files, and git revert could be used to undo it. + +That did the trick. + +Thanks Joey, for the answer and the magnificence that is git-annex. +"""]] From cbfd8c797ca2ae96d0b2a43fa0615ee2f93adb0d Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM" Date: Wed, 28 Nov 2012 13:28:22 +0000 Subject: [PATCH 06/11] Added a comment --- .../comment_1_9e3290138133d5a23a80f72342f47ec4._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_1_9e3290138133d5a23a80f72342f47ec4._comment diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_1_9e3290138133d5a23a80f72342f47ec4._comment b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_1_9e3290138133d5a23a80f72342f47ec4._comment new file mode 100644 index 0000000000..d1df9cf514 --- /dev/null +++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_1_9e3290138133d5a23a80f72342f47ec4._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM" + nickname="Karsten" + subject="comment 1" + date="2012-11-28T13:28:21Z" + content=""" +Just commit, git-annex will fix the symlinks. Or do it manually with 'git annex fix'. +"""]] From 5e6d65c34f4b1e294d8e20cf38c5477fd52f6143 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlQ6QRC31TBOlstz2Eel3Yg7zWI2YGBATs" Date: Wed, 28 Nov 2012 14:38:51 +0000 Subject: [PATCH 07/11] --- .../Synchronize_large_files___40__VM_images__41__.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Synchronize_large_files___40__VM_images__41__.mdwn diff --git a/doc/forum/Synchronize_large_files___40__VM_images__41__.mdwn b/doc/forum/Synchronize_large_files___40__VM_images__41__.mdwn new file mode 100644 index 0000000000..71de3ee7cf --- /dev/null +++ b/doc/forum/Synchronize_large_files___40__VM_images__41__.mdwn @@ -0,0 +1,10 @@ +Hi, + +i'm thinking to use git-annex to synchronize my virtual machine directory (Virtualbox) between 3 pc. It's quite big: more than 200GB and some of the images are 40Gb in size. + +The synchronization will be over a lan (obviously). It is already in place with 2pc and unison but the configuration of the 3rd pc is cumbersome. +Does anybody have experiences with git-annex and such amount of data? + +Thanks in advance + +Gabriele From a73b5d5dd8c0dfb7dcbd66eb4b0da1433a9285df Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" Date: Wed, 28 Nov 2012 14:44:05 +0000 Subject: [PATCH 08/11] --- doc/forum/benefit_of_splitting_a_repository.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/benefit_of_splitting_a_repository.mdwn diff --git a/doc/forum/benefit_of_splitting_a_repository.mdwn b/doc/forum/benefit_of_splitting_a_repository.mdwn new file mode 100644 index 0000000000..111feb2cf0 --- /dev/null +++ b/doc/forum/benefit_of_splitting_a_repository.mdwn @@ -0,0 +1,10 @@ +I am evaluating the best strategy to use git-annex to manage my media library. It consists of about 300.000 files totaling 1 TB of data. + +My question is, wheither it would be of advantage to split the repo into several smaller ones (Like Photos, Videos, Musik, Books, ...)? + +Would this affect performance of certain operations? I.e. Operations that have superlinear (O(n^a) with a > 1) complexity? + +I am thinking about "git annex unused", which takes 22 minutes on my machine performed on the full repo. + + +Do you have more interesting information on using git-annex in this scale? From 1956f444fa49437e138b36f88f70541d157bd52d Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" Date: Wed, 28 Nov 2012 14:50:16 +0000 Subject: [PATCH 09/11] Added a comment: Does not work --- ...ment_2_232b77894dda51d02cbc34bd25d3213b._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_2_232b77894dda51d02cbc34bd25d3213b._comment diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_2_232b77894dda51d02cbc34bd25d3213b._comment b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_2_232b77894dda51d02cbc34bd25d3213b._comment new file mode 100644 index 0000000000..0559e79543 --- /dev/null +++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_2_232b77894dda51d02cbc34bd25d3213b._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" + nickname="Sehr" + subject="Does not work" + date="2012-11-28T14:50:16Z" + content=""" + $ git annex fix + +Does not change anything. and + + $ git annex fix showImages.jpg + git-annex: showImages.jpg not found +"""]] From 3beef3dabf3037ff944bb245c9b974c41cc58b16 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM" Date: Wed, 28 Nov 2012 15:03:42 +0000 Subject: [PATCH 10/11] Added a comment --- ...omment_3_d35ac1bdb3fa6e303ad92348ba174158._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_3_d35ac1bdb3fa6e303ad92348ba174158._comment diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_3_d35ac1bdb3fa6e303ad92348ba174158._comment b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_3_d35ac1bdb3fa6e303ad92348ba174158._comment new file mode 100644 index 0000000000..d4d25a7056 --- /dev/null +++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_3_d35ac1bdb3fa6e303ad92348ba174158._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM" + nickname="Karsten" + subject="comment 3" + date="2012-11-28T15:03:42Z" + content=""" +In my tests 'git annex fix' works only on symlinks in directories alredy known to git. So if you created a new directory inside your annex, be sure to 'git add' the directory before running 'git annex fix'. + +HTH, +Karsten +"""]] From b965631cc97eca07be89f35109722eba09f457a6 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" Date: Wed, 28 Nov 2012 15:14:49 +0000 Subject: [PATCH 11/11] Added a comment --- .../comment_4_4b443ec6b47eaabe214d0c2222083e4a._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_4_4b443ec6b47eaabe214d0c2222083e4a._comment diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_4_4b443ec6b47eaabe214d0c2222083e4a._comment b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_4_4b443ec6b47eaabe214d0c2222083e4a._comment new file mode 100644 index 0000000000..cf09b261ae --- /dev/null +++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__/comment_4_4b443ec6b47eaabe214d0c2222083e4a._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0" + nickname="Sehr" + subject="comment 4" + date="2012-11-28T15:14:49Z" + content=""" +Thanks. It seems that the file itself has to be added to git annex to be able to bet git annex fixed! +"""]]