diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-11-28 18:08:02 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-11-28 18:08:02 -0400 |
commit | ffa49c5199490976f36c541465e753e806022354 (patch) | |
tree | 801fc3dcb542e5d7579fe4acb812f98308c69394 | |
parent | 916e12461f581393aa97dd31d4c996d3aede68be (diff) |
response
-rw-r--r-- | doc/forum/ga_dev_newbie_Q__58___pointers_to_start_playing_with_metadata_cache_plz/comment_4_750e5eaac44e53030be18858c03cbe6c._comment | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/forum/ga_dev_newbie_Q__58___pointers_to_start_playing_with_metadata_cache_plz/comment_4_750e5eaac44e53030be18858c03cbe6c._comment b/doc/forum/ga_dev_newbie_Q__58___pointers_to_start_playing_with_metadata_cache_plz/comment_4_750e5eaac44e53030be18858c03cbe6c._comment new file mode 100644 index 000000000..fa96166ec --- /dev/null +++ b/doc/forum/ga_dev_newbie_Q__58___pointers_to_start_playing_with_metadata_cache_plz/comment_4_750e5eaac44e53030be18858c03cbe6c._comment @@ -0,0 +1,22 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2017-11-28T21:47:54Z" + content=""" +Yeah, you found the stuff. That's as far as the metadata cache idea has +gotten yet. I've restored the missing "database" branch, which was just +that commit you found. + +I do hope to circle back around to this eventually to speed up generating +views and other metadata queries. + +But, as a programmer, you could create your own sqlite database and put +metadata about your git-annex repository in it. Using +`git annex metadata --batch --json` you can query git-annex +for metadata about your files as fast as it can pull it out of git, +and shove it into your database, and then write your own sql queries. + +That would be a good first step, because working with real-world +data would help develop the sql schema and see if it'll be fast enough to +bother with putting into git-annex. +"""]] |