summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar xloem <xloem@web>2016-05-07 12:26:13 +0000
committerGravatar admin <admin@branchable.com>2016-05-07 12:26:13 +0000
commit0cd27cf766fa40c107b29f51bb6083f90901c680 (patch)
tree553899190b18190cb05324715b3326f165567332
parent2c0c99eea6ac82e42b46fc9e9c2541736862fd47 (diff)
-rw-r--r--doc/bugs/preferred_content_lackingcopies__61___and_approxlackingcopies_giving_false_positives.mdwn44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/bugs/preferred_content_lackingcopies__61___and_approxlackingcopies_giving_false_positives.mdwn b/doc/bugs/preferred_content_lackingcopies__61___and_approxlackingcopies_giving_false_positives.mdwn
new file mode 100644
index 000000000..6f6fea4fc
--- /dev/null
+++ b/doc/bugs/preferred_content_lackingcopies__61___and_approxlackingcopies_giving_false_positives.mdwn
@@ -0,0 +1,44 @@
+### Please describe the problem.
+Files with enough copies are still matching lackingcopies=
+
+### What steps will reproduce the problem?
+This problem showed up trying to figure out why my preferred content groups weren't behaving as expected.
+
+### What version of git-annex are you using? On what operating system?
+git-annex version: 6.20160428-g1f253e8
+on debian 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
+
+annex@mail:~/checkout$ git annex matchexpression "lackingcopies=1" --trust-glacier --file=logs/audio/2016-03-17T08:26:18-0400_47900e8db334711d_callrecorder_unknown.3gp --key=SHA3_512-s1779078--15f3bc8c599b9746738afdcbe7c3e88fc2d9ff4ee817c72fbf6029d9dabda3387d2d8e99be90c4f454e6d0304ebcdd1ccd67c08d1d46de1602f5933e6f6a31ca/SHA3_512-s1779078--15f3bc8c599b9746738afdcbe7c3e88fc2d9ff4ee817c72fbf6029d9dabda3387d2d8e99be90c4f454e6d0304ebcdd1ccd67c08d1d46de1602f5933e6f6a31ca; echo $?
+0
+annex@mail:~/checkout$ git annex whereis logs/audio/2016-03-17T08:26:18-0400_47900e8db334711d_callrecorder_unknown.3gp
+whereis logs/audio/2016-03-17T08:26:18-0400_47900e8db334711d_callrecorder_unknown.3gp (4 copies)
+ 678df196-537f-44b9-8fa3-ccdd5c09536e -- "Beta": Seagate Backup Plus 4 TB
+ 6e369252-d990-4ffd-9d42-fafcbb2369ce -- GitLab [gitlab]
+ c22e72f3-62a4-4c74-afe1-ad946906e3e1 -- [glacier]
+ d6e61836-42c0-4562-95b5-f976c1076f73 -- ovh [here]
+ok
+annex@mail:~/checkout$ git annex numcopies
+3
+annex@mail:~/checkout$ cat .gitattributes
+* annex.numcopies=3
+* annex.backend=SHA3_512
+annex@mail:~/checkout$ cat logs/.gitattributes
+* annex.numcopies=3
+* annex.backends=SHA3_512
+*/*_*_*_raw.* annex.numcopies=0
+tmp/*_*_*_*_*.* annex.expireunused=1w annex.numcopies=2
+annex@mail:~/checkout$ cat logs/audio/.gitattributes
+cat: logs/audio/.gitattributes: No such file or directory
+
+# 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)
+
+Really great program.