Commit 60ac7ee1 authored by inkhey's avatar inkhey

first time implementation

parent 1f8571b9
......@@ -199,7 +199,7 @@ class sqlGit(object):
"" as email,
"" as subject,
"" as abbrev_hash,
0 as date,
"" as date,
"file" as type,
dir || name as label
from file
......@@ -211,7 +211,7 @@ class sqlGit(object):
email as email,
"" as subject,
"" as abbrev_hash,
0 as date,
"" as date,
"author" as type,
name as label
from author
......@@ -223,7 +223,7 @@ class sqlGit(object):
"" as email,
subject as subject,
abbrev_hash as abbrev_hash,
date as date,
datetime(date, 'unixepoch') as date,
"commit" as type,
abbrev_hash as label
from commits;
......@@ -273,8 +273,8 @@ class sqlGit(object):
lfc.dir || lfc.file as target,
count(distinct(c.hash)) as nb_commit,
count(distinct(c.hash)) as weight,
min(c.date) as date_first_commit,
max(c.date) as date_last_commit
datetime(min(c.date),'unixepoch') as date_first_commit,
datetime(max(c.date),'unixepoch') as date_last_commit
from
link_author_commits lac
join
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment