Add note to 'satisfy' manpage about it not satisfying numcopies and how to set it up to pass files between remotes that are not present locally.
I got bitten several times in the past by the fact that local preferred content expressions are not violated (even temporarily) in order to satisfy numcopies or other remotes' preferred content expressions. Mostly in the form of the local repo not allowing arbitrary files in (e.g. because it's set to only want `present` files). This note I add here explains how to get out of this situation with `approxlackingcopies=1`. It might be too specific for this manpage, but I didn't find a better place to put it.
This commit is contained in:
parent
8525019a06
commit
0e4fc0f399
1 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,16 @@ It does the same thing as `git-annex sync --content` without the pulling
|
|||
and pushing of git repositories, and without changing the trees that are
|
||||
imported to or exported from special remotes.
|
||||
|
||||
Note that it (like [[git-annex-sync]] or [[git-annex-assist]]) does not work
|
||||
specifically towards satisfying the [[git-annex-numcopies]] setting and it will
|
||||
not violate the local preferred content expression in order to move files
|
||||
between remotes that are not present locally. To allow for files to be present
|
||||
locally for such a movement between remotes, consider adding `or
|
||||
approxlackingcopies=1` to your local [[preferred_content]] expression (and
|
||||
maybe increasing [[git-annex-numcopies]] accordingly) so that files may pass
|
||||
through your local repo temporarily. Otherwise, `git annex satisfy` does not
|
||||
see a pathway for files to pass between other remotes.
|
||||
|
||||
# OPTIONS
|
||||
|
||||
* `[remote]`
|
||||
|
|
Loading…
Reference in a new issue