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 8af6d2c3c5
fix encryption of content to gcrypt and git-lfs
Fix serious regression in gcrypt and encrypted git-lfs remotes.
Since version 7.20200202.7, git-annex incorrectly stored content
on those remotes without encrypting it.

Problem was, Remote.Git enumerates all git remotes, including git-lfs
and gcrypt. It then dispatches to those. So, Remote.List used the
RemoteConfigParser from Remote.Git, instead of from git-lfs or gcrypt,
and that parser does not know about encryption fields, so did not
include them in the ParsedRemoteConfig. (Also didn't include other
fields specific to those remotes, perhaps chunking etc also didn't
get through.)

To fix, had to move RemoteConfig parsing down into the generate methods
of each remote, rather than doing it in Remote.List.

And a consequence of that was that ParsedRemoteConfig had to change to
include the RemoteConfig that got parsed, so that testremote can
generate a new remote based on an existing remote.

(I would have rather fixed this just inside Remote.Git, but that was not
practical, at least not w/o re-doing work that Remote.List already did.
Big ugly mostly mechanical patch seemed preferable to making git-annex
slower.)
2020-02-26 18:05:36 -04:00
Annex fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Assistant fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Backend fix ByteString conversion on windows 2019-12-18 13:32:56 -04:00
Build force move 2019-12-31 18:09:17 -04:00
CmdLine initremote --describe-other-params 2020-01-20 16:05:51 -04:00
Command fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Config separate RemoteConfig parsing basically working 2020-01-14 12:35:08 -04:00
Database ifdef persistent-template 2.8.0 fixes 2020-02-04 13:53:00 -04:00
debian add libghc-filepath-bytestring-dev build dep 2019-12-27 15:10:11 -04:00
doc Added a comment: Avoid fetching from special remotes 2020-02-19 00:22:06 +00:00
Git support git remotes that need http basic auth 2020-01-22 16:16:19 -04:00
Limit convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Logs annex.tune.branchhash1=true bugfix 2020-02-14 15:22:48 -04:00
Messages handle git-credential prompt in -J mode 2020-01-22 16:42:15 -04:00
P2P use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
Remote fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
RemoteDaemon use fromRepo 2019-11-12 10:32:14 -04:00
standalone Display a warning when concurrency is enabled but ssh connection caching is not enabled or won't work due to a crippled filesystem 2020-01-23 12:35:46 -04:00
static
templates cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Test all commands building except for assistant 2019-12-05 14:41:18 -04:00
Types fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Upgrade annex.tune.branchhash1=true bugfix 2020-02-14 15:22:48 -04:00
Utility handle git-credential prompt in -J mode 2020-01-22 16:42:15 -04:00
.ghci avoid ghci warning on tabs 2019-01-21 12:35:44 -04:00
.gitattributes
.gitignore
.mailmap
Annex.hs git-annex config annex.largefiles 2019-12-20 13:01:41 -04:00
Assistant.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Backend.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
bash-completion.bash
Benchmark.hs
build.bat
BuildFlags.hs Drop support for building with aws older than 0.14. 2019-04-19 14:27:59 -04:00
BuildInfo.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CHANGELOG fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
CmdLine.hs get rid of implicitMessages state 2019-06-12 14:01:41 -04:00
Command.hs remove most remnants of direct mode 2019-08-26 16:27:48 -04:00
Common.hs
Config.hs separate RemoteConfig parsing basically working 2020-01-14 12:35:08 -04:00
COPYRIGHT 2020 2020-01-10 10:47:59 -04:00
Creds.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Crypto.hs separate RemoteConfig parsing basically working 2020-01-14 12:35:08 -04:00
ghci
git-annex.cabal releasing package git-annex version 7.20200219 2020-02-19 12:45:30 -04:00
git-annex.hs include git-annex-shell back in 2019-12-02 11:51:52 -04:00
git-union-merge.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Git.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Jenkinsfile
Key.hs fix Arbitrary AssociatedFile to not crash when LANG=C 2020-02-02 16:37:25 -04:00
Limit.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
Logs.hs annex.tune.branchhash1=true bugfix 2020-02-14 15:22:48 -04:00
Makefile Makefile: Really move the fish completion to the vendor_completions.d directory. 2020-02-04 12:10:09 -04:00
Messages.hs handle git-credential prompt in -J mode 2020-01-22 16:42:15 -04:00
NEWS fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
README
Remote.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Setup.hs
stack-lts-12.14.yaml add filepath-bytestring 2019-12-27 15:20:46 -04:00
stack.yaml adjust filepath-bytestring deps 2019-12-30 11:43:15 -04:00
Test.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Types.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Upgrade.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -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/>