From a0a39960ab2a78e8217922c1b3ee7d171d01bd10 Mon Sep 17 00:00:00 2001 From: "https://openid.stackexchange.com/user/7891307e-4b76-4697-8e71-083669c26e9f" Date: Mon, 15 Sep 2014 18:54:36 +0000 Subject: [PATCH 1/5] Added a comment: quvi in .gitattributes --- .../comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment diff --git a/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment b/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment new file mode 100644 index 0000000000..ba8815f91d --- /dev/null +++ b/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://openid.stackexchange.com/user/7891307e-4b76-4697-8e71-083669c26e9f" + nickname="MichaelK" + subject="quvi in .gitattributes" + date="2014-09-15T18:54:36Z" + content=""" +Is there a way to put something like `* annex.quvi-options = -f best` in `.gitattributes`? When trying to, I get ` is not a valid attribute name: .gitattributes:2`. +"""]] From d74a4db48f9050d8cd3cec2e41c8f1b9103b6f12 Mon Sep 17 00:00:00 2001 From: "https://openid.stackexchange.com/user/7891307e-4b76-4697-8e71-083669c26e9f" Date: Mon, 15 Sep 2014 19:08:11 +0000 Subject: [PATCH 2/5] removed --- .../comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment diff --git a/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment b/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment deleted file mode 100644 index ba8815f91d..0000000000 --- a/doc/tips/using_the_web_as_a_special_remote/comment_8_d0c0d5dfbe3f17f19226bb9ac286eeab._comment +++ /dev/null @@ -1,8 +0,0 @@ -[[!comment format=mdwn - username="https://openid.stackexchange.com/user/7891307e-4b76-4697-8e71-083669c26e9f" - nickname="MichaelK" - subject="quvi in .gitattributes" - date="2014-09-15T18:54:36Z" - content=""" -Is there a way to put something like `* annex.quvi-options = -f best` in `.gitattributes`? When trying to, I get ` is not a valid attribute name: .gitattributes:2`. -"""]] From 12df592a0371725b772671e6eda0c7e9b5335cac Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmfEGTjv4GsWkSG2lpuBitRDxVkml7yEQg" Date: Tue, 16 Sep 2014 02:16:28 +0000 Subject: [PATCH 3/5] Added a comment: Installing debs --- ...mment_5_4aea55dc5b24d84e0953382ccfea1a01._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/install/fromscratch/comment_5_4aea55dc5b24d84e0953382ccfea1a01._comment diff --git a/doc/install/fromscratch/comment_5_4aea55dc5b24d84e0953382ccfea1a01._comment b/doc/install/fromscratch/comment_5_4aea55dc5b24d84e0953382ccfea1a01._comment new file mode 100644 index 0000000000..c14b75bc08 --- /dev/null +++ b/doc/install/fromscratch/comment_5_4aea55dc5b24d84e0953382ccfea1a01._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmfEGTjv4GsWkSG2lpuBitRDxVkml7yEQg" + nickname="Britt" + subject="Installing debs" + date="2014-09-16T02:16:28Z" + content=""" +@azul - the problem with installing dependencies from apt-get is that the Ubuntu haskell packages are rather old. It shouldn't be this way (and it has gotten a LOT better - I suggest installing the newest version of the Haskell Platform that you can), but often cabal will complain about a package it is unable to install because it failed on the install of that package's dependencies. You should try to cabal install $FAILED_DEPENDENCY (not an actual env variable), and you will often get more informative error messages - some packages require non-haskell dependencies (take gtk3, for instance) which cabal doesn't know how to handle at this point, because that would require some cross platform foo (cabal install runs on Windows and OSX, which don't have native package managers at all). + +@Paul - It looks like you ran into a bug, because http-client no longer depends on network>=2.6, it now can take network 2.4 - 2.6 or 2.6 or greater. If you try again it should work. + +Please don't be put off by haskell because of things like this - git annex is a very large and complicated project, and developing on large projects such as this pretty much require you to have pretty recent versions of all haskell packages. I really suggest you take a look at this book http://learnyouahaskell.com/introduction. Haskell is a beautiful language and it doesn't have to be esoteric, academic, or difficult at all. It's obvious since you are attempting to build this from source that you are either interested in haskell or you are only interested in the development of git-annex. Either way, it would behoove you to read that book. It is short, full of great examples, and it even has pleasant illustrations. It may look like a children's book, but by the end of it you will know how to use all of the major monads (you may not know what a monad is, but that isn't really that important anyway - you just need to know how they are used). +"""]] From e32a39c12dcfbfa72c60540001f0ac0742811f89 Mon Sep 17 00:00:00 2001 From: Petter_petterson Date: Tue, 16 Sep 2014 08:13:59 +0000 Subject: [PATCH 4/5] Added a comment --- ..._5a11c45f92bae1328a5120945bee1fa0._comment | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 doc/forum/How_do_I_sync_files_from_mobile_to_a_repo__63__/comment_3_5a11c45f92bae1328a5120945bee1fa0._comment diff --git a/doc/forum/How_do_I_sync_files_from_mobile_to_a_repo__63__/comment_3_5a11c45f92bae1328a5120945bee1fa0._comment b/doc/forum/How_do_I_sync_files_from_mobile_to_a_repo__63__/comment_3_5a11c45f92bae1328a5120945bee1fa0._comment new file mode 100644 index 0000000000..8a9f6cd181 --- /dev/null +++ b/doc/forum/How_do_I_sync_files_from_mobile_to_a_repo__63__/comment_3_5a11c45f92bae1328a5120945bee1fa0._comment @@ -0,0 +1,36 @@ +[[!comment format=mdwn + username="Petter_petterson" + ip="89.160.15.173" + subject="comment 3" + date="2014-09-16T08:13:59Z" + content=""" +Thanks Justin, but that wont work. Even pointing out a normal, non-bare repo and then adding it as a ssh remote will convert it into a bare repo. I confirmed that, and then I read this post: + + http://git-annex.branchable.com/forum/Local_and_remote_in_direct_mode/ + +that states that +> The \"Remote server using ssh\" option in the webapp is intended to set up a bare git repository on a server, not a non-bare git repository on a client.\" + +I even tried to do + git remote add B ssh://machineB:/~/annex +but to no avail, the created annex on machine B becomes a bare repo. + +The only way to do it for me was to do the following, +Assume my cellphone is device A, and my desktop is device B: + +On machine B: + + cd ~/DCIM + git init + git annex init \"B\" + git annex direct + echo '*/5 * * * * * cd ~/DCIM; git annex sync' > crontab + +On machine A: + + git clone ssh://user@machineB:/home/user/DCIM + git annex sync + git annex webapp + +now pictures are synced to the computer in direct, non-bare format every 5 minutes. I have spent literally days on this and now I finally nailed it in a crude but working fashion. +"""]] From c025e4adfb09e7a4b15ef7acb6085f2eeb9bea04 Mon Sep 17 00:00:00 2001 From: Petter_petterson Date: Tue, 16 Sep 2014 08:15:05 +0000 Subject: [PATCH 5/5] Added a comment --- .../comment_2_90eeb2bffdb2db8032f9a0eac630ed56._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Local_and_remote_in_direct_mode/comment_2_90eeb2bffdb2db8032f9a0eac630ed56._comment diff --git a/doc/forum/Local_and_remote_in_direct_mode/comment_2_90eeb2bffdb2db8032f9a0eac630ed56._comment b/doc/forum/Local_and_remote_in_direct_mode/comment_2_90eeb2bffdb2db8032f9a0eac630ed56._comment new file mode 100644 index 0000000000..539ad1357f --- /dev/null +++ b/doc/forum/Local_and_remote_in_direct_mode/comment_2_90eeb2bffdb2db8032f9a0eac630ed56._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="Petter_petterson" + ip="89.160.15.173" + subject="comment 2" + date="2014-09-16T08:15:05Z" + content=""" +Doing git remote add B ssh://machineB:/~/annex still makes the repository on machineB a bare one, just try it and check git config -l | grep core.bare... +"""]]