summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-14 12:37:58 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-14 12:37:58 -0400
commiteb4b68a8f4309817939491fb7545432e87817529 (patch)
tree19d0070bf72fa57b8a17dbafe40c7300cf0d02b3
parentd611c20fe039881461db7b76ca3155d10e9b6a1f (diff)
parent4912ff2d32e5db6d2adadb090a30a3f7eda37bf4 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/bugs/SSL_repos_does_not_show_up_in_Assistant/comment_2_2ad5098c5e2ac9b8651cb464adb974c1._comment8
-rw-r--r--doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos.mdwn41
2 files changed, 47 insertions, 2 deletions
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 000000000..0759fb777
--- /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.
+"""]]
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 126b52b08..b2ced628e 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,25 @@ Vous pouvez inspecter ce qui a été extrait avec 'git status'
et réessayer l'extraction avec 'git checkout -f HEAD'
</pre>
+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:
+
+<pre>
+$ 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)
+</pre>
+
+... 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)
Git-annex has been my bread and butter for a few months in the past