git-annex/doc
Joey Hess f175d4cc90
rmurl: remove all forms of an url, no matter what the downloader is set to
* rmurl: When youtube-dl was used for an url, it no longer needs to be
  prefixed with "yt:" in order to be removed.
* rmurl: If an url is both used by the web and also claimed by another
  special remote, fix a bug that caused the url to to not be removed.

The youtube-dl change is a consequence of how the bug fix is implemented.
But I also think it's the right thing to do. Consider that, before,
git-annex addurl $url followed by git-annex rmurl $url would not remove the
url in the case where youtube-dl was used. That was surprising behavior.

In the unlikely case where a special remote claims an url, and it's been
added using OtherDownloader, but it was also added already as a web url,
it seems better for rmurl to remove both than to arbitrarily remove only one.

And in the case the bug report was filed for, when an url was added as a
web url, but a special remote now claims it, that should not prevent rmurl
removing the web url.

Calling setUrlMissing lets other callers of it behave differently.
Probably the calls to it in eg, Remote.External and Remote.BitTorrent are
fine, since they don't mangle the url and just remove what was provided,
and the OtherDownloader form of a bittorrent url, respectively.
I suspect unregisterurl needs to have a similar change made to rmurl, for
similar reasons.
2021-03-22 12:09:15 -04:00
..
android
Android
assistant
automatic_conflict_resolution
backends
bare_repositories
bugs rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00
chunking
coding_style
contribute
copies
design remove priority tag (unused) 2021-02-02 12:42:20 -04:00
devblog devblog 2020-12-22 16:53:40 -04:00
direct_mode
download
encryption
footer
forum Added a comment: keeping state re: unlocked files? 2021-03-21 18:29:17 +00:00
future_proofing
git-annex-add comment 2021-01-04 13:43:01 -04:00
git-annex-addurl comment 2021-02-01 12:24:48 -04:00
git-annex-adjust
git-annex-checkpresentkey
git-annex-config
git-annex-copy
git-annex-direct
git-annex-drop
git-annex-enableremote
git-annex-find
git-annex-import comment 2021-02-22 12:31:55 -04:00
git-annex-importfeed
git-annex-lookupkey
git-annex-metadata comment 2021-01-04 12:07:01 -04:00
git-annex-move comment 2021-01-04 12:05:32 -04:00
git-annex-p2p
git-annex-preferred-content
git-annex-reinject Added a comment 2021-01-02 15:16:04 +00:00
git-annex-rmurl
git-annex-setpresentkey
git-annex-sync
git-annex-test
git-annex-unannex
git-annex-undo
git-annex-uninit removed 2021-01-14 22:16:20 +00:00
git-annex-unlock Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-01 13:10:50 -04:00
git-annex-unused fix sequence 2021-03-11 12:30:02 -04:00
git-annex-whereis
how_it_works
install Windows: Correct the path to the html help file for 64 bit build. 2021-02-24 13:19:42 -04:00
internals
license
links
metadata
news add news item for git-annex 8.20210310 2021-03-10 13:59:42 -04:00
not
polls
preferred_content
profiling update 2020-10-19 14:49:16 -04:00
projects include bugs/todos tagged datalad 2021-01-13 12:30:46 -04:00
required_content
scalability
security
special_remotes comment 2021-03-22 10:37:33 -04:00
stickers
submodules Added a comment: Issue when using flag --recurse-submodules with git-checkout and git-switch 2021-01-18 23:04:17 +00:00
sync response 2020-12-17 12:47:07 -04:00
templates add maxlength=50 to ikiwiki template used for page title entry 2020-11-02 15:21:24 -04:00
testimonials
thanks update 2021-02-05 10:22:42 -04:00
tips comment 2021-03-22 10:58:12 -04:00
todo Added a comment: another deduplication option 2021-03-22 13:51:35 +00:00
trust
tuning
upgrades
use_case
users Add my name and home page URL. 2021-03-14 05:15:14 +00:00
videos
walkthrough
workflow
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn use GIT keys for export of non-annexed files 2021-03-05 14:12:11 -04:00
bare_repositories.mdwn
bugs.mdwn remove priority tag (unused) 2021-02-02 12:42:20 -04:00
builds.mdwn mixed up some of these long urls 2020-11-11 11:47:58 -04:00
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn mincopies 2021-01-06 14:15:19 -04:00
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
encryption.mdwn
favicon.ico
forum.mdwn
future_proofing.mdwn
git-annex-add.mdwn add pointer to annex.largefiles config docs 2021-01-04 13:39:48 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn
git-annex-adjust.mdwn annex.adjustedbranchrefresh 2020-11-16 14:27:28 -04:00
git-annex-assistant.mdwn
git-annex-benchmark.mdwn
git-annex-calckey.mdwn
git-annex-checkpresentkey.mdwn
git-annex-config.mdwn man page improvement 2020-12-17 12:17:58 -04:00
git-annex-contentlocation.mdwn
git-annex-copy.mdwn
git-annex-dead.mdwn
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn
git-annex-drop.mdwn
git-annex-dropkey.mdwn
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn
git-annex-enableremote.mdwn
git-annex-examinekey.mdwn examinekey: Added a "file" format variable 2020-11-16 09:59:11 -04:00
git-annex-expire.mdwn
git-annex-export.mdwn improve synopsis 2020-12-17 12:51:49 -04:00
git-annex-find.mdwn
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn
git-annex-fuzztest.mdwn
git-annex-get.mdwn
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn 2021-02-17 13:58:00 +00:00
git-annex-importfeed.mdwn
git-annex-indirect.mdwn
git-annex-info.mdwn
git-annex-init.mdwn
git-annex-initremote.mdwn
git-annex-inprogress.mdwn
git-annex-list.mdwn
git-annex-lock.mdwn
git-annex-log.mdwn clarified that git-annex-log shows log only for the current key (contents) at specified paths 2021-03-11 16:50:41 +00:00
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn
git-annex-matching-expression.mdwn
git-annex-matching-options.mdwn
git-annex-merge.mdwn
git-annex-metadata.mdwn
git-annex-migrate.mdwn
git-annex-mincopies.mdwn improve wording 2021-01-06 14:24:17 -04:00
git-annex-mirror.mdwn
git-annex-move.mdwn
git-annex-multicast.mdwn
git-annex-numcopies.mdwn mincopies 2021-01-06 14:15:19 -04:00
git-annex-p2p.mdwn
git-annex-post-receive.mdwn
git-annex-pre-commit.mdwn
git-annex-preferred-content.mdwn
git-annex-proxy.mdwn
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn unregisterurl: New command 2021-03-01 14:28:24 -04:00
git-annex-reinit.mdwn
git-annex-reinject.mdwn
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn
git-annex-renameremote.mdwn
git-annex-repair.mdwn
git-annex-required.mdwn
git-annex-resolvemerge.mdwn
git-annex-rmurl.mdwn
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn
git-annex-smudge.mdwn
git-annex-status.mdwn
git-annex-sync.mdwn typo 2020-12-17 12:53:47 -04:00
git-annex-test.mdwn
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn move new interface to git-annex transfer 2020-12-09 12:33:56 -04:00
git-annex-transferrer.mdwn rename helper 2020-12-09 13:24:24 -04:00
git-annex-trust.mdwn Behavior change: git-annex trust now needs --force 2021-01-07 10:09:39 -04:00
git-annex-unannex.mdwn
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn fix problem with example 2021-03-01 13:09:22 -04:00
git-annex-unregisterurl.mdwn unregisterurl: New command 2021-03-01 14:28:24 -04:00
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-upgrade.mdwn
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn
git-annex.mdwn unregisterurl: New command 2021-03-01 14:28:24 -04:00
git-remote-tor-annex.mdwn
git-union-merge.mdwn
how_it_works.mdwn improve 2021-01-15 11:31:08 -04:00
index.mdwn
install.mdwn
internals.mdwn mincopies 2021-01-06 14:15:19 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn
privacy.mdwn
profiling.mdwn
projects.mdwn
publicrepos.mdwn
related_software.mdwn annex-review-unused -> git annex reviewunused 2021-02-28 20:20:03 +00:00
repomap.png
required_content.mdwn
scalability.mdwn
security.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn docs for borg special remote 2020-12-17 13:12:35 -04:00
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn 2021 2021-02-08 13:44:58 -04:00
tips.mdwn
todo.mdwn fix syntax 2021-02-02 13:01:31 -04:00
transferring_data.mdwn
trust.mdwn Behavior change: --trust option no longer overrides trust 2021-01-07 10:34:57 -04:00
tuning.mdwn
upgrades.mdwn
users.mdwn
videos.mdwn
walkthrough.mdwn
workflow.mdwn