Skip to content

Commit

Permalink
add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alok1304 committed Jan 10, 2025
1 parent 7b69733 commit 1c0e2b1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
14 changes: 13 additions & 1 deletion tests/packagedcode/data/plugin/rpm-package-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,19 @@
"is_private": false,
"is_virtual": false,
"extra_data": {},
"dependencies": [],
"dependencies": [
{
"purl": "pkg:rpm/[email protected]",
"extracted_requirement": "2.0",
"scope": "dependencies",
"is_runtime": true,
"is_optional": false,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {}
}
],
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,23 @@
"purl": "pkg:rpm/[email protected]"
}
],
"dependencies": [],
"dependencies": [
{
"purl": "pkg:rpm/[email protected]",
"extracted_requirement": "2.4",
"scope": "dependencies",
"is_runtime": true,
"is_optional": false,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {},
"dependency_uid": "pkg:rpm/[email protected]?uuid=4c055d32-6a8c-465e-9c76-f2714b7ce23f",
"for_package_uid": "pkg:rpm/[email protected]?uuid=1903aca6-54da-49d6-a219-ff432eff4398",
"datafile_path": "fping-2.4-0.b2.rhfc1.dag.i386.rpm",
"datasource_id": "rpm_archive"
}
],
"files": [
{
"path": "fping-2.4-0.b2.rhfc1.dag.i386.rpm",
Expand Down Expand Up @@ -158,7 +174,19 @@
"is_private": false,
"is_virtual": false,
"extra_data": {},
"dependencies": [],
"dependencies": [
{
"purl": "pkg:rpm/[email protected]",
"extracted_requirement": "2.4",
"scope": "dependencies",
"is_runtime": true,
"is_optional": false,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {}
}
],
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null,
Expand Down

0 comments on commit 1c0e2b1

Please sign in to comment.