registerurl, unregisterurl: Added --remote option

This serves two purposes. --remote=web bypasses other special remotes that
claim the url, same as addurl --raw. And, specifying some other remote
allows making sure that an url is claimed by the remote you expect,
which makes then using setpresentkey not be fragile.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
Joey Hess 2023-04-05 15:46:51 -04:00
parent c39d72ac78
commit 2b940f7725
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
14 changed files with 76 additions and 27 deletions

View file

@ -3,3 +3,5 @@ If a remote can handle some urls (e.g. regular http) which annex can handle as w
[[!meta author=yoh]]
[[!tag projects/repronim]]
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2023-04-05T19:52:38Z"
content="""
Implemented --remote for registerurl and unregisterurl. Including the --remote=web
special case.
"""]]