summaryrefslogtreecommitdiff
path: root/doc/bugs/submodule_path_problem
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-29 15:23:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-29 15:23:05 -0400
commit1f6cfecc972b121fa42ea80383183bbaccc2195a (patch)
tree0a450c4226f5e05c2a3597a9f520376de281fffe /doc/bugs/submodule_path_problem
parenta95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff)
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014. Command line used: for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/bugs/submodule_path_problem')
-rw-r--r--doc/bugs/submodule_path_problem/comment_1_69aec9207d2e9da4bc042d3f4963d80e._comment48
-rw-r--r--doc/bugs/submodule_path_problem/comment_2_53d9eb28cb70b51637470175a80ddf35._comment8
-rw-r--r--doc/bugs/submodule_path_problem/comment_3_aa5e0f99000a5b4988bccbb2ca28353b._comment20
-rw-r--r--doc/bugs/submodule_path_problem/comment_4_ab1508a5a04e2106aad5e7985775a6fa._comment8
-rw-r--r--doc/bugs/submodule_path_problem/comment_5_8c7539d1c11b81f5d46aa8e1c61745ae._comment14
-rw-r--r--doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment67
6 files changed, 0 insertions, 165 deletions
diff --git a/doc/bugs/submodule_path_problem/comment_1_69aec9207d2e9da4bc042d3f4963d80e._comment b/doc/bugs/submodule_path_problem/comment_1_69aec9207d2e9da4bc042d3f4963d80e._comment
deleted file mode 100644
index 1ff33e36a..000000000
--- a/doc/bugs/submodule_path_problem/comment_1_69aec9207d2e9da4bc042d3f4963d80e._comment
+++ /dev/null
@@ -1,48 +0,0 @@
-[[!comment format=mdwn
- username="https://www.google.com/accounts/o8/id?id=AItOawkywesyg6tKBZcmxJ2EMUO89DZL1LZ7Sng"
- nickname="Peter"
- subject="comment 1"
- date="2012-10-16T12:02:27Z"
- content="""
-Not quite there yet.
-
-git-annex init works now, but there is still a problem with paths:
-
-Using the same setup as previously, git-annex init now works:
-
- cd lib/submod
- git annex init
-
-But adding a file failes:
-
- git annex add big-file
-
-Output:
-
- add big-file (checksum...)
- git-annex: big-file: getFileStatus: does not exist (No such file or directory)
- failed
- (Recording state in git...)
- git-annex: add: 1 failed
-
-Debug:
-
-
-[2012-10-16 13:59:26 CEST] read: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"ls-files\",\"--others\",\"--exclude-standard\",\"-z\",\"--\",\"big-file\"]
-[2012-10-16 13:59:26 CEST] read: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"diff\",\"--name-only\",\"--diff-filter=T\",\"-z\",\"--\",\"big-file\"]
-add big-file [2012-10-16 13:59:26 CEST] chat: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"]
-(checksum...) [2012-10-16 13:59:26 CEST] chat: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"cat-file\",\"--batch\"]
-
-git-annex: big-file: getFileStatus: does not exist (No such file or directory)
-failed
-
- [2012-10-16 13:59:26 CEST] chat: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"hash-object\",\"-w\",\"--stdin-paths\"]
- [2012-10-16 13:59:26 CEST] feed: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"update-index\",\"-z\",\"--index-info\"]
- [2012-10-16 13:59:26 CEST] read: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
- (Recording state in git...)
- [2012-10-16 13:59:26 CEST] read: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"write-tree\"]
- [2012-10-16 13:59:26 CEST] chat: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"commit-tree\",\"ed2f98d7105deed7482b3dde43426c177b360131\",\"-p\",\"refs/heads/git-annex\"]
- [2012-10-16 13:59:26 CEST] call: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"update-ref\",\"refs/heads/git-annex\",\"df49e7bef8409dff450ce549c40f4ab429ea3144\"]
- [2012-10-16 13:59:26 CEST] chat: git [\"--git-dir=../../.git/modules/lib/submod\",\"--work-tree=/Users/ptx/tmp/test-annex/test/lib/submod\",\"cat-file\",\"--batch\"]
- git-annex: add: 1 failed
-"""]]
diff --git a/doc/bugs/submodule_path_problem/comment_2_53d9eb28cb70b51637470175a80ddf35._comment b/doc/bugs/submodule_path_problem/comment_2_53d9eb28cb70b51637470175a80ddf35._comment
deleted file mode 100644
index a60a096e8..000000000
--- a/doc/bugs/submodule_path_problem/comment_2_53d9eb28cb70b51637470175a80ddf35._comment
+++ /dev/null
@@ -1,8 +0,0 @@
-[[!comment format=mdwn
- username="http://joeyh.name/"
- ip="2001:4978:f:21a::2"
- subject="comment 2"
- date="2012-10-16T20:28:03Z"
- content="""
-Cute, it was making the wrong symlink and then noticed it was broken and reverted the add. At least my error unwind works! Anyway, fixed this too.
-"""]]
diff --git a/doc/bugs/submodule_path_problem/comment_3_aa5e0f99000a5b4988bccbb2ca28353b._comment b/doc/bugs/submodule_path_problem/comment_3_aa5e0f99000a5b4988bccbb2ca28353b._comment
deleted file mode 100644
index 3f446a777..000000000
--- a/doc/bugs/submodule_path_problem/comment_3_aa5e0f99000a5b4988bccbb2ca28353b._comment
+++ /dev/null
@@ -1,20 +0,0 @@
-[[!comment format=mdwn
- username="https://www.google.com/accounts/o8/id?id=AItOawkywesyg6tKBZcmxJ2EMUO89DZL1LZ7Sng"
- nickname="Peter"
- subject="comment 3"
- date="2012-10-17T11:41:54Z"
- content="""
-One step closer, but still not perfect:
-
- git annex add big-file
- > add big-file (checksum...) ok
- > (Recording state in git...)
-
- git commit -a -m \"Added file\"
- > git-annex: /Users/ptx/tmp/test-annex/test/.git/lib/submod: changeWorkingDirectory: does not exist (No such file or directory)
-
-So when applying the post-hook, git-annex is getting the wrong directory.
-
-`test/.git/lib/submod` should be `test/.git/modules/lib/submod`
-
-"""]]
diff --git a/doc/bugs/submodule_path_problem/comment_4_ab1508a5a04e2106aad5e7985775a6fa._comment b/doc/bugs/submodule_path_problem/comment_4_ab1508a5a04e2106aad5e7985775a6fa._comment
deleted file mode 100644
index c46eedf8e..000000000
--- a/doc/bugs/submodule_path_problem/comment_4_ab1508a5a04e2106aad5e7985775a6fa._comment
+++ /dev/null
@@ -1,8 +0,0 @@
-[[!comment format=mdwn
- username="http://joeyh.name/"
- ip="2001:4978:f:21a::2"
- subject="comment 4"
- date="2012-10-17T18:29:24Z"
- content="""
-Ok, fixed that.
-"""]]
diff --git a/doc/bugs/submodule_path_problem/comment_5_8c7539d1c11b81f5d46aa8e1c61745ae._comment b/doc/bugs/submodule_path_problem/comment_5_8c7539d1c11b81f5d46aa8e1c61745ae._comment
deleted file mode 100644
index 088517c5b..000000000
--- a/doc/bugs/submodule_path_problem/comment_5_8c7539d1c11b81f5d46aa8e1c61745ae._comment
+++ /dev/null
@@ -1,14 +0,0 @@
-[[!comment format=mdwn
- username="https://www.google.com/accounts/o8/id?id=AItOawkywesyg6tKBZcmxJ2EMUO89DZL1LZ7Sng"
- nickname="Peter"
- subject="comment 5"
- date="2012-11-08T10:32:26Z"
- content="""
-Great!
-
-Everything is working now, unfortunately the package in cabal and the prebuild linux packages are one day too old.
-
-Are you going to release a newer build soon?
-
-/ptx
-"""]]
diff --git a/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment b/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment
deleted file mode 100644
index 1cae4ea98..000000000
--- a/doc/bugs/submodule_path_problem/comment_6_cacc91afcb1739dfca3a60590bb70356._comment
+++ /dev/null
@@ -1,67 +0,0 @@
-[[!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.
-"""]]