From e67050b8d3d496dc469b62daa239895afe8a1983 Mon Sep 17 00:00:00 2001 From: "gitannex@fe613c61745e9d1e7f6df5e24a666828bb5682cc" Date: Thu, 31 Aug 2023 01:34:23 +0000 Subject: [PATCH] --- ...does_not_detect_corruption_on_yt_vids.mdwn | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 doc/bugs/fsck_does_not_detect_corruption_on_yt_vids.mdwn diff --git a/doc/bugs/fsck_does_not_detect_corruption_on_yt_vids.mdwn b/doc/bugs/fsck_does_not_detect_corruption_on_yt_vids.mdwn new file mode 100644 index 0000000000..158ae8a36e --- /dev/null +++ b/doc/bugs/fsck_does_not_detect_corruption_on_yt_vids.mdwn @@ -0,0 +1,47 @@ +### Please describe the problem. + +I added a YT vid via addurl and then intentionally corrupted it by rewriting the underlying contents. After doing so, the video was clearly broken, but `git annex fsck` did not detect this. + + +### What steps will reproduce the problem? + +``` +$ git annex addurl 'https://www.youtube.com/watch?v=zGDzdps75ns' +$ echo test | sudo tee './Small short test video [zGDzdps75ns].webm' +$ git annex fsck './Small short test video [zGDzdps75ns].webm' +fsck Small short test video [zGDzdps75ns].webm ok +(recording state in git...) +$ file -L ./Small\ short\ test\ video\ \[zGDzdps75ns\].webm +./Small short test video [zGDzdps75ns].webm: ASCII text +``` + +The fsck reports the file is "ok". Even an fsck `--from=web` reports the video is OK: + +``` +$ git annex fsck './Small short test video [zGDzdps75ns].webm' --from=web +fsck Small short test video [zGDzdps75ns].webm +ok +(recording state in git...) +``` + + +### What version of git-annex are you using? On what operating system? + +10.20230828, on Ubuntu Jammy. + + +### 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) + +Excited to move my photo collection over to it! + +