Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Beaton2014-01-27 02:20:59 +0000
committerWayne Beaton2014-01-27 02:20:59 +0000
commitec60d150b4cb7fdae5c174bfc742bdd556798f4c (patch)
treecee9d1e03f59eab368f862829dc74925f16d037c
parent583afcb8a050e62072d5bb555baacb2a4c5f098b (diff)
downloadorg.eclipse.dash.dashboard-ec60d150b4cb7fdae5c174bfc742bdd556798f4c.tar.gz
org.eclipse.dash.dashboard-ec60d150b4cb7fdae5c174bfc742bdd556798f4c.tar.xz
org.eclipse.dash.dashboard-ec60d150b4cb7fdae5c174bfc742bdd556798f4c.zip
Don't gather file information for now (we need more disk space)
-rw-r--r--commits/capture/GitLogCapture.class.inc7
-rwxr-xr-xcommits/capture/create_query_tables.sql30
2 files changed, 19 insertions, 18 deletions
diff --git a/commits/capture/GitLogCapture.class.inc b/commits/capture/GitLogCapture.class.inc
index 74ca45d..f6ca90d 100644
--- a/commits/capture/GitLogCapture.class.inc
+++ b/commits/capture/GitLogCapture.class.inc
@@ -39,9 +39,10 @@ class GitLogCapture extends GitLogProcessor {
}
function addFile($ref, $filename, $added, $removed) {
- $filename = addSlashes($filename);
- $sql = "insert ignore into GitCommitFile (path, ref, file, added, removed) values ('$this->path', '$ref', '$filename', '$added', '$removed')";
- $this->execute($sql);
+// FIXME Don't gather file information for now (we need more disk space).
+// $filename = addSlashes($filename);
+// $sql = "insert ignore into GitCommitFile (path, ref, file, added, removed) values ('$this->path', '$ref', '$filename', '$added', '$removed')";
+// $this->execute($sql);
}
function endCommit($ref) {
diff --git a/commits/capture/create_query_tables.sql b/commits/capture/create_query_tables.sql
index fd902ed..630aaec 100755
--- a/commits/capture/create_query_tables.sql
+++ b/commits/capture/create_query_tables.sql
@@ -32,20 +32,20 @@ create table ProjectCommitterActivity
join GitCommitAuthor as a on c.path=a.path and c.ref=a.ref
where date > NOW() - INTERVAL 3 MONTH group by project, login;
-drop table if exists ProjectActivity;
-create table ProjectActivity
- select yearmonth, count(distinct project)
- from commits
- where login != 'gerrit@eclipse.o'
- group by yearmonth
- order by yearmonth;
+#drop table if exists ProjectActivity;
+#create table ProjectActivity
+# select yearmonth, count(distinct project)
+# from commits
+# where login != 'gerrit@eclipse.o'
+# group by yearmonth
+# order by yearmonth;
-drop table if exists CommitterProjectActivity;
-create table CommitterProjectActivity
- select login, project, yearmonth as period, count(distinct revision) as count
- from commits
- where login != 'gerrit@eclipse.o'
- group by project, login, yearmonth
- order by yearmonth;
-create index login_project on CommitterProjectActivity(login, project);
+#drop table if exists CommitterProjectActivity;
+#create table CommitterProjectActivity
+# select login, project, yearmonth as period, count(distinct revision) as count
+# from commits
+# where login != 'gerrit@eclipse.o'
+# group by project, login, yearmonth
+# order by yearmonth;
+#create index login_project on CommitterProjectActivity(login, project);

Back to the top