git-annex/Remote
Joey Hess 8a305e5fa3
respect urlinclude/urlexclude of other web special remotes
When a web special remote does not have urlinclude/urlexclude
configured, make it respect the configuration of other web special
remotes and avoid using urls that match the config of another.

Note that the other web special remote does not have to be enabled.
That seems ok, it would have been extra work to check for only ones that
are enabled.

The implementation does mean that the web special remote re-parses
its own config once at startup, as well as re-parsing the configs of any
other web special remotes. This should be a very small slowdown
unless there are lots of web special remotes.

Sponsored-by: Dartmouth College's DANDI project
2023-01-10 14:58:53 -04:00
..
Directory improve createDirectoryUnder to allow alternate top directories 2022-08-12 12:52:37 -04:00
External convert Key to ShortByteString 2021-10-05 20:20:08 -04:00
Helper try retrieval from more than one export location when the first fails 2022-09-20 13:33:57 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs change retrieveExportWithContentIdentifier to take a list of ContentIdentifier 2022-09-20 13:19:42 -04:00
BitTorrent.hs convert renameFile to moveFile to support cross-device moves 2022-12-20 15:17:50 -04:00
Borg.hs change retrieveExportWithContentIdentifier to take a list of ContentIdentifier 2022-09-20 13:19:42 -04:00
Bup.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Ddar.hs use getSymbolicLinkStatus not getFileStatus to avoid crash on broken symlink 2022-09-05 13:46:32 -04:00
Directory.hs change retrieveExportWithContentIdentifier to take a list of ContentIdentifier 2022-09-20 13:19:42 -04:00
External.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00
GCrypt.hs Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
Git.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
GitLFS.hs Revert "Removed the vendored git-lfs and the GitLfs build flag" 2023-01-04 17:33:29 -04:00
Glacier.hs Fix build with ghc 9.0.1 2021-12-08 15:08:02 -04:00
Hook.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
HttpAlso.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs negotiate P2P protocol version for tor remotes 2021-10-11 15:58:51 -04:00
Rsync.hs avoid unix-compat's rename 2022-07-12 14:55:02 -04:00
S3.hs fix build warning 2022-11-09 15:33:46 -04:00
Tahoe.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Web.hs respect urlinclude/urlexclude of other web special remotes 2023-01-10 14:58:53 -04:00
WebDAV.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00