File: day_422__bugfixes_for_v6_mode.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (16 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Several bug fixes involving v6 unlocked files today. Several related bugs
were caused by relying on the inode cache information, without a fallback
to handle the case where the inode cache had not gotten updated. While the
inode cache is generally kept up-to-date well by the smudge/clean
filtering, it is just a cache and can be out of date. Did some auditing for
such problems and hopefully I've managed to find them all.

Also, there was a tricky upgrade case where a v5 repository contained a
v6 unlocked file, and the annexed content got copied into it. This
triggered the above-described bugs, and in this case the worktree needs
to be updated on upgrade, to replace the pointer file with the content.

As I caught up with recent activity, it was nice to see some contributions
from others. James MacMahon sent in a patch to improve the filenames
generated by `importfeed`. And, xloem is writing workflow documentation for
git-annex in [[todo/Workflow_guide]].