5 puntos por xguru 2020-07-05 | Aún no hay comentarios. | Compartir por WhatsApp
  • Implementa el contenido del repo como una tabla virtual de SQLite usando go-git

  • Se puede usar como gitqlite "SELECT * from commits"

  • Tablas y campos:

→ 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

Aún no hay comentarios.

Aún no hay comentarios.