assistant: Now honors preferred content settings when deciding what to transfer.

Both when queueing downloads, and uploads, consults the preferred content
settings.

I didn't make it check yet when requeing failed transfers or queuing
deferred downloads; dealing with the preferred content settings (or indeed,
other settings) changing while the assistant is running still needs work.
This commit is contained in:
Joey Hess 2012-10-09 12:18:41 -04:00
parent 11f8ea2f34
commit 5ac15149cc
7 changed files with 36 additions and 28 deletions

2
debian/changelog vendored
View file

@ -13,6 +13,8 @@ git-annex (3.20121002) UNRELEASED; urgency=low
* drop --auto: If the repository the content is dropped from has
preferred content configured, drop only content that is not preferred.
* copy --auto: Only transfer content that the destination repository prefers.
* assistant: Now honors preferred content settings when deciding what to
transfer.
* --copies=group:number can now be used to match files that are present
in a specified number of repositories in a group.
* Added --smallerthan, --largerthan, and --inall limits.