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 Batch1 #326

Closed
19 tasks done
Tracked by #314
DennisClark opened this issue Mar 12, 2024 · 2 comments
Closed
19 tasks done
Tracked by #314

PurlDB: purl2sym Data collection Batch1 #326

DennisClark opened this issue Mar 12, 2024 · 2 comments
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

List of PURLs

  • pkg:gnu/bash
  • pkg:gnu/coreutils
  • pkg:gnu/findutils
  • pkg:gnu/glibc
  • pkg:gnu/gcc
  • pkg:gnu/gzip
  • pkg:gnu/wget
  • pkg:gnu/readline
  • pkg:gnu/gcc
  • pkg:gnu/gdb
  • pkg:generic/ipkg
  • pkg:generic/util-linux
  • pkg:generic/uclibc-ng
  • pkg:generic/bzip2
  • pkg:generic/openssh
  • pkg:generic/dnsmasq
  • pkg:generic/ebtables
@pombredanne
Copy link
Member

pombredanne commented Mar 27, 2024

At this stage we have all these packages supported in FetchCode and PurlDB.
The only step remaining is test in the PurlDB

@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:gnu/[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:gnu/[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

3 participants