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