gitqlite - SQL-Abfragen auf Git-Repos ausführen
(github.com)-
Implementiert den Inhalt eines Repos mit go-git als Virtual Table in SQLite
-
Kann wie
gitqlite "SELECT * from commits"verwendet werden -
Tabellen & Felder:
→ commits : id, message, summary, author, commiter, parent_id..
→ files : commit_id, name, type, contents..
→ refs : name, type, hash
SELECT count(*) AS commits, SUM(additions) AS additions, SUM(deletions) AS deletions, author_email FROM commits GROUP BY author_email ORDER BY commits
Noch keine Kommentare.