Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PurlDB: purl2sym Data collection Batch4 #329

Closed
12 tasks done
Tracked by #314
DennisClark opened this issue Mar 12, 2024 · 1 comment
Closed
12 tasks done
Tracked by #314

PurlDB: purl2sym Data collection Batch4 #329

DennisClark opened this issue Mar 12, 2024 · 1 comment
Assignees

Comments

@DennisClark
Copy link
Member

DennisClark commented Mar 12, 2024

Here we add purl2sym support for a list of PURLs listed below.

  1. Add support in FetchCode and PurlDB
  2. Test of end-to-end support in the PurlDB
  • pkg:generic/udhcp
  • pkg:github/hewlettpackard/wireless-tools
  • pkg:conan/expat
  • pkg:conan/libxml2
  • pkg:conan/dbus
  • pkg:conan/ncurses
  • pkg:conan/pcre
  • pkg:conan/popt
  • pkg:github/shadow-maint/shadow
  • pkg:conan/libsystemd
@keshav-space
Copy link
Member

keshav-space commented Apr 2, 2024

Completed in:

The simple way to test this is to follow the below steps after installing PurlDB (https://github.com/nexB/purldb?tab=readme-ov-file#installation):

  1. Go to /api/collect/ add PURL for indexing. ex: /api/collect/?purl=pkg:generic/[email protected]&addon_pipelines=collect_symbols_ctags
  2. Once the indexing has completed go to /api/resources/and filter out resource based on PURL to see the symbols for each resource in extra_data field. ex: /api/resources/?purl=pkg:generic/[email protected]

Tip

Follow this tutorial to index the symbols and strings literals for a PURL/Package using various different addon pipelines. https://aboutcode.readthedocs.io/projects/PURLdb/en/latest/how-to-guides/tutorial_symbol_and_string_collection.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants