git-annex/Logs
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
..
Chunk update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ContentIdentifier speed up slow quickcheck test 2019-03-06 16:43:41 -04:00
Difference update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreferredContent generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Presence update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
SingleValue update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Trust generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Activity.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Chunk.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Config.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
ContentIdentifier.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Difference.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Export.hs formatLsTree did not use a tab where git does 2021-01-28 12:36:37 -04:00
File.hs more RawFilePath conversion 2020-11-05 18:45:37 -04:00
FsckResults.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Group.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Line.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Location.hs make getViaTmpFrom no longer update location log 2020-12-11 11:50:13 -04:00
MapLog.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Multicast.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
NumCopies.hs mincopies 2021-01-06 14:15:19 -04:00
PreferredContent.hs sync --all avoid unncessary first pass 2020-09-24 15:12:09 -04:00
Presence.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Remote.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
RemoteState.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Schedule.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
SingleValue.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Smudge.hs more RawFilePath conversion 2020-11-03 10:11:04 -04:00
Transfer.hs suggest when user may want annex.stalldetection 2021-02-03 15:57:19 -04:00
Transitions.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Trust.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Unused.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
UUID.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
UUIDBased.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
View.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Web.hs rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00