summaryrefslogtreecommitdiffstats
path: root/data/config.json
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2018-06-15 10:59:20 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2018-06-15 10:59:20 +0200
commitebe678460d2044fe6c4ea52c707e2a76e0187b76 (patch)
tree38cba22bc0894eed41b67e662684f179a770c952 /data/config.json
parent6ebaabcfa933fd1e69b533719c260b25baa5747b (diff)
sources: add name and path info
This avoids having to guess the name from the path.
Diffstat (limited to 'data/config.json')
-rw-r--r--data/config.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/config.json b/data/config.json
index 9c62a4fe9e..1509d28988 100644
--- a/data/config.json
+++ b/data/config.json
@@ -83,10 +83,10 @@
"release": "unstable"
}
},
- "sources": {
- "/CVE/list": "CVEFile",
- "/DSA/list": "DSAFile",
- "/DTSA/list": "DTSAFile",
- "/DLA/list": "DSAFile"
- }
+ "sources": [
+ {"name": "CVE", "path": "/CVE/list", "class": "CVEFile"},
+ {"name": "DSA", "path": "/DSA/list", "class": "DSAFile"},
+ {"name": "DTSA", "path": "/DTSA/list", "class": "DTSAFile"},
+ {"name": "DLA", "path": "/DLA/list", "class": "DSAFile"}
+ ]
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy