web: Add urlinclude and urlexclude configuration settings
Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
8d06930c88
commit
6fa166e1fc
5 changed files with 139 additions and 16 deletions
|
@ -12,3 +12,16 @@ This special remote uses urls on the web as the source for content.
|
|||
There are several other ways http can be used to download annexed objects,
|
||||
including a git remote accessible by http, S3 with a `publicurl` configured,
|
||||
and the [[httpalso]] special remote.
|
||||
|
||||
## configuration
|
||||
|
||||
These parameters can be passed to `git annex initremote` or
|
||||
`git-annex enableremote` to configure a web remote:
|
||||
|
||||
* `urlinclude` - Only use urls that match the specified glob.
|
||||
For example, `urlinclude="https://s3.amazonaws.com/*"`
|
||||
Note: Globs are matched case-insensitively.
|
||||
* `urlexclude` - Don't use urls that match the specified glob.
|
||||
For example, to prohibit http urls, but allow https,
|
||||
use `urlexclude="http:*"`
|
||||
Note: Globs are matched case-insensitively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue