gitqlite - Git Repo पर SQL क्वेरी करें
(github.com)-
go-git का उपयोग करके Repo की सामग्री को SQLite की Virtual Table के रूप में इम्प्लीमेंट किया गया
-
gitqlite "SELECT * from commits"की तरह इस्तेमाल किया जा सकता है -
टेबल और फ़ील्ड :
→ 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
अभी कोई टिप्पणी नहीं है.