git-annex/Command
Joey Hess 9cebfd7002
purify exportActions
Purifying exportActions will allow introspecting and modifying it,
which is needed to add progress bar display to it.

Only S3 and WebDAV ran an Annex action while constructing ExportActions.
There was a small performance gain from them doing that, since a
resource was able to be prepared and reused for multiple actions by
Command.Export.

As seen in commit 809cfbbd8a and
5d394023eb S3 and WebDAV actually create a
new handle for each access in normal, non-export use. It doesn't seem
worth making export use of them marginally more efficient than normal
use. It would be better to do that work upfront when constructing the
remote. Or perhaps use a MVar to cache a handle.

This commit was sponsored by Nick Piper on Patreon.
2019-01-30 15:11:40 -04:00
..
Add.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
AddUnused.hs avoid creating work tree files in subdirectories in an edge case 2019-01-14 13:14:25 -04:00
AddUrl.hs Revert "cache the serialization of a Key" 2019-01-16 16:21:59 -04:00
Adjust.hs adjust --hide-missing 2018-10-18 15:32:42 -04:00
Assistant.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Benchmark.hs build cleanrly when benchmark flag is not enabled 2019-01-05 08:09:28 -04:00
CalcKey.hs shorten some too-long descriptions 2019-01-16 14:16:32 -04:00
CheckPresentKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
Commit.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Config.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
ConfigList.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
ContentLocation.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
Copy.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Dead.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Describe.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
DiffDriver.hs use ByteStrings when reading annex symlinks and pointers 2019-01-14 15:37:08 -04:00
Direct.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Drop.hs check onlyActionOn in Drop 2018-11-15 15:43:51 -04:00
DropKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
DropUnused.hs dropunused edge case when annex.thin caused unused object to be modified 2018-12-04 12:20:34 -04:00
EnableRemote.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
EnableTor.hs instrument P2P --debug with connection and thread info 2018-10-22 15:52:11 -04:00
ExamineKey.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Expire.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Export.hs purify exportActions 2019-01-30 15:11:40 -04:00
Find.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
FindRef.hs add --branch option to git-annex find and mildly deprecate findref in favor of it 2018-12-09 14:10:37 -04:00
Fix.hs high-res mtimes 2018-10-30 00:41:26 -04:00
Forget.hs showStart variant for when there's no worktree file 2017-11-28 15:14:16 -04:00
FromKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
Fsck.hs use ByteStrings when reading annex symlinks and pointers 2019-01-14 15:37:08 -04:00
FuzzTest.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
GCryptSetup.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Get.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Group.hs newtype Group to ByteString 2019-01-09 15:05:49 -04:00
GroupWanted.hs newtype Group to ByteString 2019-01-09 15:05:49 -04:00
Help.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Import.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
ImportFeed.hs fix build with old version of feed 2019-01-18 14:16:22 -04:00
InAnnex.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Indirect.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Info.hs shorten some too-long descriptions 2019-01-16 14:16:32 -04:00
Init.hs snap --version= to auto-upgrade 2018-10-26 11:44:05 -04:00
InitRemote.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Inprogress.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
List.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Lock.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
LockContent.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
Log.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
LookupKey.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Map.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
MatchExpression.hs matchexpression: Added --largefiles option to parse an annex.largefiles expression. 2016-02-03 16:58:36 -04:00
Merge.hs refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
MetaData.hs fix build with old version of optparse-applicative 2019-01-18 14:20:44 -04:00
Migrate.hs migrate: Fix failure to migrate from URL keys. (Reversion introduced in version 6.20180926) 2018-10-29 16:36:36 -04:00
Mirror.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Move.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Multicast.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
NotifyChanges.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
NumCopies.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
P2P.hs clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
P2PStdIO.hs clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
PostReceive.hs refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
PreCommit.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Proxy.hs misctmp cleanup 2019-01-17 16:02:22 -04:00
ReadPresentKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
RecvKey.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
RegisterUrl.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
Reinit.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Reinject.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
ReKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
RemoteDaemon.hs remotedaemon: serve tor hidden service 2016-11-20 15:48:12 -04:00
Repair.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Required.hs started converting to use optparse-applicative 2015-07-08 13:36:25 -04:00
ResolveMerge.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
RmUrl.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
Schedule.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Semitrust.hs convert all commands to work with optparse-applicative 2015-07-08 15:08:02 -04:00
SendKey.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
SetKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
SetPresentKey.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
Smudge.hs use ByteStrings when reading annex symlinks and pointers 2019-01-14 15:37:08 -04:00
Status.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Sync.hs purify exportActions 2019-01-30 15:11:40 -04:00
Test.hs remove leftovers from removed TestSuite build flag 2018-11-19 12:39:16 -04:00
TestRemote.hs purify exportActions 2019-01-30 15:11:40 -04:00
TransferInfo.hs rest of the deserializeKey renameing 2019-01-14 13:17:47 -04:00
TransferKey.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
TransferKeys.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Trust.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Unannex.hs fix layout 2019-01-01 12:31:03 -04:00
Undo.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Ungroup.hs newtype Group to ByteString 2019-01-09 15:05:49 -04:00
Uninit.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Unlock.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Untrust.hs convert all commands to work with optparse-applicative 2015-07-08 15:08:02 -04:00
Unused.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Upgrade.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
VAdd.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
VCycle.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Version.hs make everything build again after ByteString Key changes 2019-01-11 16:39:46 -04:00
VFilter.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Vicfg.hs newtype Group to ByteString 2019-01-09 15:05:49 -04:00
View.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
VPop.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Wanted.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00
Watch.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
WebApp.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Whereis.hs move commandAction out of CmdLine.Seek 2018-10-01 14:12:06 -04:00