From 66d230129163567e59a7092f31722ee7b23e621b Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 7 Aug 2013 16:27:21 +0000 Subject: [PATCH 01/13] Added a comment --- ...comment_1_35e5a963b9e58ed7773dfcb884f8ecbd._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Can_we_have_remotes_that_aren__39__t_tracked__63___/comment_1_35e5a963b9e58ed7773dfcb884f8ecbd._comment diff --git a/doc/forum/Can_we_have_remotes_that_aren__39__t_tracked__63___/comment_1_35e5a963b9e58ed7773dfcb884f8ecbd._comment b/doc/forum/Can_we_have_remotes_that_aren__39__t_tracked__63___/comment_1_35e5a963b9e58ed7773dfcb884f8ecbd._comment new file mode 100644 index 0000000000..955c256ca9 --- /dev/null +++ b/doc/forum/Can_we_have_remotes_that_aren__39__t_tracked__63___/comment_1_35e5a963b9e58ed7773dfcb884f8ecbd._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="2001:4978:f:21a::2" + subject="comment 1" + date="2013-08-07T16:27:21Z" + content=""" +This seems like a reasonable request, so I've opened [[todo/untracked_remotes]] + +I will note that if you know the annex.uuid of the previous AAA repository, you can make the new one use that same uuid, just `git config annex.uuid $UUID`. (`git annex fsck --fast` would be a good idea after doing that.) +"""]] From d8a259dfe4e53340ce0de6700c7f76d61ab22639 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 7 Aug 2013 16:31:30 +0000 Subject: [PATCH 02/13] Added a comment --- ...ment_12_b93ca271dffca3f948645d3e1326c1d9._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/install/cabal/comment_12_b93ca271dffca3f948645d3e1326c1d9._comment diff --git a/doc/install/cabal/comment_12_b93ca271dffca3f948645d3e1326c1d9._comment b/doc/install/cabal/comment_12_b93ca271dffca3f948645d3e1326c1d9._comment new file mode 100644 index 0000000000..8d9c97898f --- /dev/null +++ b/doc/install/cabal/comment_12_b93ca271dffca3f948645d3e1326c1d9._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="2001:4978:f:21a::2" + subject="comment 12" + date="2013-08-07T16:31:30Z" + content=""" +The Linux standalone builds for i386 and amd64 will not work on Arm systems. + +There are builds of git-annex for arm in eg, Debian. You should be able to use one of those if this system is running Debian. You may need to upgrade to eg, Debian stable, which includes git-annex. + +It looks like you have an old and/or broken GHC compiler too. You could upgrade that to a newer version (eg from Debian stable) and build it that way, but it seems like the long way around if you have a Debian system there. +"""]] From 6bae820298c36cd5f029b3173d070f153ada619e Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 7 Aug 2013 16:34:18 +0000 Subject: [PATCH 03/13] Added a comment --- .../comment_1_f26ba569e715fe69b6de3093930362ee._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/unknown_response_from_git_cat-file/comment_1_f26ba569e715fe69b6de3093930362ee._comment diff --git a/doc/forum/unknown_response_from_git_cat-file/comment_1_f26ba569e715fe69b6de3093930362ee._comment b/doc/forum/unknown_response_from_git_cat-file/comment_1_f26ba569e715fe69b6de3093930362ee._comment new file mode 100644 index 0000000000..0ddef17af4 --- /dev/null +++ b/doc/forum/unknown_response_from_git_cat-file/comment_1_f26ba569e715fe69b6de3093930362ee._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="2001:4978:f:21a::2" + subject="comment 1" + date="2013-08-07T16:34:18Z" + content=""" +This is a bug in the 1.8.4 pre-release version of git. It will be fixed in the 1.8.4 release or another pre-release. git-annex version 4.20130802 has a workaround for this problem. +"""]] From f872dd4cefa0e38b5512cf6804c8d9edf33950d6 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" Date: Wed, 7 Aug 2013 22:33:50 +0000 Subject: [PATCH 04/13] Added a comment --- ..._1993cfb37f165bd8c55f6a4aa673bb88._comment | 132 ++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment diff --git a/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment b/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment new file mode 100644 index 0000000000..ad72a1b875 --- /dev/null +++ b/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment @@ -0,0 +1,132 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" + nickname="Matt" + subject="comment 2" + date="2013-08-07T22:33:49Z" + content=""" +Hi, + +There's all sorts of weirdness no uuid for the final remote in .git/config. Odd missing letter at front of preferred contents uuid in git annex vicfg and spurious repos. Everything seems to be working okay though...excepting the UI in progress bit. + +## git config + +

+[core]
+	repositoryformatversion = 0
+	filemode = true
+	bare = false
+	logallrefupdates = true
+	ignorecase = true
+	precomposeunicode = false
+[annex]
+	uuid = 972ba0fb-cf1e-4a37-8748-d9cc840efd92
+	version = 4
+	direct = true
+	delayadd = 2
+	diskreserve = 1 megabyte
+	numcopies = 1
+	debug = false
+#[gc]
+#	auto = 0
+[remote \"dancingfrog.hopto.org_git_current_transfer\"]
+	url = ssh://matt@dancingfrog.hopto.org/~/git/current_transfer/
+	fetch = +refs/heads/*:refs/remotes/dancingfrog.hopto.org_git_current_transfer/*
+	annex-uuid = fcedc155-fca2-484b-b12d-b129d3324fd8
+	annex-cost = 100.0
+	annex-sync = true
+[remote \"mattford63\"]
+	url = xmpp::mattford63@gmail.com
+	fetch = +refs/heads/*:refs/remotes/mattford63/*
+	annex-uuid = 88733342-45ef-420f-8f1b-9a5ed8d8e070
+[remote \"10.23.33.69_current\"]
+	url = ssh://matt@git-annex-10.23.33.69-matt_current/~/current/
+	fetch = +refs/heads/*:refs/remotes/10.23.33.69_current/*
+	annex-cost = 175.0
+	annex-ignore = false
+
+ +## git-annex-status + +

+supported backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL
+supported remote types: git S3 bup directory rsync web webdav glacier hook
+repository mode: direct
+trusted repositories: ssh: connect to host 10.23.33.69 port 22: Operation timed out
+ssh: connect to host 10.23.33.69 port 22: No route to host
+fatal: Could not read from remote repository.
+
+Please make sure you have the correct access rights
+and the repository exists.
+0
+semitrusted repositories: 4
+	00000000-0000-0000-0000-000000000001 -- web (What's this)
+ 	88733342-45ef-420f-8f1b-9a5ed8d8e070 -- mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current)
+ 	972ba0fb-cf1e-4a37-8748-d9cc840efd92 -- here (matt@Matts-Mac-Mini.local:~/current)
+ 	fcedc155-fca2-484b-b12d-b129d3324fd8 -- dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer)
+untrusted repositories: 0
+transfers in progress: none
+available local disk space: 229.37 gigabytes (+1 megabyte reserved)
+local annex keys: 665
+local annex size: 43.29 megabytes
+known annex keys: 286
+known annex size: 30.33 megabytes
+bloom filter size: 16 mebibytes (0.1% full)
+backend usage: 
+	SHA256E: 951
+
+ +## git annex vicfg + +

+# git-annex configuration
+#
+# Changes saved to this file will be recorded in the git-annex branch.
+#
+# Lines in this file have the format:
+#   setting uuid = value
+
+# Repository trust configuration
+# (Valid trust levels: trusted semitrusted untrusted dead)
+# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
+trust 88733342-45ef-420f-8f1b-9a5ed8d8e070 = semitrusted
+# (for Dead repo)
+trust 40da403e-6f74-4705-aae0-433aa656b55e = dead
+# (for web (What's this))
+#trust 00000000-0000-0000-0000-000000000001 = semitrusted
+# (for matt@Matts-Mac-Mini.local:~/current)
+#trust 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = semitrusted
+# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
+#trust fcedc155-fca2-484b-b12d-b129d3324fd8 = semitrusted
+
+# Repository groups
+# (Standard groups: client transfer backup incrementalbackup smallarchive archive source manual public u
+nwanted)
+# (Separate group names with spaces)
+# (for Dead repo)
+group 40da403e-6f74-4705-aae0-433aa656b55e =
+# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
+group 88733342-45ef-420f-8f1b-9a5ed8d8e070 = client
+# (for matt@Matts-Mac-Mini.local:~/current)
+group 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = client
+# (for )
+group ad58acea-cbbf-40fc-8eec-fa7759aad1fc = client
+# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
+group fcedc155-fca2-484b-b12d-b129d3324fd8 = transfer
+# (for web (What's this))
+#group 00000000-0000-0000-0000-000000000001 =
+
+# Repository preferred contents
+# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
+content fcedc155-fca2-484b-b12d-b129d3324fd8 =
+# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
+content 88733342-45ef-420f-8f1b-9a5ed8d8e070 = standard
+# (for matt@Matts-Mac-Mini.local:~/current)
+content 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = standard
+# (for )
+content cedc155-fca2-484b-b12d-b129d3324fd8 = standard
+# (for web (What's this))
+#content 00000000-0000-0000-0000-000000000001 =
+# (for Dead repo)
+#content 40da403e-6f74-4705-aae0-433aa656b55e =
+
+"""]] From 0517f9d011ce51df18f262feba52546293208fef Mon Sep 17 00:00:00 2001 From: konubinix Date: Thu, 8 Aug 2013 06:36:11 +0000 Subject: [PATCH 05/13] Added a comment: Git annexed files symlink are wrong when submodule is not in the same path --- ..._cacc91afcb1739dfca3a60590bb70356._comment | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment diff --git a/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment b/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment new file mode 100644 index 0000000000..1cae4ea985 --- /dev/null +++ b/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment @@ -0,0 +1,67 @@ +[[!comment format=mdwn + username="konubinix" + ip="82.243.233.186" + subject="Git annexed files symlink are wrong when submodule is not in the same path " + date="2013-08-08T06:36:10Z" + content=""" +Hi, + +First, thanks for the great tool that is git-annex! + +I have a problem with submodules when the git repository is not a submodule everywhere. + + $ git-annex version + git-annex version: 4.20130802 + ... + + $ git --version + git version 1.8.3.2 + +I try to have a repository has a submodule of another. + + # creating the master repository + mkdir annex_master + cd annex_master/ + git init + # hack: adding a file to create the master branch + touch start + git add start + git commit -m \"start\" + cd .. + # create another repository + mkdir annex_sub + cd annex_sub/ + git init + # hack: adding a file to create the master branch + touch start + git add start + git commit -m \"start\" + # it is a annexed repository + git annex init sub + # add the other repository as submodule of the master one + cd ../annex_master/ + git submodule add ../annex_sub/ module + cd module/ + git annex init sub_module + git annex sync origin + # add an annexed file + echo test > test + git annex add + git annex sync + # go back to the origin repository + cd ../../annex_sub/ + git annex sync + ls -l + +This returns +test -> ../.git/modules/module/annex/objects/w8/pv/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 + +Actually, the file committed is correct. But the fact it points to '../.git/modules/module/...' makes the link work only if the repository is also a submodule and if this submodule is also located in the modules folder in the parent git repository. + +I would expect, since this repository is not an annex: +test -> .git/annex/objects/w8/pv/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 + +Do you think that is possible? + +Thanks. +"""]] From 4cbbad2e719b9c97a9348e8b563947f963363740 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" Date: Thu, 8 Aug 2013 08:29:34 +0000 Subject: [PATCH 06/13] removed --- ..._1993cfb37f165bd8c55f6a4aa673bb88._comment | 132 ------------------ 1 file changed, 132 deletions(-) delete mode 100644 doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment diff --git a/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment b/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment deleted file mode 100644 index ad72a1b875..0000000000 --- a/doc/bugs/unfinished_repos_in_webapp/comment_2_1993cfb37f165bd8c55f6a4aa673bb88._comment +++ /dev/null @@ -1,132 +0,0 @@ -[[!comment format=mdwn - username="https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" - nickname="Matt" - subject="comment 2" - date="2013-08-07T22:33:49Z" - content=""" -Hi, - -There's all sorts of weirdness no uuid for the final remote in .git/config. Odd missing letter at front of preferred contents uuid in git annex vicfg and spurious repos. Everything seems to be working okay though...excepting the UI in progress bit. - -## git config - -

-[core]
-	repositoryformatversion = 0
-	filemode = true
-	bare = false
-	logallrefupdates = true
-	ignorecase = true
-	precomposeunicode = false
-[annex]
-	uuid = 972ba0fb-cf1e-4a37-8748-d9cc840efd92
-	version = 4
-	direct = true
-	delayadd = 2
-	diskreserve = 1 megabyte
-	numcopies = 1
-	debug = false
-#[gc]
-#	auto = 0
-[remote \"dancingfrog.hopto.org_git_current_transfer\"]
-	url = ssh://matt@dancingfrog.hopto.org/~/git/current_transfer/
-	fetch = +refs/heads/*:refs/remotes/dancingfrog.hopto.org_git_current_transfer/*
-	annex-uuid = fcedc155-fca2-484b-b12d-b129d3324fd8
-	annex-cost = 100.0
-	annex-sync = true
-[remote \"mattford63\"]
-	url = xmpp::mattford63@gmail.com
-	fetch = +refs/heads/*:refs/remotes/mattford63/*
-	annex-uuid = 88733342-45ef-420f-8f1b-9a5ed8d8e070
-[remote \"10.23.33.69_current\"]
-	url = ssh://matt@git-annex-10.23.33.69-matt_current/~/current/
-	fetch = +refs/heads/*:refs/remotes/10.23.33.69_current/*
-	annex-cost = 175.0
-	annex-ignore = false
-
- -## git-annex-status - -

-supported backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL
-supported remote types: git S3 bup directory rsync web webdav glacier hook
-repository mode: direct
-trusted repositories: ssh: connect to host 10.23.33.69 port 22: Operation timed out
-ssh: connect to host 10.23.33.69 port 22: No route to host
-fatal: Could not read from remote repository.
-
-Please make sure you have the correct access rights
-and the repository exists.
-0
-semitrusted repositories: 4
-	00000000-0000-0000-0000-000000000001 -- web (What's this)
- 	88733342-45ef-420f-8f1b-9a5ed8d8e070 -- mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current)
- 	972ba0fb-cf1e-4a37-8748-d9cc840efd92 -- here (matt@Matts-Mac-Mini.local:~/current)
- 	fcedc155-fca2-484b-b12d-b129d3324fd8 -- dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer)
-untrusted repositories: 0
-transfers in progress: none
-available local disk space: 229.37 gigabytes (+1 megabyte reserved)
-local annex keys: 665
-local annex size: 43.29 megabytes
-known annex keys: 286
-known annex size: 30.33 megabytes
-bloom filter size: 16 mebibytes (0.1% full)
-backend usage: 
-	SHA256E: 951
-
- -## git annex vicfg - -

-# git-annex configuration
-#
-# Changes saved to this file will be recorded in the git-annex branch.
-#
-# Lines in this file have the format:
-#   setting uuid = value
-
-# Repository trust configuration
-# (Valid trust levels: trusted semitrusted untrusted dead)
-# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
-trust 88733342-45ef-420f-8f1b-9a5ed8d8e070 = semitrusted
-# (for Dead repo)
-trust 40da403e-6f74-4705-aae0-433aa656b55e = dead
-# (for web (What's this))
-#trust 00000000-0000-0000-0000-000000000001 = semitrusted
-# (for matt@Matts-Mac-Mini.local:~/current)
-#trust 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = semitrusted
-# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
-#trust fcedc155-fca2-484b-b12d-b129d3324fd8 = semitrusted
-
-# Repository groups
-# (Standard groups: client transfer backup incrementalbackup smallarchive archive source manual public u
-nwanted)
-# (Separate group names with spaces)
-# (for Dead repo)
-group 40da403e-6f74-4705-aae0-433aa656b55e =
-# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
-group 88733342-45ef-420f-8f1b-9a5ed8d8e070 = client
-# (for matt@Matts-Mac-Mini.local:~/current)
-group 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = client
-# (for )
-group ad58acea-cbbf-40fc-8eec-fa7759aad1fc = client
-# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
-group fcedc155-fca2-484b-b12d-b129d3324fd8 = transfer
-# (for web (What's this))
-#group 00000000-0000-0000-0000-000000000001 =
-
-# Repository preferred contents
-# (for dancingfrog.hopto.org_git_current_transfer (matt@Matts-Mac-Mini.local:~/git/current_transfer))
-content fcedc155-fca2-484b-b12d-b129d3324fd8 =
-# (for mattford63 (matt@descartes.rss.mhs.man.ac.uk:~/current))
-content 88733342-45ef-420f-8f1b-9a5ed8d8e070 = standard
-# (for matt@Matts-Mac-Mini.local:~/current)
-content 972ba0fb-cf1e-4a37-8748-d9cc840efd92 = standard
-# (for )
-content cedc155-fca2-484b-b12d-b129d3324fd8 = standard
-# (for web (What's this))
-#content 00000000-0000-0000-0000-000000000001 =
-# (for Dead repo)
-#content 40da403e-6f74-4705-aae0-433aa656b55e =
-
-"""]] From 6ab970f357d14db2442459a0ce415c7b57375c79 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" Date: Thu, 8 Aug 2013 08:33:32 +0000 Subject: [PATCH 07/13] Added a comment --- ...comment_2_ba0fbff536b1d067c4098db401dc49f2._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/bugs/unfinished_repos_in_webapp/comment_2_ba0fbff536b1d067c4098db401dc49f2._comment diff --git a/doc/bugs/unfinished_repos_in_webapp/comment_2_ba0fbff536b1d067c4098db401dc49f2._comment b/doc/bugs/unfinished_repos_in_webapp/comment_2_ba0fbff536b1d067c4098db401dc49f2._comment new file mode 100644 index 0000000000..8170a0175c --- /dev/null +++ b/doc/bugs/unfinished_repos_in_webapp/comment_2_ba0fbff536b1d067c4098db401dc49f2._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" + nickname="Matt" + subject="comment 2" + date="2013-08-08T08:33:32Z" + content=""" +Hi, I've sorted this now. The IP address of my laptop had changed on the local network. Fixing it then let the new fix fully work and the in-progress status of the bad repo went away. + +Is it right that in the UI I don't see the local LAN configured branch (which I setup for speed) - it all seems to come under the jabber account now and makes an appropriate choice? +"""]] From 910886e82b4a70d0165ad52679c601a702cb1437 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawniayrgSdVLUc3c6bf93VbO-_HT4hzxmyo" Date: Thu, 8 Aug 2013 12:22:28 +0000 Subject: [PATCH 08/13] Added a comment --- ...mment_3_fd554aa7d93117177784a29270ccf790._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/bugs/unfinished_repos_in_webapp/comment_3_fd554aa7d93117177784a29270ccf790._comment diff --git a/doc/bugs/unfinished_repos_in_webapp/comment_3_fd554aa7d93117177784a29270ccf790._comment b/doc/bugs/unfinished_repos_in_webapp/comment_3_fd554aa7d93117177784a29270ccf790._comment new file mode 100644 index 0000000000..cd21af0920 --- /dev/null +++ b/doc/bugs/unfinished_repos_in_webapp/comment_3_fd554aa7d93117177784a29270ccf790._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawniayrgSdVLUc3c6bf93VbO-_HT4hzxmyo" + nickname="Tobias" + subject="comment 3" + date="2013-08-08T12:22:28Z" + content=""" +I also see `unfinished repository` in the assistant, but only at git remotes which don't have git-annex installed (f.e. gitlab). annex-ignore is set to true: `git config remote.gitlab.annex-ignore true`. + +Clicking on `check status` says `Setting up this repository seems to have stalled! Make sure the remote system is available and retry` + +git-annex version: 4.20130802-g1452ac3 +"""]] From a820f2c23b3281a38edb271de3170b3efee81a68 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawniayrgSdVLUc3c6bf93VbO-_HT4hzxmyo" Date: Thu, 8 Aug 2013 19:05:09 +0000 Subject: [PATCH 09/13] Added a comment --- ..._71baea93f6caaf7b81a9ac00bee91e5e._comment | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 doc/forum/non-bare_repo_on_cloud_remote/comment_2_71baea93f6caaf7b81a9ac00bee91e5e._comment diff --git a/doc/forum/non-bare_repo_on_cloud_remote/comment_2_71baea93f6caaf7b81a9ac00bee91e5e._comment b/doc/forum/non-bare_repo_on_cloud_remote/comment_2_71baea93f6caaf7b81a9ac00bee91e5e._comment new file mode 100644 index 0000000000..145c57120c --- /dev/null +++ b/doc/forum/non-bare_repo_on_cloud_remote/comment_2_71baea93f6caaf7b81a9ac00bee91e5e._comment @@ -0,0 +1,67 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawniayrgSdVLUc3c6bf93VbO-_HT4hzxmyo" + nickname="Tobias" + subject="comment 2" + date="2013-08-08T19:05:07Z" + content=""" +Seems that I don't get it... Here is what I did: + +First, I create a new repo with the assistant on `user@laptop ~/temp/annex-test`, then: + + user@laptop ~/temp/annex-test % echo test1 > test1 + user@laptop ~/temp/annex-test % echo test2 > test2 + + user@server ~/tmp % mkdir annex-test + user@server ~/tmp % cd annex-test + user@server ~/tmp/annex-test % git init + Initialized empty Git repository in /home/tobru/tmp/annex-test/.git/ + user@server ~/tmp/annex-test % git annex init + init ok + (Recording state in git...) + user@server ~/tmp/annex-test % mv .git/hooks/post-update.sample .git/hooks/post-update + user@server ~/tmp/annex-test % cat .git/hooks/post-update + #!/bin/sh + # + # An example hook script to prepare a packed repository for use over + # dumb transports. + # + # To enable this hook, rename this file to \"post-update\". + + exec git update-server-info + user@server ~/tmp/annex-test % chmod +x .git/hooks/post-update + user@server ~/tmp/annex-test % echo '#!/bin/sh\ngit annex merge' > .git/hooks/post-receive + user@server ~/tmp/annex-test % chmod +x .git/hooks/post-receive + + user@laptop ~/temp/annex-test % git remote add server ssh://user@server/home/tobru/tmp/annex-test + user@laptop ~/temp/annex-test % git annex assistant --stop + user@laptop ~/temp/annex-test % git annex sync + commit + ok + pull server + warning: no common commits + remote: Counting objects: 5, done. + remote: Compressing objects: 100% (3/3), done. + remote: Total 5 (delta 1), reused 0 (delta 0) + Unpacking objects: 100% (5/5), done. + From ssh://server.tobru.local/home/tobru/tmp/annex-test + * [new branch] git-annex -> server/git-annex + ok + (merging server/git-annex into git-annex...) + (Recording state in git...) + push server + Counting objects: 27, done. + Delta compression using up to 4 threads. + Compressing objects: 100% (20/20), done. + Writing objects: 100% (25/25), 2.36 KiB, done. + Total 25 (delta 2), reused 0 (delta 0) + remote: merge git-annex (merging synced/git-annex into git-annex...) + remote: ok + To ssh://tobru@server.tobru.local/home/tobru/tmp/annex-test + * [new branch] git-annex -> synced/git-annex + * [new branch] master -> synced/master + ok + user@laptop ~/temp/annex-test % git annex assistant + +Now I expect the files `test1` and `test2` to be at `user@server ~/tmp/annex-test`. But they are not displayed. +What am I doing wrong? The main thing I wan't to achieve: Push the files from `laptop` to `server` without adding `laptop` as remote on the server. +"""]] From b9e98ae325f965dd4a33c7b90025cf45aaab64dc Mon Sep 17 00:00:00 2001 From: konubinix Date: Fri, 9 Aug 2013 06:10:26 +0000 Subject: [PATCH 10/13] Addition of the bug report --- ...hen_submodule_is_not_in_the_same_path.mdwn | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn diff --git a/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn b/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn new file mode 100644 index 0000000000..7c63c68ad3 --- /dev/null +++ b/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn @@ -0,0 +1,62 @@ +Hi, +I already have told about that in a comment here , but I am not sure it will be seen. + +Then here is an official bug report. +### Please describe the problem. + +I have a problem with submodules when the git repository is not a submodule everywhere. + +For instance, if A is a git annexed repository and B another git repository. If B adds A as submodules. The symlinks added in A as submodule won't work in the original A. + +### What steps will reproduce the problem? + + # creating the master repository + mkdir annex_master + cd annex_master/ + git init + # hack: adding a file to create the master branch + touch start + git add start + git commit -m "start" + cd .. + # create another repository + mkdir annex_sub + cd annex_sub/ + git init + # hack: adding a file to create the master branch + touch start + git add start + git commit -m "start" + # it is a annexed repository + git annex init sub + # add the other repository as submodule of the master one + cd ../annex_master/ + git submodule add ../annex_sub/ module + cd module/ + git annex init sub_module + git annex sync origin + # add an annexed file + echo test > test + git annex add + git annex sync + # go back to the origin repository + cd ../../annex_sub/ + git annex sync + ls -l +This returns test -> ../.git/modules/module/annex/objects/w8/pv/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/SHA256E-s5--f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 + +Actually, the file committed is correct. But the fact it points to '../.git/modules/module/...' makes the link work only if the repository is also a submodule and if this submodule is also located in the modules folder in the parent git repository. + +### What version of git-annex are you using? On what operating system? + + $ git-annex version + git-annex version: 4.20130802 + ... + + $ git --version + git version 1.8.3.2 + + $ uname -a + Linux konixwork 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux + +### Please provide any additional information below. From 0cb925525552f27ef69fbacece28beb744aa1a07 Mon Sep 17 00:00:00 2001 From: konubinix Date: Fri, 9 Aug 2013 06:22:33 +0000 Subject: [PATCH 11/13] precision about an attempt of workaround --- ...symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn b/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn index 7c63c68ad3..3f58bd8896 100644 --- a/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn +++ b/doc/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path.mdwn @@ -47,6 +47,7 @@ This returns test -> ../.git/modules/module/annex/objects/w8/pv/SHA256E-s5--f2ca Actually, the file committed is correct. But the fact it points to '../.git/modules/module/...' makes the link work only if the repository is also a submodule and if this submodule is also located in the modules folder in the parent git repository. +I tried playing with making the repository direct and then indirect, hoping that would fix the symlinks, but it did not work. ### What version of git-annex are you using? On what operating system? $ git-annex version From 5cf5885895c18aa950db1023da48bb5d509f1dc9 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Fri, 9 Aug 2013 08:51:17 +0200 Subject: [PATCH 12/13] windows: bump missingh version in the autobuilder script Signed-off-by: Yury V. Zaytsev --- standalone/windows/build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index f62bc14a05..6b9cdd3ff5 100644 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -26,10 +26,12 @@ rm -f git-annex-installer.exe # for haskell libraries to link them with the cygwin library. cabal update || true -rm -rf MissingH-1.2.0.0 +MISSINGH_VERSION="1.2.0.1" + +rm -rf MissingH-${MISSINGH_VERSION} cabal unpack MissingH -cd MissingH-1.2.0.0 -withcyg patch -p1 <../standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch +cd MissingH-${MISSINGH_VERSION} +#withcyg patch -p1 <../standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch cabal install || true cd .. From 16c181f2578e39d06c2a75f03681b8cccbe15747 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Fri, 9 Aug 2013 09:39:24 +0200 Subject: [PATCH 13/13] windows: refresh missingh patch from https://github.com/jgoerzen/missingh/pull/14 Signed-off-by: Yury V. Zaytsev --- standalone/windows/build.sh | 2 +- ...nge-build-problem-in-jenkins-autobui.patch | 48 ------------ ...967426a14eb7e8978277ed4fa937f8e0c514.patch | 75 +++++++++++++++++++ 3 files changed, 76 insertions(+), 49 deletions(-) delete mode 100644 standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch create mode 100644 standalone/windows/haskell-patches/ccc5967426a14eb7e8978277ed4fa937f8e0c514.patch diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 6b9cdd3ff5..670b418d00 100644 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -31,7 +31,7 @@ MISSINGH_VERSION="1.2.0.1" rm -rf MissingH-${MISSINGH_VERSION} cabal unpack MissingH cd MissingH-${MISSINGH_VERSION} -#withcyg patch -p1 <../standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch +withcyg patch -p1 <../standalone/windows/haskell-patches/ccc5967426a14eb7e8978277ed4fa937f8e0c514.patch cabal install || true cd .. diff --git a/standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch b/standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch deleted file mode 100644 index be18ff23f6..0000000000 --- a/standalone/windows/haskell-patches/MissingH_1.2.0.0-0001-hack-around-strange-build-problem-in-jenkins-autobui.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 93876dea5befa576c1324e25dcf2135ae1705427 Mon Sep 17 00:00:00 2001 -From: Joey Hess -Date: Fri, 17 May 2013 13:04:56 -0400 -Subject: [PATCH] hack around strange build problem in jenkins autobuilder - -src\System\IO\WindowsCompat.hs:123:41: - Couldn't match expected type `System.Time.ClockTime' - with actual type `time-1.4:Data.Time.Clock.UTC.UTCTime' - In the first argument of `clockTimeToEpoch', namely `modct' - In the expression: clockTimeToEpoch modct - In an equation for `epochtime': epochtime = clockTimeToEpoch modct - -But it works on Windows here.. ---- - src/System/IO/WindowsCompat.hs | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -diff --git a/src/System/IO/WindowsCompat.hs b/src/System/IO/WindowsCompat.hs -index 473490d..0eea21b 100644 ---- a/src/System/IO/WindowsCompat.hs -+++ b/src/System/IO/WindowsCompat.hs -@@ -120,8 +119,10 @@ getFileStatus fp = - do isfile <- doesFileExist fp - isdir <- doesDirectoryExist fp - perms <- getPermissions fp -+ {- - modct <- getModificationTime fp -- let epochtime = clockTimeToEpoch modct -+ let epochtime = clockTimeToEpoch $ modct -+ -} - return $ FileStatusCompat {deviceID = -1, - fileID = -1, - fileMode = if isfile then regularFileMode -@@ -131,8 +132,8 @@ getFileStatus fp = - fileGroup = 0, - specialDeviceID = -1, - fileSize = 0, -- fixme: hFileSize? -- accessTime = fromInteger epochtime, -- modificationTime = fromInteger epochtime, -- statusChangeTime = fromInteger epochtime -+ accessTime = undefined, -- fromInteger epochtime, -+ modificationTime = undefined, -- fromInteger epochtime, -+ statusChangeTime = undefined -- fromInteger epochtime - } - #endif --- -1.8.3.rc1 - diff --git a/standalone/windows/haskell-patches/ccc5967426a14eb7e8978277ed4fa937f8e0c514.patch b/standalone/windows/haskell-patches/ccc5967426a14eb7e8978277ed4fa937f8e0c514.patch new file mode 100644 index 0000000000..02b6bd63d3 --- /dev/null +++ b/standalone/windows/haskell-patches/ccc5967426a14eb7e8978277ed4fa937f8e0c514.patch @@ -0,0 +1,75 @@ +From 017b26c0198d6982e47600b66235d01990e49fef Mon Sep 17 00:00:00 2001 +From: mvoidex +Date: Fri, 18 Jan 2013 15:22:03 +0400 +Subject: [PATCH 1/2] Fixed error (getModificationTime returns UTCTime, not + ClockTime) + +--- + src/System/IO/WindowsCompat.hs | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/System/IO/WindowsCompat.hs b/src/System/IO/WindowsCompat.hs +index d910dca..38820bb 100644 +--- a/src/System/IO/WindowsCompat.hs ++++ b/src/System/IO/WindowsCompat.hs +@@ -56,6 +56,8 @@ import System.IO.StatCompat + import System.Posix.Consts + import System.Time.Utils + import System.Directory ++import Data.Time ++import Data.Time.Clock.POSIX + + -- these types aren't defined here + +@@ -112,6 +114,9 @@ otherModes = 0o00007 + accessModes :: FileMode + accessModes = ownerModes .|. groupModes .|. otherModes + ++utcTimeToSeconds :: Num a => UTCTime -> a ++utcTimeToSeconds = fromInteger . floor . utcTimeToPOSIXSeconds ++ + ----------- stat + type FileStatus = FileStatusCompat + getFileStatus :: FilePath -> IO FileStatus +@@ -120,7 +125,7 @@ getFileStatus fp = + isdir <- doesDirectoryExist fp + perms <- getPermissions fp + modct <- getModificationTime fp +- let epochtime = clockTimeToEpoch modct ++ let epochtime = utcTimeToSeconds modct + return $ FileStatusCompat {deviceID = -1, + fileID = -1, + fileMode = if isfile then regularFileMode +-- +1.8.1.6 + + +From 6991e46b613fd929fd8e9bc49ae13c003a3b740c Mon Sep 17 00:00:00 2001 +From: Hamish Mackenzie +Date: Sun, 12 May 2013 18:08:16 +1200 +Subject: [PATCH 2/2] Fix for older versions of directory (where + getModificationTime still returns ClockTime) + +--- + src/System/IO/WindowsCompat.hs | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/System/IO/WindowsCompat.hs b/src/System/IO/WindowsCompat.hs +index 38820bb..8f7b476 100644 +--- a/src/System/IO/WindowsCompat.hs ++++ b/src/System/IO/WindowsCompat.hs +@@ -125,7 +125,11 @@ getFileStatus fp = + isdir <- doesDirectoryExist fp + perms <- getPermissions fp + modct <- getModificationTime fp ++#if MIN_VERSION_directory(1,2,0) + let epochtime = utcTimeToSeconds modct ++#else ++ let epochtime = clockTimeToEpoch modct ++#endif + return $ FileStatusCompat {deviceID = -1, + fileID = -1, + fileMode = if isfile then regularFileMode +-- +1.8.1.6 +