CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
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
Annex avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
Assistant add searchPathContents 2021-02-02 19:06:15 -04:00
Backend optimisation 2021-02-10 16:39:41 -04:00
Build Windows: Correct the path to the html help file for 64 bit build. 2021-02-24 13:19:42 -04:00
CmdLine fix --branch combined with --unlocked or --locked 2021-03-02 13:47:27 -04:00
Command rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00
Config add: Significantly speed up adding lots of non-large files to git 2021-01-04 13:12:28 -04:00
Database use GIT keys for export of non-annexed files 2021-03-05 14:12:11 -04:00
debian Enable building with git-annex benchmark by default 2020-10-02 13:57:10 -04:00
doc rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00
Git fix handling of subtree 2021-03-12 13:24:19 -04:00
Limit prep for fixing find --branch --unlocked 2021-03-02 13:39:31 -04:00
Logs rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00
Messages simplify transferr protocol 2020-12-11 12:52:22 -04:00
P2P chance case of "transfer failed" to match "Transfer stalled" 2021-03-06 17:47:05 -04:00
Remote avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
RemoteDaemon add back git-annex branch read cache 2020-07-06 12:22:33 -04:00
standalone bump filepath-bytestring dep 2020-11-11 11:49:19 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Test improve display of test failures 2020-11-24 17:17:09 -04:00
Types avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
Upgrade Git.Queue: allow providing git common options like -c 2021-01-04 12:51:55 -04:00
Utility incremental checksum on download from ssh or p2p 2021-02-09 17:03:27 -04:00
.ghci avoid ghci warning on tabs 2019-01-21 12:35:44 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore stack.yaml: Updated to lts-16.10 2020-08-24 14:11:37 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs avoid making absolute git remote path relative 2021-02-08 13:18:01 -04:00
Assistant.hs Fix build on Windows 2020-11-19 12:33:00 -04:00
Backend.hs incremental checksum on download from ssh or p2p 2021-02-09 17:03:27 -04:00
bash-completion.bash bash completion fix 2018-11-12 13:23:05 -04:00
Benchmark.hs move global options handling closer to Command definitions 2021-02-02 15:55:45 -04:00
BuildFlags.hs Removed the S3 and WebDAV build flags 2020-09-08 12:42:59 -04:00
BuildInfo.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CHANGELOG rmurl: remove all forms of an url, no matter what the downloader is set to 2021-03-22 12:09:15 -04:00
CmdLine.hs support fuzzy matching of addon commands 2021-02-02 19:37:09 -04:00
Command.hs addon commands 2021-02-02 16:32:49 -04:00
Common.hs finish fixing removeLink on windows 2020-11-24 13:20:44 -04:00
Config.hs more RawFilePath conversion 2020-10-29 10:50:29 -04:00
COPYRIGHT update year 2021-01-04 12:45:19 -04:00
Creds.hs avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
Crypto.hs fix strictness issue 2020-06-16 17:09:34 -04:00
git-annex.cabal releasing package git-annex version 8.20210310 2021-03-10 13:59:00 -04:00
git-annex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
git-union-merge.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Git.hs avoid crashing when there are remotes using unparseable urls 2021-01-18 14:59:08 -04:00
Key.hs use GIT keys for export of non-annexed files 2021-03-05 14:12:11 -04:00
Limit.hs prep for fixing find --branch --unlocked 2021-03-02 13:39:31 -04:00
Logs.hs mincopies 2021-01-06 14:15:19 -04:00
Makefile OSXMkLibs: skip @loader_path 2020-12-15 12:47:24 -04:00
Messages.hs export --json: Fill in the file field 2021-03-12 14:11:31 -04:00
NEWS fix dist in latest NEWS entry 2020-09-14 12:05:12 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs Behavior change: --trust option no longer overrides trust 2021-01-07 10:34:57 -04:00
Setup.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
stack.yaml update to lts-16.27 2020-12-29 13:51:08 -04:00
Test.hs test: avoid unnecessary tests of variants of git remote 2021-01-11 13:43:55 -04:00
Types.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Upgrade.hs propagate git-annex -c on to transferrer child process 2020-12-15 11:36:25 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <https://git-annex.branchable.com/>