File: day_273-274__fun.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (19 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Got caught up on some bug reports yesterday. The main one was odd behavior
of the assistant when the repository was in manual mode. A recent change to
the preferred content expression caused it. But the expression was not
broken. The problem was in the parser, which got the parentheses wrong
in this case. I had to mostly rewrite the parser, unfortunately. I've tested
the new one fairly extensively -- on the other hand this bug lurked in the
old parser for several years (this same code is used for matching files
with command-line parameters).

Just as I finished with that, I noticed another bug. Turns out git-cat-file
doesn't reload the index after it's started. So last week's changes to make
git-annex check the state of files in the index won't work when using the
assistant. Luckily there was an easy workaround for this.

Today I finished up some robustness fixes, and added to the test suite
checks for preferred content expressions, manual mode, etc.

I've started a stress test, syncing 2 repositories over XMPP, with the fuzz
tester running in each to create lots of changes to keep in sync.