dnf-json: Add repo_id to dump package.

The dump function will be used to search packages and as we are implementing third party repositories, adding the repo_id of the package will allow us to identify the package repository used.
This commit is contained in:
Djebran Lezzoum 2022-01-12 16:22:41 +01:00 committed by Ondřej Budai
parent c4ecbea510
commit d8fdb03373

View file

@ -200,6 +200,7 @@ class Solver():
"summary": package.summary, "summary": package.summary,
"description": package.description, "description": package.description,
"url": package.url, "url": package.url,
"repo_id": package.reponame,
"epoch": package.epoch, "epoch": package.epoch,
"version": package.version, "version": package.version,
"release": package.release, "release": package.release,