add meta todo

This commit is contained in:
Joey Hess 2020-09-24 12:54:54 -04:00
parent 4d4f963c46
commit 6d95361f35
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,19 @@
Several todos need to examine preferred content expressions to see if
any of the terms in them match some criteria.
That includes:
* [[todo/sync_fast_import]]
* [[todo/faster_key_lookup_for_limits]]
* [[todo/skip_first_pass_in_git_annex_sync]]
Internally, preferred content expressions are compiled
into a `Matcher (AssumeNotPresent -> MatchInfo -> Annex Bool)`
The presence of the function there is a problem, because haskell does not
allow comparing functions for equality. So probably what is needed is
something that contains that function but also indicates which preferred
content term it's for.
Or, perhaps, not the term, but the specific criteria needed by each such
todo.

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2020-09-24T16:42:36Z"
content="""
Yes. That would need a way to introspect a preferred content expression
to see if the terms used in it match that criteria.
There are some other todos that also are blocked by the ability to do that,
so I've created a new todo for it.
[[todo/introspect_preferred_content_expressions]]
"""]]