From 0106340d4a465ee37a9da099e9858f00b3186139 Mon Sep 17 00:00:00 2001 From: anarcat Date: Tue, 13 Oct 2015 14:14:16 +0000 Subject: [PATCH 1/4] workarounds --- ..._crippled_my_other_non-crippled_repos.mdwn | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn index 126b52b08b..81d8966ef3 100644 --- a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn +++ b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn @@ -15,8 +15,26 @@ What's going on? It seems the problem is because i setup my remote repo from scratch, because doing a checkout fails, because the crippled filesystem -doesn't support files with colons (':'), question marks ('?') or -double quotes ('"') in them. +doesn't support files with: + +* colons (`:`) +* question marks (`?`) +* backslashes (`\`) +* double quotes (`"`) +* stars (`*`) +* irregular encoding (i.e. non-UTF8) + +I have found the following tools to be useful to cleanup the filesystem: + +* [convmv](http://tracker.debian.org/convmv) can massively re-encode filenames and may also be able to fix all the issues above, but i didn't test that +* [rename](http://tracker.debian.org/rename) can massively rename files according to certain patterns, I have used: + + rename 's/\?//' * + rename 's/://' * + rename 's/\\//' * + rename 's/"//' * + rename 's/*//' * + git add -A . Similar issues: @@ -245,6 +263,8 @@ Vous pouvez inspecter ce qui a été extrait avec 'git status' et réessayer l'extraction avec 'git checkout -f HEAD' +Besides, `clone` creates actually seems to create and transfer all the files and setup direct mode (!?), which takes up too much space on this external drive... + ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) Git-annex has been my bread and butter for a few months in the past From 7304e459c35dcc0f4672253f5a4e3195548a0c09 Mon Sep 17 00:00:00 2001 From: anarcat Date: Tue, 13 Oct 2015 16:02:06 +0000 Subject: [PATCH 2/4] more notes --- ...de_crippled_my_other_non-crippled_repos.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn index 81d8966ef3..e6d5a77276 100644 --- a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn +++ b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn @@ -265,6 +265,23 @@ et réessayer l'extraction avec 'git checkout -f HEAD' Besides, `clone` creates actually seems to create and transfer all the files and setup direct mode (!?), which takes up too much space on this external drive... +Interestingly, i have managed to clone the repo by cleaning up a lot of space and fixing the above errors. Interestingly, the git clone is only 2GB while the original repo is closer to 110GB. There's nevertheless a bunch of files checked out, and obviously, enabling git-annex on the repo gives the predictable: + +
+$ git annex sync
+
+  Detected a filesystem without fifo support.
+
+  Disabling ssh connection caching.
+
+  Detected a crippled filesystem.
+
+  Enabling direct mode.
+git-annex: /media/anarcat/Nokia N900/.sounds/mp3-clone/.git/annex/objects/cec/e45/SHA256E-s3547512--6d0b48b144ba58cf649134c7b4d6597f4e0c5f319302f1c109d0967f22af607a.mp3: createDirectory: resource exhausted (No space left on device)
+
+ +... and leaves the repo in an inconsistent state again. + ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) Git-annex has been my bread and butter for a few months in the past From f9547828b723a2d4083a93725dd43c6895a26c9c Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8" Date: Tue, 13 Oct 2015 16:57:24 +0000 Subject: [PATCH 3/4] Added a comment --- .../comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/SSL_repos_does_not_show_up_in_Assistant/comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment diff --git a/doc/bugs/SSL_repos_does_not_show_up_in_Assistant/comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment b/doc/bugs/SSL_repos_does_not_show_up_in_Assistant/comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment new file mode 100644 index 0000000000..0759fb7771 --- /dev/null +++ b/doc/bugs/SSL_repos_does_not_show_up_in_Assistant/comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8" + nickname="Hamza" + subject="comment 2" + date="2015-10-13T16:57:24Z" + content=""" +You are right about https access, server does not support git-annex so it is set to meta data only. when using ssh changes are sync (git changes only) but with https changes are not synced (meta data). It is not even listed in repos. When using ssh it is listed in repos as meta data only. I do not store files in the repo just meta data. +"""]] From 9d2a602661261d9761ca66d67955c2e5baee3a64 Mon Sep 17 00:00:00 2001 From: anarcat Date: Tue, 13 Oct 2015 20:37:41 +0000 Subject: [PATCH 4/4] timing info --- ...irect_cripple_mode_crippled_my_other_non-crippled_repos.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn index e6d5a77276..b2ced628ec 100644 --- a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn +++ b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn @@ -280,7 +280,7 @@ $ git annex sync git-annex: /media/anarcat/Nokia N900/.sounds/mp3-clone/.git/annex/objects/cec/e45/SHA256E-s3547512--6d0b48b144ba58cf649134c7b4d6597f4e0c5f319302f1c109d0967f22af607a.mp3: createDirectory: resource exhausted (No space left on device) -... and leaves the repo in an inconsistent state again. +... and leaves the repo in an inconsistent state again. Also note that the above took over 2 hours of wall clock time before failing. ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)