This commit is contained in:
xloem 2016-05-07 12:34:59 +00:00 committed by admin
parent d187f771b9
commit 2f84557979

View file

@ -1,44 +0,0 @@
### 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.