summaryrefslogtreecommitdiffstats
path: root/main/fixtures
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-25 14:09:52 -0500
committerDan McGee <dan@archlinux.org>2010-08-25 14:12:14 -0500
commit6da97045a61dd6ac560aee5e44553e09e23dacab (patch)
tree930409fd10e06a4ebdb2d64b1a42fe59b713c662 /main/fixtures
parent94fe9fc548b5437142ca31239f2663100079ad66 (diff)
downloadarchweb-6da97045a61dd6ac560aee5e44553e09e23dacab.tar.gz
archweb-6da97045a61dd6ac560aee5e44553e09e23dacab.zip
Simple migration to populate repo data
Also update the repos fixture to include the new fields and [multilib] repository. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/fixtures')
-rw-r--r--main/fixtures/repos.json30
1 files changed, 25 insertions, 5 deletions
diff --git a/main/fixtures/repos.json b/main/fixtures/repos.json
index b702893c..bc474d3e 100644
--- a/main/fixtures/repos.json
+++ b/main/fixtures/repos.json
@@ -3,40 +3,60 @@
"pk": 5,
"model": "main.repo",
"fields": {
+ "svn_root": "community",
"testing": false,
- "name": "Community"
+ "name": "Community",
+ "bugs_project": 5
}
},
{
"pk": 6,
"model": "main.repo",
"fields": {
+ "svn_root": "community",
"testing": true,
- "name": "Community-Testing"
+ "name": "Community-Testing",
+ "bugs_project": 5
}
},
{
"pk": 1,
"model": "main.repo",
"fields": {
+ "svn_root": "packages",
"testing": false,
- "name": "Core"
+ "name": "Core",
+ "bugs_project": 1
}
},
{
"pk": 2,
"model": "main.repo",
"fields": {
+ "svn_root": "packages",
"testing": false,
- "name": "Extra"
+ "name": "Extra",
+ "bugs_project": 1
+ }
+ },
+ {
+ "pk": 7,
+ "model": "main.repo",
+ "fields": {
+ "svn_root": "community",
+ "testing": false,
+ "name": "Multilib",
+ "bugs_project": 5
}
},
{
"pk": 3,
"model": "main.repo",
"fields": {
+ "svn_root": "packages",
"testing": true,
- "name": "Testing"
+ "name": "Testing",
+ "bugs_project": 1
}
}
]