added an optional cost= configuration to all special remotes
authorJoey Hess <joeyh@joeyh.name>
Thu, 12 Jan 2023 17:42:28 +0000 (13:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 12 Jan 2023 17:42:28 +0000 (13:42 -0400)
commitcfaae7e931c72b482f2eefb2d17eaf04b8eee81d
tree3ec8dc9043fed7f36b1646beed69f4416abfd71e
parent400ce29a948e116b0735d7417b10310d71a6a6ff
added an optional cost= configuration to all special remotes

Note that when this is specified and an older git-annex is used to
enableremote such a special remote, it will simply ignore the cost= field
and use whatever the default cost is.

In passing, fixed adb to support the remote.name.cost and
remote.name.cost-command configs.

Sponsored-by: Dartmouth College's DANDI project
25 files changed:
Annex/SpecialRemote/Config.hs
CHANGELOG
Config.hs
Remote/Adb.hs
Remote/BitTorrent.hs
Remote/Borg.hs
Remote/Bup.hs
Remote/Ddar.hs
Remote/Directory.hs
Remote/External.hs
Remote/GCrypt.hs
Remote/Git.hs
Remote/GitLFS.hs
Remote/Glacier.hs
Remote/Hook.hs
Remote/HttpAlso.hs
Remote/P2P.hs
Remote/Rsync.hs
Remote/S3.hs
Remote/Tahoe.hs
Remote/WebDAV.hs
doc/git-annex-initremote.mdwn
doc/tips/using_the_web_as_a_special_remote.mdwn
doc/todo/Allow_for_URLs_prioritization_WITHIN___40__web__41___remote.mdwn
doc/todo/Allow_for_URLs_prioritization_WITHIN___40__web__41___remote/comment_11_a7087acb84b3139418c597496e18f4a1._comment [new file with mode: 0644]