From cc674145c99b3b8f25c7afe46a6e9826c9e816bb Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" Date: Tue, 2 Dec 2014 01:32:34 +0000 Subject: [PATCH 01/10] Added a comment: I finally solved it --- ...mment_2_65d007284287e709a8f6f07dd8630f15._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/forum/Bare_repo_on_USB_drive_not_providing_files/comment_2_65d007284287e709a8f6f07dd8630f15._comment diff --git a/doc/forum/Bare_repo_on_USB_drive_not_providing_files/comment_2_65d007284287e709a8f6f07dd8630f15._comment b/doc/forum/Bare_repo_on_USB_drive_not_providing_files/comment_2_65d007284287e709a8f6f07dd8630f15._comment new file mode 100644 index 0000000000..018d69afdb --- /dev/null +++ b/doc/forum/Bare_repo_on_USB_drive_not_providing_files/comment_2_65d007284287e709a8f6f07dd8630f15._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" + nickname="Juan" + subject="I finally solved it" + date="2014-12-02T01:32:34Z" + content=""" +I fnally made it work. I tried git-annex sync wihtout luck. What tricked me was the size of the bare repo, it made me thought that it had the files. However after I've made a git annex get on the bare repo it got all the files and after that everthing worked as expected. +So, if I don't get you wrong, it is safer to use a bare repo on the USB drive? +Thanks for the help. +Best regards, + Juan +"""]] From 312754686b546a4ac15296cb228709b79fc17254 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" Date: Tue, 2 Dec 2014 01:48:38 +0000 Subject: [PATCH 02/10] Added a comment: I figured it out --- ...ent_2_6411aa3e6f5c1515845f3223bbcdabf1._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/failing_to_add_an_usb_drive_made_me_lose_all_symlinks/comment_2_6411aa3e6f5c1515845f3223bbcdabf1._comment diff --git a/doc/forum/failing_to_add_an_usb_drive_made_me_lose_all_symlinks/comment_2_6411aa3e6f5c1515845f3223bbcdabf1._comment b/doc/forum/failing_to_add_an_usb_drive_made_me_lose_all_symlinks/comment_2_6411aa3e6f5c1515845f3223bbcdabf1._comment new file mode 100644 index 0000000000..6e9c75aaf7 --- /dev/null +++ b/doc/forum/failing_to_add_an_usb_drive_made_me_lose_all_symlinks/comment_2_6411aa3e6f5c1515845f3223bbcdabf1._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" + nickname="Juan" + subject="I figured it out" + date="2014-12-02T01:48:38Z" + content=""" +I'm not new to git, and I perfectly know how to revert commits, however, I was confused about how git annex and git play together. In particular I tried to use it as a black box with the assistant and that was a bad idea. +After adding the usb drive as remote with the assitant, all symlinks got deleted. However, doing a checkout to the commit that messed up everything I got thing back to normal. +Sadly, your message arrived a couple of hours late, I could have saved me a lot of time. +Thanks for taking the time to answer. +Sorry for the previous rant. +Best regards, + Juan +"""]] From a288d821d2edce65aa55a1d32f2b5a3dfd1111c7 Mon Sep 17 00:00:00 2001 From: vho Date: Tue, 2 Dec 2014 09:59:20 +0000 Subject: [PATCH 03/10] Added a comment: Still stuck --- ..._2ae0c755f5a0bf5c93afe5e081fcb915._comment | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/repair_stuck_on_ls-tree_command/comment_2_2ae0c755f5a0bf5c93afe5e081fcb915._comment diff --git a/doc/forum/repair_stuck_on_ls-tree_command/comment_2_2ae0c755f5a0bf5c93afe5e081fcb915._comment b/doc/forum/repair_stuck_on_ls-tree_command/comment_2_2ae0c755f5a0bf5c93afe5e081fcb915._comment new file mode 100644 index 0000000000..da2f90797a --- /dev/null +++ b/doc/forum/repair_stuck_on_ls-tree_command/comment_2_2ae0c755f5a0bf5c93afe5e081fcb915._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="vho" + subject="Still stuck" + date="2014-12-02T09:59:20Z" + content=""" +vincent@berlioz:~/photos2$ git config --global pack.packSizeLimit 100m +vincent@berlioz:~/photos2$ git config --global pack.windowMemory 100m +vincent@berlioz:~/photos2$ git config --global pack.threads 1 +vincent@berlioz:~/photos2$ time git gc +error: pack-objects died of signal 9 +error: failed to run repack + +real 21m29.451s +user 1m31.414s +sys 0m9.141s + +:( + +"""]] From c7d5b02007a70134972c7c3137d46956ba8427dd Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" Date: Tue, 2 Dec 2014 10:06:44 +0000 Subject: [PATCH 04/10] --- doc/forum/some_symlinks_left_in_direct_mode.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/forum/some_symlinks_left_in_direct_mode.mdwn diff --git a/doc/forum/some_symlinks_left_in_direct_mode.mdwn b/doc/forum/some_symlinks_left_in_direct_mode.mdwn new file mode 100644 index 0000000000..1f4e447ee0 --- /dev/null +++ b/doc/forum/some_symlinks_left_in_direct_mode.mdwn @@ -0,0 +1,5 @@ +Dear all, + I have a repository in direct mode which still has some symlinks pointing to .git/annex/objects. Is there a way to turn them back into regular files. I don't recall why this happen, I guess I started on indirect mode and after that I converted it to direct mode. +Thanks in advance. +Best regards, + Juan From 6b6abfd9fdb9983c4b66ebc15865b457654f93c7 Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 2 Dec 2014 17:05:01 +0000 Subject: [PATCH 05/10] --- ...ssible_to_use_ssh_hosts_from_.ssh__47__config.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn diff --git a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn new file mode 100644 index 0000000000..bb733516ab --- /dev/null +++ b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn @@ -0,0 +1,11 @@ +I am using a ssh-host configured in .ssh/config in a corporate-environment like this: + +Host home + Hostname 1.2.3.4 + Port 443 + ProxyCommand corkscrew proxy.fqdn 8080 %h %p ~/.authfile + # http://www.agroman.net/corkscrew/ + +I now want to be able to add this host as a remote repository, but don't have the ability to add it. A tunnel to localhost would be possible but then I would have to setup this portforwarding for git-annex separately every time it is started. + +Is it possible to use this predefined host, or add the possibility to configure git-annex like above? From e201d00d85b532d746ec62a509d1355bb8d0bf7b Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 2 Dec 2014 17:13:55 +0000 Subject: [PATCH 06/10] --- ...ible_to_use_ssh_hosts_from_.ssh__47__config.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn index bb733516ab..bb1422370b 100644 --- a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn +++ b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn @@ -1,3 +1,5 @@ +### Please describe the problem. + I am using a ssh-host configured in .ssh/config in a corporate-environment like this: Host home @@ -8,4 +10,15 @@ Host home I now want to be able to add this host as a remote repository, but don't have the ability to add it. A tunnel to localhost would be possible but then I would have to setup this portforwarding for git-annex separately every time it is started. +### What steps will reproduce the problem? + +Add a remote host that is only reachable through a proxy. + +### What version of git-annex are you using? On what operating system? + +gentoo +git-annex-5.20141125 {android androidsplice +assistant +cryptohash +dbus +desktop-notify +dns doc ekg +feed +inotify +pairing +production +quvi +s3 +tahoe +tdfa +testsuite +webapp +webapp-secure +webdav +xmpp} + + + Is it possible to use this predefined host, or add the possibility to configure git-annex like above? From e82223a71fe8e47fadac59b6ba57333d0cb2d8e1 Mon Sep 17 00:00:00 2001 From: "http://jamestechnotes.com/" Date: Tue, 2 Dec 2014 17:15:14 +0000 Subject: [PATCH 07/10] --- doc/forum/metadata_limits.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/metadata_limits.mdwn diff --git a/doc/forum/metadata_limits.mdwn b/doc/forum/metadata_limits.mdwn new file mode 100644 index 0000000000..523db70d85 --- /dev/null +++ b/doc/forum/metadata_limits.mdwn @@ -0,0 +1,10 @@ +Hello, + +I was wondering what `The metadata values can contain absolutely anything you like -- but you're recommended to keep it simple and reasonably short.` listed on the [[metadata]] page really means? + + +Here is my use case (which is part of a larger solution)... + +I've been storing my photos in git annex for a while (years perhaps), I (or actually the wife) tried to find one and couldn't, so I'm thinking I need to add metadata (Tags and captions, etc) to each picture. I was looking for ways to do so. I was actually considering using gthumb or shotwell or similar to create the tags and somehow pull that out and associate it with the file (either with a plugin or program) and then sort out how to distribute the metadata with the pics. The git annex metadata seems like a reasonable solution for keeping metadata with the pictures. The question is in this case, how long can the text in say a caption tag before git-annex has problems? I could probably do something like caption- to handle really long captions, but then captions are short by definition, so perhaps I should say description instead. And for this particular use case, I am aware this doesn't solve the problem of actually creating the data, just trying to sort out if get annex metadata to the right solution to tie the metadata to a pic, err file. + + From 571f5e37dab1c173d1113c11e378ec3d38718a1f Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 2 Dec 2014 17:16:15 +0000 Subject: [PATCH 08/10] --- ...ossible_to_use_ssh_hosts_from_.ssh__47__config.mdwn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn index bb1422370b..81f1ed3ef1 100644 --- a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn +++ b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn @@ -2,11 +2,13 @@ I am using a ssh-host configured in .ssh/config in a corporate-environment like this: -Host home - Hostname 1.2.3.4 - Port 443 - ProxyCommand corkscrew proxy.fqdn 8080 %h %p ~/.authfile +[[!format sh """ + Host home + Hostname 1.2.3.4 + Port 443 + ProxyCommand corkscrew proxy.fqdn 8080 %h %p ~/.authfile # http://www.agroman.net/corkscrew/ +"""]] I now want to be able to add this host as a remote repository, but don't have the ability to add it. A tunnel to localhost would be possible but then I would have to setup this portforwarding for git-annex separately every time it is started. From d1896040638d99d2894ec0d3c9b42cbc25553554 Mon Sep 17 00:00:00 2001 From: "http://jamestechnotes.com/" Date: Tue, 2 Dec 2014 17:17:23 +0000 Subject: [PATCH 09/10] --- doc/users/james.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/james.mdwn diff --git a/doc/users/james.mdwn b/doc/users/james.mdwn new file mode 100644 index 0000000000..4dc6223870 --- /dev/null +++ b/doc/users/james.mdwn @@ -0,0 +1 @@ +hello, I am [[James Richardson|http://jamestechnotes.com/]]. From ebd1e6ae617f0bd020533f2a2d6a86794e2416cb Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 2 Dec 2014 17:19:11 +0000 Subject: [PATCH 10/10] --- ...ould_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn index 81f1ed3ef1..d016038bc1 100644 --- a/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn +++ b/doc/bugs/should_be_possible_to_use_ssh_hosts_from_.ssh__47__config.mdwn @@ -19,7 +19,7 @@ Add a remote host that is only reachable through a proxy. ### What version of git-annex are you using? On what operating system? gentoo -git-annex-5.20141125 {android androidsplice +assistant +cryptohash +dbus +desktop-notify +dns doc ekg +feed +inotify +pairing +production +quvi +s3 +tahoe +tdfa +testsuite +webapp +webapp-secure +webdav +xmpp} +git-annex-5.20141125 {+assistant +cryptohash +dbus +desktop-notify +dns +feed +inotify +pairing +production +quvi +s3 +tahoe +tdfa +testsuite +webapp +webapp-secure +webdav +xmpp}