gitqlite - Hacer consultas SQL en un repo Git
(github.com)<p>- Implementa el contenido del repo como una tabla virtual de SQLite usando go-git <br />
- Se puede usar como `gitqlite "SELECT * from commits"`<br />
- Tablas y campos: <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>
Aún no hay comentarios.