diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-16 18:54:35 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-16 18:54:35 -0400 |
commit | eeee3a66e6711171e71624e4f761b8936cbd5ff1 (patch) | |
tree | cf77f96e35bda2df7559ccd7a07997021949bef2 /doc/devblog | |
parent | 2a4a641a3c940a652f62371f417433b47f7f3e79 (diff) |
devblog
Diffstat (limited to 'doc/devblog')
-rw-r--r-- | doc/devblog/day_293__last_push_before_summer_vacation.mdwn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/devblog/day_293__last_push_before_summer_vacation.mdwn b/doc/devblog/day_293__last_push_before_summer_vacation.mdwn new file mode 100644 index 000000000..5cb6bfb4b --- /dev/null +++ b/doc/devblog/day_293__last_push_before_summer_vacation.mdwn @@ -0,0 +1,26 @@ +Well, not the literal last `push`, but I've caught up on as much backlog as +I can (142 messages remain) and spent today developing a few final features +before tomorrow's release. + +Some of the newer things displayed by `git annex info` were not included in +the --json mode output. The json includes everything now. + +`git annex sync --all --content` will make it consider all known annexed +objects, not only those in the current work tree. By default that syncs all +versions of all files, but of course preferred content can tune what +repositories want. + +To make that work well with preferred content settings like +"include=*.mp3", it makes two passes. The first pass is over the work tree, +so preferred content expressions that match files by name will work. The +second pass is over all known keys, and preferred content expressions +that don't care about the filename can match those keys. + +Two passes feels a bit like a hack, but it's a lot better than `--all` +making nothing be synced when the a preferred content expression matches +against filenames... I actually had to resort to bloom filters to make the +two passes work. + +This new feature led to some +[slightly tricky follow-on changes](http://source.git-annex.branchable.com/?p=source.git;a=commit;h=8268f7951e9c70760379bd084425b48df99250d6) +to the [[preferred_content/standard_groups]] preferred content expressions. |