git-annex/Logs
Joey Hess ee251b2e2e
implement updating the ContentIdentifier db with info from the git-annex branch
untested

This won't be super slow, but it does need to diff two likely large
trees, and since the git-annex branch rarely sits still, it will most
likely be run at the beginning of every import.

A possible speed improvement would be to only run this when the database
did not contain a ContentIdentifier. But that would only speed up
imports when there is no new version of a file on the special remote,
at most renames of existing files being imported.

A better speed improvement would be to record something in the git-annex
branch that indicates when an import has been run, and only do the diff
if the git-annex branch has record of a newer import than we've seen
before. Then, it would only run when there is in fact new
ContentIdentifier information available from a remote. Certianly doable,
but didn't want to complicate things yet.
2019-03-06 18:04:30 -04:00
..
Chunk attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
ContentIdentifier speed up slow quickcheck test 2019-03-06 16:43:41 -04:00
Difference renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
MetaData follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
PreferredContent renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Presence quickcheck property for parsing of content identifier logs 2019-02-21 13:17:43 -04:00
SingleValue converting more log files to use Builder 2019-01-09 13:06:37 -04:00
Trust renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Activity.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Chunk.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Config.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
ContentIdentifier.hs implement updating the ContentIdentifier db with info from the git-annex branch 2019-03-06 18:04:30 -04:00
Difference.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Export.hs optimisation: use graftTree to remember the export branch 2019-02-22 11:16:22 -04:00
File.hs defer updating unlocked files until after smudge filter 2018-10-25 15:08:20 -04:00
FsckResults.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
Group.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Line.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Location.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00
MapLog.hs quickcheck property for parsing of content identifier logs 2019-02-21 13:17:43 -04:00
MetaData.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Multicast.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
NumCopies.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
PreferredContent.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
Presence.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00
Remote.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
RemoteState.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Schedule.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
SingleValue.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Smudge.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Transfer.hs add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Transitions.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Trust.hs don't untrust appendonly exports 2018-08-30 11:48:04 -04:00
Unused.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
UUID.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
UUIDBased.hs renamings to make clean when old-format logs are being used 2019-02-21 13:43:44 -04:00
View.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Web.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00