From 4b0d5f7bb748d4b6b9c7e9e7d87a0b4efc06a4c9 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Thu, 22 May 2014 01:07:10 +0000 Subject: weird backward compatibility bug? --- ...ils_to_talk_to_other_5.x_git-annex_remotes.mdwn | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/bugs/5.20140517_fails_to_talk_to_other_5.x_git-annex_remotes.mdwn diff --git a/doc/bugs/5.20140517_fails_to_talk_to_other_5.x_git-annex_remotes.mdwn b/doc/bugs/5.20140517_fails_to_talk_to_other_5.x_git-annex_remotes.mdwn new file mode 100644 index 000000000..1af4f6b33 --- /dev/null +++ b/doc/bugs/5.20140517_fails_to_talk_to_other_5.x_git-annex_remotes.mdwn @@ -0,0 +1,35 @@ +### Please describe the problem. + +Some time in may 2014, git-annex stopped working with previous versions of git-annex. + +### What steps will reproduce the problem? + +Trying to sync with the server fails with: + + git-annex-shell: Not a git-annex or gcrypt repository. + +With older versions (e.g. 5.20140412), it's even worse: + + Remote marcos does not have git-annex installed; setting annex-ignore + This could be a problem with the git-annex installation on the remote. Please make sure that git-annex-shell is available in PATH when you ssh into the remote. Once you have fixed the git-annex installation, run: git config remote.marcos.annex-ignore false + +Basically, if git-annex-shell is missing, newer versions of git-annex just crash and burn instead of going the more gentle, backward-compatible way... + +### What version of git-annex are you using? On what operating system? + +git-annex from debian sid (5.20140517) on the "client" side and from jessie (5.20140421) on the "server". + +### 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 +ssh server +git init books +exit +git remote add server server:books +git annex sync server +# End of transcript or log. +"""]] + +If this is intended behavior, it seems to me the major version of git annex should be bumped, at the very least... -- [[anarcat]] -- cgit v1.2.3