Future proof activity log parsing
authorJoey Hess <joeyh@joeyh.name>
Mon, 14 Jun 2021 18:18:06 +0000 (14:18 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 14 Jun 2021 18:18:19 +0000 (14:18 -0400)
commit78da00c7a64c61dd4b4ffe8eeb3f462b7e6772b7
tree66ef25dc61f20288dfa29f1b90500e4572eb9f82
parent372ace599a41aec4c30ddf9d7814f18a0d6751c9
Future proof activity log parsing

When the log has an activity that is not known, eg added by a future
version of git-annex, it used to be treated as no activity at all,
which would make git-annex expire think it should expire the repository,
despite it having some kind of recent activity.

Hopefully there will be no reason to add a new activity until enough
time has passed that this commit is in use everywhere.

Sponsored-by: Jake Vosloo on Patreon
CHANGELOG
Command/Expire.hs
Logs/Activity.hs
doc/todo/trust_based_on_time_since_last_fsck/comment_1_3805e8dd9e6dd986c097c6f1b78ab244._comment [new file with mode: 0644]
doc/todo/trust_based_on_time_since_last_fsck/comment_2_ec1b87b389dc06440df04c9a719e0cbc._comment [new file with mode: 0644]
doc/todo/trust_based_on_time_since_last_fsck/comment_3_23f37b9d8b877b829e34e6c8ea6b40c4._comment [new file with mode: 0644]