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 | 695f2c7a9d47a1e6ae54e42c1d3ccb191480bb60 (patch) | |
tree | 42c835faef4e12a4eb6280d68c30d8cd42927abe /data/config.json | |
parent | 13082f6f6bec6e81e621809999c34d01b2d85e0b (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"} + ] } |