diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2018-06-15 10:59:20 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2018-06-15 10:59:20 +0200 |
commit | 5942b0aeb97636203d6f7754908ff92fe3ba6830 (patch) | |
tree | 1ab4763ac95fd5d763dd9c5d835744314b3ad274 /data/config.json | |
parent | b87db43d7bc3041cb2fd6a766fa4244605c0263a (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.json | 12 |
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"} + ] } |