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:
parent
c4ecbea510
commit
d8fdb03373
1 changed files with 1 additions and 0 deletions
1
dnf-json
1
dnf-json
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue