nexB / purldb

Tools to create and expose a database of purls (Package URLs). This project is sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase/ and nexB for https://www.aboutcode.org/ Chat is at https://gitter.im/aboutcode-org/discuss
https://purldb.readthedocs.io/
29 stars 21 forks source link

Collecting a package does NOT set the holder #482

Open pombredanne opened 2 weeks ago

pombredanne commented 2 weeks ago

I collect http://127.0.0.1:8001/api/collect/?purl=pkg:generic/hostapd@2.10&addon_pipelines=collect_symbols_ctags but in the results the holder is not set:

{
    "url": "http://127.0.0.1:8001/api/packages/8cf11841-4eff-422f-a5c9-6e1e3c10dbed/",
    "uuid": "8cf11841-4eff-422f-a5c9-6e1e3c10dbed",
    "filename": "hostapd-2.10.tar.gz",
    "package_sets": [],
    "package_content": null,
    "purl": "pkg:generic/hostapd@2.10",
    "type": "generic",
    "namespace": "",
    "name": "hostapd",
    "version": "2.10",
    "qualifiers": "",
    "subpath": "",
    "primary_language": null,
    "description": null,
    "release_date": "2022-01-16T21:11:00Z",
    "parties": [],
    "keywords": [],
    "homepage_url": "https://w1.fi/releases/",
    "download_url": "https://w1.fi/releases/hostapd-2.10.tar.gz",
    "bug_tracking_url": null,
    "code_view_url": null,
    "vcs_url": null,
    "repository_homepage_url": null,
    "repository_download_url": null,
    "api_data_url": null,
    "size": null,
    "md5": null,
    "sha1": null,
    "sha256": null,
    "sha512": null,
    "copyright": "Copyright (c) Jouni Malinen and contributors",
    "holder": null,
    "declared_license_expression": "bsd-new",
    "declared_license_expression_spdx": "BSD-3-Clause",
    "license_detections": [],
    "other_license_expression": "public-domain AND (gpl-2.0 AND bsd-new) AND (gpl-2.0 OR bsd-new) AND isc AND public-domain-disclaimer AND ((bsd-new OR gpl-2.0) AND bsd-new AND (dco-1.1 AND bsd-new) AND dco-1.1) AND (bsd-new AND dco-1.1) AND dco-1.1",
    "other_license_expression_spdx": "LicenseRef-scancode-public-domain AND (GPL-2.0-only AND BSD-3-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND ISC AND LicenseRef-scancode-public-domain-disclaimer AND ((BSD-3-Clause OR GPL-2.0-only) AND BSD-3-Clause AND (LicenseRef-scancode-dco-1.1 AND BSD-3-Clause) AND LicenseRef-scancode-dco-1.1) AND (BSD-3-Clause AND LicenseRef-scancode-dco-1.1) AND LicenseRef-scancode-dco-1.1",
    "other_license_detections": [],
    "extracted_license_statement": null,
    "notice_text": null,
    "source_packages": [],
    "extra_data": {},
    "package_uid": "pkg:generic/hostapd@2.10?uuid=8cf11841-4eff-422f-a5c9-6e1e3c10dbed",
    "datasource_id": null,
    "file_references": [],
    "dependencies": [],
    "resources": "http://127.0.0.1:8001/api/packages/8cf11841-4eff-422f-a5c9-6e1e3c10dbed/resources/",
    "history": "http://127.0.0.1:8001/api/packages/8cf11841-4eff-422f-a5c9-6e1e3c10dbed/history/"
}