From d73467ebf7a1a5b9dd83642bcef8702379447b4b Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Fri, 19 May 2023 13:53:46 +0000 Subject: [PATCH] dropkey -z not working --- doc/bugs/dropkey_-z_does_not_drop_etc.mdwn | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 doc/bugs/dropkey_-z_does_not_drop_etc.mdwn diff --git a/doc/bugs/dropkey_-z_does_not_drop_etc.mdwn b/doc/bugs/dropkey_-z_does_not_drop_etc.mdwn new file mode 100644 index 0000000000..24d6ede1e5 --- /dev/null +++ b/doc/bugs/dropkey_-z_does_not_drop_etc.mdwn @@ -0,0 +1,44 @@ +### Please describe the problem. + +``` +❯ ( source ~/git-annexes/10.20230407+git201-g5df89d58c7.env; git annex version | head -n 1; git annex findkeys --in here | git annex dropkey --force --batch -z ; ) +git-annex version: 10.20230407+git201-g5df89d58c7-1~ndall+1 +git-annex: : commitBuffer: resource vanished (Broken pipe) +dropkey MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz + ok +❯ ls -ld .git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz +-r-------- 1 yoh yoh 5663237 May 19 09:50 .git/annex/objects/V7/Pj/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz +❯ ( source ~/git-annexes/10.20230407+git201-g5df89d58c7.env; git annex version | head -n 1; git annex findkeys --in here | git annex dropkey --force --batch ; ) +git-annex version: 10.20230407+git201-g5df89d58c7-1~ndall+1 +git-annex: : commitBuffer: resource vanished (Broken pipe) +dropkey MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz ok +❯ ls -ld .git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz +ls: cannot access '.git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz': No such file or directory + +``` + +and also was reported on 10.20230407 to not return anything causing us to stall: [https://github.com/datalad/datalad/issues/7315#issuecomment-1554348911](https://github.com/datalad/datalad/issues/7315#issuecomment-1554348911). + +[[!meta author=yoh]] +[[!tag projects/datalad]] + + +### What steps will reproduce the problem? + + +### What version of git-annex are you using? On what operating system? + + +### 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 + + +# End of transcript or log. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + + -- 2.30.2