diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-04-19 13:46:11 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-04-19 13:55:29 -0400 |
commit | dbfc00e2a6ad99200da35f75f889174cd7bfd195 (patch) | |
tree | 9d8a9d1353ab10376183c1bda881fface04b6fcb /doc/bugs/clean-duplicates_doesn__39__t_delete_duplicates.mdwn | |
parent | 41b7950285ef1e91b80c441c2be68a1ef4d0d27c (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/clean-duplicates_doesn__39__t_delete_duplicates.mdwn')
-rw-r--r-- | doc/bugs/clean-duplicates_doesn__39__t_delete_duplicates.mdwn | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/doc/bugs/clean-duplicates_doesn__39__t_delete_duplicates.mdwn b/doc/bugs/clean-duplicates_doesn__39__t_delete_duplicates.mdwn deleted file mode 100644 index 70a54da85..000000000 --- a/doc/bugs/clean-duplicates_doesn__39__t_delete_duplicates.mdwn +++ /dev/null @@ -1,113 +0,0 @@ -This feels really sucky, seeing as I am the one that asked for these checks to be implemented.. - -### Please describe the problem. - ---clean-duplicates now refuses to remove a file due to not being able to verify its presence in the local repo, even though it is present in the local repo and git-annex knows it is present (whereis and fsck on the keys complete correctly). - -### What steps will reproduce the problem? - -See transcript - -### What version of git-annex are you using? On what operating system? - -git-annex versions: -* 2015-05-08 -* 2015-05-28 - -OS: Arch Linux - -### Please provide any additional information below. - -[[!format sh """ -# If you can, paste a complete transcript of the problem occurring here. -# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log - - #### gemma@spearmint (0) ~ - ## mkdir ~/tmp/annextest - mkdir: created directory ?tmp/annextest? - #### gemma@spearmint (0) ~ - ## cd ~/tmp/annextest - #### gemma@spearmint (0) ~/tmp/annextest - ## git init annex - Initialized empty Git repository in /home/gemma/tmp/annextest/annex/.git/ - #### gemma@spearmint (0) ~/tmp/annextest - ## cd annex/ - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git annex init test - init test ok - (recording state in git...) - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## echo a > a - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## echo b > b - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git annex add * - add a ok - add b ok - (recording state in git...) - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git commit -m "files" - [master (root-commit) ce31ccf] files - 2 files changed, 2 insertions(+) - create mode 120000 a - create mode 120000 b - - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## mkdir ../import - mkdir: created directory ?import? - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## cd ../import - #### gemma@spearmint (0) ~/tmp/annextest/import - ## echo b > b - #### gemma@spearmint (0) ~/tmp/annextest/import - ## echo a > a - #### gemma@spearmint (0) ~/tmp/annextest/import - ## cd ../annex - - - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git annex import --clean-duplicates ../import/ - import import/b (duplicate of SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f) (unsafe) - Could only verify the existence of 0 out of 1 necessary copies - - Could not verify that the content is still present in the annex; not removing from the import location. - failed - import import/a (duplicate of SHA256E-s2--87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7) (unsafe) - Could only verify the existence of 0 out of 1 necessary copies - - Could not verify that the content is still present in the annex; not removing from the import location. - failed - git-annex: import: 2 failed - - - - - #### gemma@spearmint (1) ~/tmp/annextest/annex - ## git annex whereis --key SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f - whereis SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f (1 copy) - 8d91925d-f3d2-493b-a79b-1a18658060a1 -- test [here] - ok - - - - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git annex fsck --key SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f - fsck SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f (checksum...) - ok - (recording state in git...) - - - - #### gemma@spearmint (0) ~/tmp/annextest/annex - ## git annex import --clean-duplicates ../import/ - import import/b (duplicate of SHA256E-s2--0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f) (unsafe) - Could only verify the existence of 0 out of 1 necessary copies - - Could not verify that the content is still present in the annex; not removing from the import location. - failed - -# End of transcript or log. -"""]] - -> Indeed, I seem to have broken it while refactoring. [[fixed|done]] -> --[[Joey]] |