git-annex/doc/todo/limit_to_low_cost_remotes.mdwn
Joey Hess cffa2446e8
tagged the past 2 years of open todos and followed up to a few of them
also moved some that were really bug reports to bugs/ and closed a
couple
2020-01-30 15:22:05 -04:00

19 lines
957 B
Markdown

Add --maximum-cost=N which prevents trying to access any remotes with a
larger cost. May as well add --minimum-cost too for completeness.
My use case: Want to git annex get --auto and pull from any of 3 usb
drives, but not from the network. --[[Joey]]
> Hmm, [[todo/to_and_from_multiple_remotes]] might be another way to do
> that. Put the 3 drives in a git remote group, or list the remotes on the
> fly.
>
> There could still be benefit in avoiding high cost remotes. But, the cost
> numbers are only intended to create a local ordering, so making them part of a
> user interface is kind of weird. While 50 might be a high cost in one
> repository, in another repository it could be a fairly low cost. The user
> would need to examine all the costs to pick the cost they want; using
> remote names seems better UI. --[[Joey]]
> > that seems convincing reason not to implement this and instead
> > implement remote groups. [[wontfix|done]] --[[Joey]]