From 3cafb00f86cac55dee43df4cb73969f1fc5d8e3c Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Tue, 8 Jul 2014 11:56:54 +0000 Subject: --- ...nt_doesn__39__t_check_if_it_can_drop_files.mdwn | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 doc/bugs/Assistant_doesn__39__t_check_if_it_can_drop_files.mdwn diff --git a/doc/bugs/Assistant_doesn__39__t_check_if_it_can_drop_files.mdwn b/doc/bugs/Assistant_doesn__39__t_check_if_it_can_drop_files.mdwn new file mode 100644 index 000000000..c789fb831 --- /dev/null +++ b/doc/bugs/Assistant_doesn__39__t_check_if_it_can_drop_files.mdwn @@ -0,0 +1,62 @@ +### Please describe the problem. + +The assistant/webapp doesn't drop files from the local (source) repository after transferring it to the 2 backup repositories (numcopies 2), but they are listed with: + + git annex find --want-drop + +### What steps will reproduce the problem? + +#### mintcream #### + + git init annex + cd ~/annex + git commit -m "create" --allow-empty + git annex init mintcream + git annex numcopies 2 + git annex group here source + git config annex.autocommit false + git annex webapp + +#### liquorice #### + + git init annex + cd ~/annex + git annex init liquorice + git annex group here backup + +#### candyfloss #### + + git init annex + cd ~/annex + git annex init candyfloss + git annex group here backup + +#### mintcream #### + + (add both backup repositories in webapp as "remote repositories") + (copy files into ~/annex directory) + git annex add + git commit -m "add some files" + (use "sync now" to prod assistant into noticing the commit) + +### What was I expecting to happen? ### + +The assistant to transfer the files to liquorice and candyfloss, then for the assistant to drop the files from mintcream. + +### What actually happened? ### + +The assistant transfers the files to liquorice and candyfloss. No files are dropped from mintcream. + +### What version of git-annex are you using? On what operating system? + +git-annex version: 5.20140707-g923b436 + +Arch Linux (git-annex-bin from AUR) + +### Please provide any additional information below. + +I wish to retain control of the commits on "master" (annex.autocommit false) but want the assistant to handle moving/dropping the files as required in the background. + + git annex drop --auto + +works as expected. -- cgit v1.2.3