Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix migration 0006 breaking because South tries to create the index t…

…wice

Update and indent testdata.json
  • Loading branch information...
commit 6f9d61603c2a1abf91c63157b74c5cc5fb09e6ab 1 parent 4960eeb
@tobami authored
View
1,279 codespeed/fixtures/testdata.json
@@ -1 +1,1278 @@
-[{"pk": 1, "model": "codespeed.project", "fields": {"repo_type": "N", "name": "MyProject", "track": true, "repo_user": "", "repo_pass": "", "repo_path": ""}}, {"pk": 2, "model": "codespeed.project", "fields": {"repo_type": "N", "name": "Other", "track": true, "repo_user": "", "repo_pass": "", "repo_path": ""}}, {"pk": 3, "model": "codespeed.project", "fields": {"repo_type": "N", "name": "BaseProj", "track": false, "repo_user": "", "repo_pass": "", "repo_path": ""}}, {"pk": 1, "model": "codespeed.branch", "fields": {"project": 1, "name": "default"}}, {"pk": 2, "model": "codespeed.branch", "fields": {"project": 1, "name": "feature"}}, {"pk": 3, "model": "codespeed.branch", "fields": {"project": 2, "name": "default"}}, {"pk": 4, "model": "codespeed.branch", "fields": {"project": 3, "name": "default"}}, {"pk": 1, "model": "codespeed.revision", "fields": {"project": 1, "author": "", "commitid": "1", "tag": "", "branch": 1, "date": "2011-04-12 16:43:20", "message": ""}}, {"pk": 2, "model": "codespeed.revision", "fields": {"project": 1, "author": "", "commitid": "2", "tag": "", "branch": 1, "date": "2011-04-13 17:04:22", "message": ""}}, {"pk": 3, "model": "codespeed.revision", "fields": {"project": 1, "author": "", "commitid": "3", "tag": "", "branch": 2, "date": "2011-04-13 12:03:38", "message": ""}}, {"pk": 4, "model": "codespeed.revision", "fields": {"project": 1, "author": "", "commitid": "4", "tag": "", "branch": 2, "date": "2011-04-14 18:04:51", "message": ""}}, {"pk": 5, "model": "codespeed.revision", "fields": {"project": 1, "author": "", "commitid": "5", "tag": "", "branch": 1, "date": "2011-04-14 19:13:05", "message": ""}}, {"pk": 6, "model": "codespeed.revision", "fields": {"project": 2, "author": "", "commitid": "1", "tag": "", "branch": 3, "date": "2011-04-13 12:05:11", "message": ""}}, {"pk": 7, "model": "codespeed.revision", "fields": {"project": 2, "author": "", "commitid": "2", "tag": "", "branch": 3, "date": "2011-04-14 12:05:22", "message": ""}}, {"pk": 8, "model": "codespeed.revision", "fields": {"project": 3, "author": "", "commitid": "444", "tag": "1.0", "branch": 4, "date": "2011-05-24 09:37:32", "message": ""}}, {"pk": 1, "model": "codespeed.executable", "fields": {"project": 1, "name": "myexe O3 64bits", "description": ""}}, {"pk": 2, "model": "codespeed.executable", "fields": {"project": 2, "name": "exe", "description": ""}}, {"pk": 3, "model": "codespeed.executable", "fields": {"project": 3, "name": "baseExe", "description": ""}}, {"pk": 1, "model": "codespeed.benchmark", "fields": {"name": "float", "benchmark_type": "C", "units_title": "Time", "units": "seconds", "lessisbetter": true, "description": ""}}, {"pk": 2, "model": "codespeed.benchmark", "fields": {"name": "int", "benchmark_type": "C", "units_title": "Time", "units": "seconds", "lessisbetter": true, "description": ""}}, {"pk": 1, "model": "codespeed.environment", "fields": {"kernel": "", "memory": "", "os": "", "name": "Dual Core", "cpu": ""}}, {"pk": 2, "model": "codespeed.environment", "fields": {"kernel": "", "memory": "", "os": "", "name": "Quad Core", "cpu": ""}}, {"pk": 1, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 1, "value": 4000.0, "environment": 1, "val_min": 3995.0999999999999, "std_dev": 80.0, "date": "2011-04-13 19:04:00", "val_max": 4001.5999999999999, "revision": 1}}, {"pk": 2, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 1, "value": 2000.0, "environment": 1, "val_min": 1995.0999999999999, "std_dev": 40.100000000000001, "date": "2011-04-13 17:06:19", "val_max": 2001.5999999999999, "revision": 2}}, {"pk": 3, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 1, "value": 2100.0, "environment": 1, "val_min": 995.10000000000002, "std_dev": 70.099999999999994, "date": "2011-04-13 17:06:47", "val_max": 1001.6, "revision": 5}}, {"pk": 4, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 1, "value": 1800.0, "environment": 1, "val_min": 3995.0999999999999, "std_dev": 1.11111, "date": "2011-04-13 19:06:11", "val_max": 4001.5999999999999, "revision": 3}}, {"pk": 5, "model": "codespeed.result", "fields": {"executable": 2, "benchmark": 1, "value": 1000.0, "environment": 1, "val_min": 995.10000000000002, "std_dev": 1.11111, "date": "2011-04-13 19:11:50", "val_max": 1001.6, "revision": 6}}, {"pk": 6, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 1, "value": 3000.0, "environment": 1, "val_min": 2995.0999999999999, "std_dev": 1.11111, "date": "2011-04-13 19:06:58", "val_max": 3001.5999999999999, "revision": 4}}, {"pk": 7, "model": "codespeed.result", "fields": {"executable": 2, "benchmark": 1, "value": 500.0, "environment": 1, "val_min": 495.10000000000002, "std_dev": 1.11111, "date": "2011-04-13 19:12:23", "val_max": 501.60000000000002, "revision": 7}}, {"pk": 8, "model": "codespeed.result", "fields": {"executable": 3, "benchmark": 1, "value": 1850.0, "environment": 1, "val_min": null, "std_dev": 80.0, "date": "2011-05-24 09:38:18", "val_max": null, "revision": 8}}, {"pk": 9, "model": "codespeed.result", "fields": {"executable": 1, "benchmark": 2, "value": 23.0, "environment": 1, "val_min": null, "std_dev": null, "date": "2011-07-03 16:52:15", "val_max": null, "revision": 5}}, {"pk": 1, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "green", "summary": "float -50.0%", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]", "revision": 2}}, {"pk": 3, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "green", "summary": "float -50.0%", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]", "revision": 3}}, {"pk": 4, "model": "codespeed.report", "fields": {"executable": 2, "colorcode": "none", "summary": "", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 995.10000000000002, \"std_dev\": 1.11111, \"result\": 1000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 1001.6, \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]", "revision": 6}}, {"pk": 5, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "none", "summary": "", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 3995.0999999999999, \"std_dev\": 1.11111, \"result\": 4000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 4001.5999999999999, \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]", "revision": 1}}, {"pk": 6, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "green", "summary": "float -50.0%", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]", "revision": 4}}, {"pk": 7, "model": "codespeed.report", "fields": {"executable": 2, "colorcode": "green", "summary": "float -50.0%", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 495.10000000000002, \"std_dev\": 1.11111, \"result\": 500.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 501.60000000000002, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]", "revision": 7}}, {"pk": 8, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "none", "summary": "", "environment": 2, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [], \"hasmax\": false, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": false, \"hasmin\": false, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]", "revision": 5}}, {"pk": 9, "model": "codespeed.report", "fields": {"executable": 1, "colorcode": "red", "summary": "Average time +5.0%", "environment": 1, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 995.10000000000002, \"std_dev\": 1.11111, \"result\": 2100.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 1001.6, \"change\": 5.0}, {\"bench_name\": \"int\", \"val_min\": \"-\", \"std_dev\": \"-\", \"result\": 23.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": \"-\", \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": 5.0000000000000044}}]", "revision": 5}}, {"pk": 10, "model": "codespeed.report", "fields": {"executable": 2, "colorcode": "none", "summary": "", "environment": 2, "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [], \"hasmax\": false, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": false, \"hasmin\": false, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]", "revision": 7}}]
+[
+ {
+ "pk": 17,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "apiaccess",
+ "name": "api access",
+ "app_label": "tastypie"
+ }
+ },
+ {
+ "pk": 18,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "apikey",
+ "name": "api key",
+ "app_label": "tastypie"
+ }
+ },
+ {
+ "pk": 13,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "benchmark",
+ "name": "benchmark",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "branch",
+ "name": "branch",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "contenttype",
+ "name": "content type",
+ "app_label": "contenttypes"
+ }
+ },
+ {
+ "pk": 14,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "environment",
+ "name": "environment",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 12,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "executable",
+ "name": "executable",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "group",
+ "name": "group",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "logentry",
+ "name": "log entry",
+ "app_label": "admin"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "message",
+ "name": "message",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "migrationhistory",
+ "name": "migration history",
+ "app_label": "south"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "permission",
+ "name": "permission",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "project",
+ "name": "project",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 16,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "report",
+ "name": "report",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 15,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "result",
+ "name": "result",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 11,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "revision",
+ "name": "revision",
+ "app_label": "codespeed"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "session",
+ "name": "session",
+ "app_label": "sessions"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "user",
+ "name": "user",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.project",
+ "fields": {
+ "repo_type": "N",
+ "name": "MyProject",
+ "commit_browsing_url": "",
+ "repo_user": "",
+ "track": true,
+ "repo_pass": "",
+ "repo_path": ""
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.project",
+ "fields": {
+ "repo_type": "N",
+ "name": "Other",
+ "commit_browsing_url": "",
+ "repo_user": "",
+ "track": true,
+ "repo_pass": "",
+ "repo_path": ""
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.project",
+ "fields": {
+ "repo_type": "N",
+ "name": "BaseProj",
+ "commit_browsing_url": "",
+ "repo_user": "",
+ "track": false,
+ "repo_pass": "",
+ "repo_path": ""
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.branch",
+ "fields": {
+ "project": 1,
+ "name": "default"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.branch",
+ "fields": {
+ "project": 1,
+ "name": "feature"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.branch",
+ "fields": {
+ "project": 2,
+ "name": "default"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "codespeed.branch",
+ "fields": {
+ "project": 3,
+ "name": "default"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 1,
+ "author": "",
+ "commitid": "1",
+ "tag": "",
+ "branch": 1,
+ "date": "2011-04-12 16:43:20",
+ "message": ""
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 1,
+ "author": "",
+ "commitid": "2",
+ "tag": "",
+ "branch": 1,
+ "date": "2011-04-13 17:04:22",
+ "message": ""
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 1,
+ "author": "",
+ "commitid": "3",
+ "tag": "",
+ "branch": 2,
+ "date": "2011-04-13 12:03:38",
+ "message": ""
+ }
+ },
+ {
+ "pk": 4,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 1,
+ "author": "",
+ "commitid": "4",
+ "tag": "",
+ "branch": 2,
+ "date": "2011-04-14 18:04:51",
+ "message": ""
+ }
+ },
+ {
+ "pk": 5,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 1,
+ "author": "",
+ "commitid": "5",
+ "tag": "",
+ "branch": 1,
+ "date": "2011-04-14 19:13:05",
+ "message": ""
+ }
+ },
+ {
+ "pk": 6,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 2,
+ "author": "",
+ "commitid": "1",
+ "tag": "",
+ "branch": 3,
+ "date": "2011-04-13 12:05:11",
+ "message": ""
+ }
+ },
+ {
+ "pk": 7,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 2,
+ "author": "",
+ "commitid": "2",
+ "tag": "",
+ "branch": 3,
+ "date": "2011-04-14 12:05:22",
+ "message": ""
+ }
+ },
+ {
+ "pk": 8,
+ "model": "codespeed.revision",
+ "fields": {
+ "project": 3,
+ "author": "",
+ "commitid": "444",
+ "tag": "1.0",
+ "branch": 4,
+ "date": "2011-05-24 09:37:32",
+ "message": ""
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.executable",
+ "fields": {
+ "project": 1,
+ "name": "myexe O3 64bits",
+ "description": ""
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.executable",
+ "fields": {
+ "project": 2,
+ "name": "exe",
+ "description": ""
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.executable",
+ "fields": {
+ "project": 3,
+ "name": "baseExe",
+ "description": ""
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.benchmark",
+ "fields": {
+ "name": "float",
+ "benchmark_type": "C",
+ "default_on_comparison": true,
+ "units_title": "Time",
+ "units": "seconds",
+ "lessisbetter": true,
+ "description": ""
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.benchmark",
+ "fields": {
+ "name": "int",
+ "benchmark_type": "C",
+ "default_on_comparison": true,
+ "units_title": "Time",
+ "units": "seconds",
+ "lessisbetter": true,
+ "description": ""
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.environment",
+ "fields": {
+ "kernel": "",
+ "memory": "",
+ "os": "",
+ "name": "Dual Core",
+ "cpu": ""
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.environment",
+ "fields": {
+ "kernel": "",
+ "memory": "",
+ "os": "",
+ "name": "Quad Core",
+ "cpu": ""
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 1,
+ "value": 4000.0,
+ "environment": 1,
+ "val_min": 3995.1,
+ "std_dev": 80.0,
+ "date": "2011-04-13 19:04:00",
+ "val_max": 4001.6,
+ "revision": 1
+ }
+ },
+ {
+ "pk": 2,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 1,
+ "value": 2000.0,
+ "environment": 1,
+ "val_min": 1995.1,
+ "std_dev": 40.1,
+ "date": "2011-04-13 17:06:19",
+ "val_max": 2001.6,
+ "revision": 2
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 1,
+ "value": 2100.0,
+ "environment": 1,
+ "val_min": 995.1,
+ "std_dev": 70.1,
+ "date": "2011-04-13 17:06:47",
+ "val_max": 1001.6,
+ "revision": 5
+ }
+ },
+ {
+ "pk": 4,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 1,
+ "value": 1800.0,
+ "environment": 1,
+ "val_min": 3995.1,
+ "std_dev": 1.11111,
+ "date": "2011-04-13 19:06:11",
+ "val_max": 4001.6,
+ "revision": 3
+ }
+ },
+ {
+ "pk": 5,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 2,
+ "benchmark": 1,
+ "value": 1000.0,
+ "environment": 1,
+ "val_min": 995.1,
+ "std_dev": 1.11111,
+ "date": "2011-04-13 19:11:50",
+ "val_max": 1001.6,
+ "revision": 6
+ }
+ },
+ {
+ "pk": 6,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 1,
+ "value": 3000.0,
+ "environment": 1,
+ "val_min": 2995.1,
+ "std_dev": 1.11111,
+ "date": "2011-04-13 19:06:58",
+ "val_max": 3001.6,
+ "revision": 4
+ }
+ },
+ {
+ "pk": 7,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 2,
+ "benchmark": 1,
+ "value": 500.0,
+ "environment": 1,
+ "val_min": 495.1,
+ "std_dev": 1.11111,
+ "date": "2011-04-13 19:12:23",
+ "val_max": 501.6,
+ "revision": 7
+ }
+ },
+ {
+ "pk": 8,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 3,
+ "benchmark": 1,
+ "value": 1850.0,
+ "environment": 1,
+ "val_min": null,
+ "std_dev": 80.0,
+ "date": "2011-05-24 09:38:18",
+ "val_max": null,
+ "revision": 8
+ }
+ },
+ {
+ "pk": 9,
+ "model": "codespeed.result",
+ "fields": {
+ "executable": 1,
+ "benchmark": 2,
+ "value": 23.0,
+ "environment": 1,
+ "val_min": null,
+ "std_dev": null,
+ "date": "2011-07-03 16:52:15",
+ "val_max": null,
+ "revision": 5
+ }
+ },
+ {
+ "pk": 1,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "green",
+ "summary": "float -50.0%",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]",
+ "revision": 2
+ }
+ },
+ {
+ "pk": 3,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "green",
+ "summary": "float -50.0%",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]",
+ "revision": 3
+ }
+ },
+ {
+ "pk": 4,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 2,
+ "colorcode": "none",
+ "summary": "",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 995.10000000000002, \"std_dev\": 1.11111, \"result\": 1000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 1001.6, \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]",
+ "revision": 6
+ }
+ },
+ {
+ "pk": 5,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "none",
+ "summary": "",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 3995.0999999999999, \"std_dev\": 1.11111, \"result\": 4000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 4001.5999999999999, \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]",
+ "revision": 1
+ }
+ },
+ {
+ "pk": 6,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "green",
+ "summary": "float -50.0%",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 1995.0999999999999, \"std_dev\": 1.11111, \"result\": 2000.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 2001.5999999999999, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]",
+ "revision": 4
+ }
+ },
+ {
+ "pk": 7,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 2,
+ "colorcode": "green",
+ "summary": "float -50.0%",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 495.10000000000002, \"std_dev\": 1.11111, \"result\": 500.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 501.60000000000002, \"change\": -50.0}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": -50.0}}]",
+ "revision": 7
+ }
+ },
+ {
+ "pk": 8,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "none",
+ "summary": "",
+ "environment": 2,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [], \"hasmax\": false, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": false, \"hasmin\": false, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]",
+ "revision": 5
+ }
+ },
+ {
+ "pk": 9,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 1,
+ "colorcode": "red",
+ "summary": "Average time +5.0%",
+ "environment": 1,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [{\"bench_name\": \"float\", \"val_min\": 995.10000000000002, \"std_dev\": 1.11111, \"result\": 2100.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": 1001.6, \"change\": 5.0}, {\"bench_name\": \"int\", \"val_min\": \"-\", \"std_dev\": \"-\", \"result\": 23.0, \"trend\": \"-\", \"bench_description\": \"\", \"val_max\": \"-\", \"change\": \"-\"}], \"hasmax\": true, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": true, \"hasmin\": true, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": 5.0000000000000044}}]",
+ "revision": 5
+ }
+ },
+ {
+ "pk": 10,
+ "model": "codespeed.report",
+ "fields": {
+ "executable": 2,
+ "colorcode": "none",
+ "summary": "",
+ "environment": 2,
+ "_tablecache": "[{\"units_title\": \"Time\", \"rows\": [], \"hasmax\": false, \"precission\": 2, \"units\": \"seconds\", \"has_stddev\": false, \"hasmin\": false, \"lessisbetter\": true, \"totals\": {\"trend\": \"-\", \"change\": \"-\"}}]",
+ "revision": 7
+ }
+ },
+ {
+ "pk": 1,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:44:14",
+ "app_name": "codespeed",
+ "migration": "0001_initial"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:44:15",
+ "app_name": "codespeed",
+ "migration": "0002_auto__chg_field_report_summary"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:44:16",
+ "app_name": "codespeed",
+ "migration": "0003_auto__add_field_revision_branch"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:44:16",
+ "app_name": "codespeed",
+ "migration": "0004_auto__add_branch"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:44:17",
+ "app_name": "codespeed",
+ "migration": "0005_auto__del_unique_revision_commitid_project__add_unique_revision_commit"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:32",
+ "app_name": "codespeed",
+ "migration": "0006_auto__chg_field_revision_branch"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:33",
+ "app_name": "codespeed",
+ "migration": "0007_auto__del_unique_revision_commitid_project_branch__add_unique_revision"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:33",
+ "app_name": "codespeed",
+ "migration": "0008_auto__chg_field_benchmark_description"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:34",
+ "app_name": "codespeed",
+ "migration": "0009_auto__chg_field_revision_project"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:34",
+ "app_name": "codespeed",
+ "migration": "0010_auto__add_field_benchmark_default_on_comparison"
+ }
+ },
+ {
+ "pk": 11,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:35",
+ "app_name": "codespeed",
+ "migration": "0011_auto__add_field_project_commit_browsing_url"
+ }
+ },
+ {
+ "pk": 12,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:35",
+ "app_name": "codespeed",
+ "migration": "0011_auto__del_unique_executable_name__add_unique_executable_project_name"
+ }
+ },
+ {
+ "pk": 13,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-08-24 11:48:36",
+ "app_name": "tastypie",
+ "migration": "0001_initial"
+ }
+ },
+ {
+ "pk": 19,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_logentry",
+ "name": "Can add log entry",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 20,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_logentry",
+ "name": "Can change log entry",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 21,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_logentry",
+ "name": "Can delete log entry",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 4,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_group",
+ "name": "Can add group",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 5,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_group",
+ "name": "Can change group",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 6,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_group",
+ "name": "Can delete group",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 10,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_message",
+ "name": "Can add message",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 11,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_message",
+ "name": "Can change message",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 12,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_message",
+ "name": "Can delete message",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 1,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_permission",
+ "name": "Can add permission",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 2,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_permission",
+ "name": "Can change permission",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 3,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_permission",
+ "name": "Can delete permission",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 7,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_user",
+ "name": "Can add user",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 8,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_user",
+ "name": "Can change user",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 9,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_user",
+ "name": "Can delete user",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 37,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_benchmark",
+ "name": "Can add benchmark",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 38,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_benchmark",
+ "name": "Can change benchmark",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 39,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_benchmark",
+ "name": "Can delete benchmark",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 28,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_branch",
+ "name": "Can add branch",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 29,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_branch",
+ "name": "Can change branch",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 30,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_branch",
+ "name": "Can delete branch",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 40,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_environment",
+ "name": "Can add environment",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 41,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_environment",
+ "name": "Can change environment",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 42,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_environment",
+ "name": "Can delete environment",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 34,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_executable",
+ "name": "Can add executable",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 35,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_executable",
+ "name": "Can change executable",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 36,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_executable",
+ "name": "Can delete executable",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 25,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_project",
+ "name": "Can add project",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 26,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_project",
+ "name": "Can change project",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 27,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_project",
+ "name": "Can delete project",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 46,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_report",
+ "name": "Can add report",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 47,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_report",
+ "name": "Can change report",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 48,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_report",
+ "name": "Can delete report",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 43,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_result",
+ "name": "Can add result",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 44,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_result",
+ "name": "Can change result",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 45,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_result",
+ "name": "Can delete result",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 31,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_revision",
+ "name": "Can add revision",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 32,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_revision",
+ "name": "Can change revision",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 33,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_revision",
+ "name": "Can delete revision",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 13,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_contenttype",
+ "name": "Can add content type",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 14,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_contenttype",
+ "name": "Can change content type",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 15,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_contenttype",
+ "name": "Can delete content type",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 16,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_session",
+ "name": "Can add session",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 17,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_session",
+ "name": "Can change session",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 18,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_session",
+ "name": "Can delete session",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 22,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_migrationhistory",
+ "name": "Can add migration history",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 23,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_migrationhistory",
+ "name": "Can change migration history",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 24,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_migrationhistory",
+ "name": "Can delete migration history",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 49,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_apiaccess",
+ "name": "Can add api access",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 50,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_apiaccess",
+ "name": "Can change api access",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 51,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_apiaccess",
+ "name": "Can delete api access",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 52,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_apikey",
+ "name": "Can add api key",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 53,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_apikey",
+ "name": "Can change api key",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 54,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_apikey",
+ "name": "Can delete api key",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 1,
+ "model": "auth.user",
+ "fields": {
+ "username": "admin",
+ "first_name": "",
+ "last_name": "",
+ "is_active": true,
+ "is_superuser": true,
+ "is_staff": true,
+ "last_login": "2012-08-24 06:44:04",
+ "groups": [],
+ "user_permissions": [],
+ "password": "sha1$251fa$210e2456eeadff6207cbd27cee3899bc90fa2d47",
+ "email": "a@a.com",
+ "date_joined": "2012-08-24 06:44:04"
+ }
+ }
+]
View
4 codespeed/migrations/0006_auto__chg_field_revision_branch.py
@@ -14,7 +14,9 @@ def forwards(self, orm):
db.alter_column('codespeed_revision', 'branch_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['codespeed.Branch']))
# Adding index on 'Revision', fields ['branch']
- db.create_index('codespeed_revision', ['branch_id'])
+ # NOTE: commented out because it can cause an
+ # "index codespeed_revision_d56253ba already exists"
+ # db.create_index('codespeed_revision', ['branch_id'])
def backwards(self, orm):
Please sign in to comment.
Something went wrong with that request. Please try again.