summaryrefslogtreecommitdiffstats
path: root/main/fixtures
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-22 09:10:09 -0500
committerDan McGee <dan@archlinux.org>2013-04-22 09:13:12 -0500
commit007b8d7573b64fd7f17023fa0288ba79e05683c4 (patch)
tree12017c2b4ccb8fbc59049f8312e80eec7f5438ba /main/fixtures
parenta8203a0a17fbd8680f96c9357c7fba5923960e34 (diff)
downloadarchweb-007b8d7573b64fd7f17023fa0288ba79e05683c4.tar.gz
archweb-007b8d7573b64fd7f17023fa0288ba79e05683c4.zip
Add 'required_signoffs' field to Arch model
This will indicate how many signoffs are required for packages of the given architecture. Set the default to 2 as it currently stands. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/fixtures')
-rw-r--r--main/fixtures/arches.json49
1 files changed, 26 insertions, 23 deletions
diff --git a/main/fixtures/arches.json b/main/fixtures/arches.json
index 6334c2d3..1ece16c9 100644
--- a/main/fixtures/arches.json
+++ b/main/fixtures/arches.json
@@ -1,26 +1,29 @@
[
- {
- "pk": 1,
- "model": "main.arch",
- "fields": {
- "agnostic": true,
- "name": "any"
- }
- },
- {
- "pk": 2,
- "model": "main.arch",
- "fields": {
- "agnostic": false,
- "name": "i686"
- }
- },
- {
- "pk": 3,
- "model": "main.arch",
- "fields": {
- "agnostic": false,
- "name": "x86_64"
- }
+{
+ "pk": 1,
+ "model": "main.arch",
+ "fields": {
+ "agnostic": true,
+ "name": "any",
+ "required_signoffs": 2
}
+},
+{
+ "pk": 2,
+ "model": "main.arch",
+ "fields": {
+ "agnostic": false,
+ "name": "i686",
+ "required_signoffs": 1
+ }
+},
+{
+ "pk": 3,
+ "model": "main.arch",
+ "fields": {
+ "agnostic": false,
+ "name": "x86_64",
+ "required_signoffs": 2
+ }
+}
]