From: Wolf Vollprecht Date: Wed, 15 Jan 2020 17:37:30 +0000 (+0100) Subject: add parsing of the packages.conda key X-Git-Tag: 0.7.12~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05023429185787a277beb8a874979c757802e9f;p=thirdparty%2Flibsolv.git add parsing of the packages.conda key --- diff --git a/ext/repo_conda.c b/ext/repo_conda.c index 9352b71e..6d252591 100644 --- a/ext/repo_conda.c +++ b/ext/repo_conda.c @@ -163,6 +163,10 @@ parse_main(struct parsedata *pd, struct solv_jsonparser *jp) type = parse_packages(pd, jp); if (type == JP_ARRAY && !strcmp("packages", jp->key)) type = parse_packages2(pd, jp); + if (type == JP_OBJECT && !strcmp("packages.conda", jp->key)) + type = parse_packages(pd, jp); + if (type == JP_ARRAY && !strcmp("packages.conda", jp->key)) + type = parse_packages2(pd, jp); else type = jsonparser_skip(jp, type); }