projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2725d9
)
Make redis-to-postgres also copy the tests column of problems
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 24 Mar 2014 18:36:14 +0000
(20:36 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 24 Mar 2014 18:56:58 +0000
(20:56 +0200)
redis-to-postgres
patch
|
blob
|
blame
|
history
diff --git
a/redis-to-postgres
b/redis-to-postgres
index 5ed15759c70594bffcec9ee8b7074f52d3aa6950..330d5a6e0cee6c140d62fc8b30443089eadc5de9 100755
(executable)
--- a/
redis-to-postgres
+++ b/
redis-to-postgres
@@
-37,6
+37,7
@@
for (problems) {
statement => problem_statement,
testcnt => problem_testcnt() // $meta->{testcnt},
timeout => problem_timeout() // $meta->{timeout},
+ (problem_runner() // $meta->{runner}) eq 'File' ? (tests => encode_json $meta->{tests}) : (),
exists $meta->{files} ? (versource => $meta->{files}{ver}{content}, verformat => $meta->{files}{ver}{format}) : ()
})
}
This page took
0.011138 seconds
and
4
git commands to generate.