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 d689a5b338
git style filename quoting controlled by core.quotePath
This is by no means complete, but escaping filenames in actionItemDesc does
cover most commands.

Note that for ActionItemBranchFilePath, the value is branch:file, and I
choose to only quote the file part (if necessary). I considered quoting the
whole thing. But, branch names cannot contain control characters, and while
they can contain unicode, git coes not quote unicode when displaying branch
names. So, it would be surprising for git-annex to quote unicode in a
branch name.

The find command is the most obvious command that still needs to be
dealt with. There are probably other places that filenames also get
displayed, eg embedded in error messages.

Some other commands use ActionItemOther with a filename, I think that
ActionItemOther should either be pre-sanitized, or should explicitly not
be used for filenames, so that needs more work.

When --json is used, unicode does not get escaped, but control
characters were already escaped in json.

(Key escaping may turn out to be needed, but I'm ignoring that for now.)

Sponsored-by: unqueued on Patreon
2023-04-08 14:52:26 -04:00
Annex improve comments 2023-04-04 15:23:39 -04:00
Assistant git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
Backend remove unused Key parameter from isCryptographicallySecure 2023-03-27 14:34:00 -04:00
Build Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
CmdLine registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
Command git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
Config use status --ignore-submodules in configureSmudgeFilter 2022-12-20 16:02:42 -04:00
Database Sped up sqlite inserts 2x when built with persistent 2.14.5.0 2023-03-31 14:38:25 -04:00
debian add m68k to arch lists for webapp build deps 2023-02-23 14:26:20 -04:00
doc full emulation of git filename escaping 2023-04-07 17:17:31 -04:00
Git git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
Limit new matching options --want-get-by and --want-drop-by 2022-07-28 13:26:03 -04:00
Logs git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
Messages factor out Utility.Aeson.textKey 2022-03-02 18:24:06 -04:00
P2P Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Remote external protocol VERSION 2 2023-03-28 17:00:08 -04:00
RemoteDaemon Windows: Support urls like "file:///c:/path" 2023-03-27 13:38:02 -04:00
standalone Revert "Removed the vendored git-lfs and the GitLfs build flag" 2023-01-04 17:33:29 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Test Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Types git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
Upgrade Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Utility clean up 2023-04-07 17:20:58 -04:00
.appveyor.yml update appveyor config 2023-03-22 01:02:26 -04:00
.codespellrc keyspell ignore tmp directory 2023-03-17 15:21:31 -04:00
.ghci turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore ignore git-annex-build-deps files from dpkg-genbuilddeps 2023-01-29 11:29:51 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Assistant.hs assistant: Fix a crash on startup by avoiding using forkProcess 2021-05-12 15:08:03 -04:00
Backend.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
bash-completion.bash bash completion fix 2018-11-12 13:23:05 -04:00
Benchmark.hs --size-limit exit 101 2021-06-04 16:43:47 -04:00
BuildFlags.hs show when build with Benchmark build flag 2022-08-29 14:55:58 -04:00
BuildInfo.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CHANGELOG git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
CmdLine.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
Command.hs add FIELD?=GLOB to git-annex view usage 2023-02-07 18:09:10 -04:00
Common.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Config.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
COPYRIGHT general copyright year bump 2023-01-09 15:05:27 -04:00
Creds.hs avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
Crypto.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
git-annex.cabal releasing package git-annex version 10.20230407 2023-04-07 13:37:03 -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 Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Key.hs convert Key to ShortByteString 2021-10-05 20:20:08 -04:00
Limit.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Logs.hs filter-branch working aside from some edge cases 2021-05-17 13:24:58 -04:00
Makefile Added libgcc_s.so.1 to the linux standalone build so pthread_cancel will work 2022-12-22 15:15:25 -04:00
Messages.hs git style filename quoting controlled by core.quotePath 2023-04-08 14:52:26 -04:00
NEWS Fix ambigous typos 2023-03-17 15:14:47 -04:00
README improve description 2022-01-06 12:24:27 -04:00
Remote.hs Apply codespell -w throughout 2023-03-17 15:14:58 -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 Revert "stack.yaml: Update to lts-19.33 and aws-0.24" 2023-02-20 15:15:06 -04:00
Test.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Types.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Upgrade.hs handle upgrading repositories initialized with --version=9 2022-09-26 12:59:51 -04:00

git-annex allows managing large files with git, without storing the file
contents in git. It can sync, backup, and archive your data, offline
and online. Checksums and encryption keep your data safe and secure. Bring
the power and distributed nature of git to bear on your large files with
git-annex.

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