summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_unused_--from_s3_doesn__39__t
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-04-19 13:46:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-04-19 13:55:29 -0400
commitdbfc00e2a6ad99200da35f75f889174cd7bfd195 (patch)
tree9d8a9d1353ab10376183c1bda881fface04b6fcb /doc/bugs/git-annex_unused_--from_s3_doesn__39__t
parent41b7950285ef1e91b80c441c2be68a1ef4d0d27c (diff)
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before Q3 2015. Command line used: for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --pretty=oneline -- "$d")" ]; then git rm -- "$f"; git rm -rf "$d"; fi; done for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --pretty=oneline -- "$d")" ]; then git rm -- "$f"; git rm -rf "$d"; fi; done
Diffstat (limited to 'doc/bugs/git-annex_unused_--from_s3_doesn__39__t')
-rw-r--r--doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_1_f139f18762f3acf8bfb9ce8a245b79f5._comment18
-rw-r--r--doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment110
-rw-r--r--doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_3_895217e62f90524620bf452cfd6332be._comment7
-rw-r--r--doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_4_768cc5be3d9b53a45419d02f2cb25ec6._comment16
4 files changed, 0 insertions, 151 deletions
diff --git a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_1_f139f18762f3acf8bfb9ce8a245b79f5._comment b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_1_f139f18762f3acf8bfb9ce8a245b79f5._comment
deleted file mode 100644
index a949625ad..000000000
--- a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_1_f139f18762f3acf8bfb9ce8a245b79f5._comment
+++ /dev/null
@@ -1,18 +0,0 @@
-[[!comment format=mdwn
- username="joey"
- subject="""comment 1"""
- date="2015-04-09T18:06:34Z"
- content="""
-I have tried to reproduce this, and I can't seem to.
-
-There's no network traffic involved in git-annex unused --from remote,
-so I don't see how this can involve the S3 backend at all. If there's a bug
-here, it should affect any kind of remote.
-
-Are you sure you didn't forget to `git annex sync` before `git annex unused --from remote`?
-If you have an old synced/master branch, that'll count as a user of the
-file and so unused won't show it.
-
-I think you'll need to provide a full transcript of how to make this problem
-happen for me to get any further.
-"""]]
diff --git a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment
deleted file mode 100644
index f48429e6c..000000000
--- a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment
+++ /dev/null
@@ -1,110 +0,0 @@
-[[!comment format=mdwn
- username="skew"
- subject="transcript"
- date="2015-05-14T04:37:33Z"
- content="""
-Hey Joey, after playing around a bit more, I noticed that the behavior was happening when I'm in a subdirectory, but not when I'm in the root of the repo. I also managed to reproduce the issue with a new repo (and a different type of remote):
-
-[[!format txt \"\"\"
-[john@laptop tmp]$ git init annextest3
-Initialized empty Git repository in /home/john/tmp/annextest3/.git/
-[john@laptop tmp]$ cd annextest3/
-[john@laptop annextest3]$ git annex init laptop
-init laptop ok
-(Recording state in git...)
-[john@laptop annextest3]$ git annex initremote rsyncnet type=rsync rsyncurl=user@server.rsync.net:/path/to/annextest3 encryption=none
-initremote rsyncnet ok
-(Recording state in git...)
-[john@laptop annextest3]$ mkdir docs
-[john@laptop annextest3]$ echo \"first version\" > docs/test.txt
-[john@laptop annextest3]$ git annex add docs/test.txt
-add docs/test.txt ok
-(Recording state in git...)
-[john@laptop annextest3]$ git annex sync --content
-commit ok
-copy docs/test.txt copy docs/test.txt (checking rsyncnet...) (to rsyncnet...)
-sending incremental file list
-./
-1a5/
-1a5/235/
-1a5/235/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt/
-1a5/235/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
- 14 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/5)
-ok
-(Recording state in git...)
-[john@laptop annextest3]$ git annex whereis
-whereis docs/test.txt (2 copies)
- 139b18e5-1fd0-4144-a551-4e997333b8ae -- [rsyncnet]
- 7187a4c5-d9ae-471d-9b4b-843c37bfb3c3 -- laptop [here]
-ok
-[john@laptop annextest3]$ git annex unlock docs/test.txt
-unlock docs/test.txt (copying...) ok
-[john@laptop annextest3]$ echo \"second version\" > docs/test.txt
-[john@laptop annextest3]$ git annex add docs/test.txt
-add docs/test.txt ok
-(Recording state in git...)
-[john@laptop annextest3]$ git annex sync --content
-commit ok
-copy docs/test.txt copy docs/test.txt (checking rsyncnet...) (to rsyncnet...)
-sending incremental file list
-6ad/
-6ad/09f/
-6ad/09f/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt/
-6ad/09f/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt
- 15 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/5)
-ok
-(Recording state in git...)
-[john@laptop annextest3]$ git annex unused
-unused . (checking for unused data...) (checking master...)
- Some annexed data is no longer used by any files:
- NUMBER KEY
- 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
- (To see where data was previously used, try: git log --stat -S'KEY')
-
- To remove unwanted data: git-annex dropunused NUMBER
-
-ok
-[john@laptop annextest3]$ git annex unused --from rsyncnet
-unused rsyncnet (checking for unused data...) (checking master...)
- Some annexed data on rsyncnet is not used by any files:
- NUMBER KEY
- 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
- (To see where data was previously used, try: git log --stat -S'KEY')
-
- To remove unwanted data: git-annex dropunused --from rsyncnet NUMBER
-
-ok
-[john@laptop annextest3]$ cd docs/
-[john@laptop docs]$ git annex unused
-unused . (checking for unused data...) (checking master...)
- Some annexed data is no longer used by any files:
- NUMBER KEY
- 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
- (To see where data was previously used, try: git log --stat -S'KEY')
-
- To remove unwanted data: git-annex dropunused NUMBER
-
-ok
-[john@laptop docs]$ git annex unused --from rsyncnet
-unused rsyncnet (checking for unused data...) ok
-[john@laptop docs]$ git annex whereis --unused
-[john@laptop docs]$ cd ..
-[john@laptop annextest3]$ git annex whereis --unused
-[john@laptop annextest3]$ git annex unused
-unused . (checking for unused data...) (checking master...)
- Some annexed data is no longer used by any files:
- NUMBER KEY
- 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
- (To see where data was previously used, try: git log --stat -S'KEY')
-
- To remove unwanted data: git-annex dropunused NUMBER
-
-ok
-[john@laptop annextest3]$ git annex whereis --unused
-whereis SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt (2 copies)
- 139b18e5-1fd0-4144-a551-4e997333b8ae -- [rsyncnet]
- 7187a4c5-d9ae-471d-9b4b-843c37bfb3c3 -- laptop [here]
-ok
-[john@laptop annextest3]$
-\"\"\"]]
-"""]]
diff --git a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_3_895217e62f90524620bf452cfd6332be._comment b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_3_895217e62f90524620bf452cfd6332be._comment
deleted file mode 100644
index e2c77e86a..000000000
--- a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_3_895217e62f90524620bf452cfd6332be._comment
+++ /dev/null
@@ -1,7 +0,0 @@
-[[!comment format=mdwn
- username="joey"
- subject="""comment 3"""
- date="2015-07-06T17:51:15Z"
- content="""
-Reproduced with this transcript. Fascinating. Thankyou!
-"""]]
diff --git a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_4_768cc5be3d9b53a45419d02f2cb25ec6._comment b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_4_768cc5be3d9b53a45419d02f2cb25ec6._comment
deleted file mode 100644
index 7a09095e0..000000000
--- a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_4_768cc5be3d9b53a45419d02f2cb25ec6._comment
+++ /dev/null
@@ -1,16 +0,0 @@
-[[!comment format=mdwn
- username="joey"
- subject="""comment 4"""
- date="2015-07-06T18:00:53Z"
- content="""
-Analysis: To find the keys, it's using git ls-tree git-annex. When this is
-run in a subdirectory, it only lists files in the branch located under that
-subdirectory. Which is no files. It should pass --full-tree to avoid that
-problem.
-
-Pretty much everywhere git-annex uses ls-tree, it does pass --full-tree.
-But not in this particular case. Anything using Annex.Branch.branchFiles or
-Annex.Branch.files would be affected; that's limited to git-annex unused
-and code that runs transitions. git-annex unused w/o --from could also be
-affected, I think, perhaps it's harder to trigger that though.
-"""]]