News for hackers. Stuff that matters.
Re:Gitqlite: Query Git Repositories with SQL by sdesol on Sunday July 05, 2020 @03:42PM (#23741298)
> Do you store lines or full blobs at all? That's really where I came unglued on my first pass. I still want to reintroduce them somehow so that researchers can study changes more closely

No, since Git does a pretty good job of efficiently storing blobs. I would like to be able to execute

"select blob from blobs where sha=<some sha>"

but I can't justify the overhead of storing this in a database. This isn't to say I won't in the future, but if I do, I'll probably introduce a key/value DB for this, instead of using postgres. I do index blobs and diffs with lucene though. I also store the diffs in postgres.

Since Git does a very good job of storing blobs, I really can't justify using a DB just yet.

> What I'm doing looks to be a first for VMware, so we're moving cautiously

Understood.

There are no comments on this comment yet.