From 0dfc1d4e6eb37aadaba47a210539b2438fba97f5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 29 Sep 2017 12:55:42 -0400 Subject: 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 2017. Command line used: for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --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=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done --- ...ent_1_d72e2db413d0bc4179c50eaf7550f071._comment | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 doc/bugs/Files_in___34__here__34___not_known_to_git_annex/comment_1_d72e2db413d0bc4179c50eaf7550f071._comment (limited to 'doc/bugs/Files_in___34__here__34___not_known_to_git_annex/comment_1_d72e2db413d0bc4179c50eaf7550f071._comment') diff --git a/doc/bugs/Files_in___34__here__34___not_known_to_git_annex/comment_1_d72e2db413d0bc4179c50eaf7550f071._comment b/doc/bugs/Files_in___34__here__34___not_known_to_git_annex/comment_1_d72e2db413d0bc4179c50eaf7550f071._comment deleted file mode 100644 index 52e5f268e..000000000 --- a/doc/bugs/Files_in___34__here__34___not_known_to_git_annex/comment_1_d72e2db413d0bc4179c50eaf7550f071._comment +++ /dev/null @@ -1,41 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 1""" - date="2015-11-02T15:28:09Z" - content=""" -All the output of `git annex log`, `git annex whereis` and `git annex list` -seems internally consistent. Which makes sense as there are 3 different -views of the exact same data. Note that while `git annex log` -shows 2 repositories "1T" and "500G" that contain the file, I guess those -are both marked as dead, since whereis skipps dead repos and doesn't -show them. So, that's all red herrings. - -The problem then is that fsck seems to say "fixing location log" but then -apparently doesn't fix it, since it still complains the file is missing -despite its contents being present. - -I have replicated the situation but I don't reproduce that happening: - - joey@darkstar:~/tmp/r>git annex setpresentkey WORM-s30-m1446479598--Bad\ Taste\ -\ Englisch.avi ebce24f6-3a26-4881-8855-62a0e0d33869 0 - setpresentkey WORM-s30-m1446479598--Bad Taste - Englisch.avi ok - joey@darkstar:~/tmp/r>git annex whereis Movies/Bad\ Taste\ -\ Englisch.avi - whereis Movies/Bad Taste - Englisch.avi (0 copies) failed - git-annex: whereis: 1 failed - joey@darkstar:~/tmp/r>git annex fsck - fsck Movies/Bad Taste - Englisch.avi (fixing location log) ok - (recording state in git...) - joey@darkstar:~/tmp/r>git annex whereis - whereis Movies/Bad Taste - Englisch.avi (1 copy) - ebce24f6-3a26-4881-8855-62a0e0d33869 -- joey@darkstar:~/tmp/r [here] - ok - -Please show the commit that fsck makes to the git-annex branch. Ie, -`git show git-annex` after running fsck. In my example above, that commit included: - - --- a/33f/807/WORM-s30-m1446479598--Bad Taste - Englisch.avi.log - +++ b/33f/807/WORM-s30-m1446479598--Bad Taste - Englisch.avi.log - @@ -1 +1 @@ - -1446479600.453526s 0 ebce24f6-3a26-4881-8855-62a0e0d33869 - +1446479680.344119s 1 ebce24f6-3a26-4881-8855-62a0e0d33869 - -"""]] -- cgit v1.2.3