dejacode icon indicating copy to clipboard operation
dejacode copied to clipboard

Enhancement request: Support adding the VCS and similar URLs from ScanCode.io scan results to packages

Open rogu-beta opened this issue 10 months ago • 1 comments

Is your enhancement request related to a problem? Please describe. Currently ScanCode.io already provides information in its scan results, if it finds them, such as:

  • homepage_url
  • bug_tracking_url
  • vcs_url

These do not seem to get imported into DejaCode.

What are the benefits of the requested enhancement? Users would have all the information directly available in DejaCode. Given that packages already have fields for the VCS, homepage, and bug tracker, it seems like a sensible step to insert the informationen provided by ScanCode.io when available.

Describe the solution you would like Once the scanning is concluded and the packages entries are being created in DejaCode, it should use the aforementioned fields in the scan results to add them to DejaCode's data model of the respective package.

Additional notes n.a.

rogu-beta avatar Feb 07 '25 14:02 rogu-beta

This may still be relevant for those that do not use PurlDB, but PurlDB does mostly solve this for us.

rogu-beta avatar May 14 '25 08:05 rogu-beta

Added in https://github.com/aboutcode-org/dejacode/pull/319

  • download_url
  • repository_download_url
  • repository_homepage_url
  • bug_tracking_url
  • code_view_url
  • vcs_url
  • api_data_url
  • size
  • md5
  • sha1
  • sha256
  • sha512

tdruez avatar Jun 06 '25 13:06 tdruez

@tdruez Thank you for your work on enhancements! Just to make sure, can "Improve Packages from PurlDB" still be applied potentially overwriting results by ScanCode.io and will this ensure that manually modified data is not overwritten on subsequent scans?

rogu-beta avatar Jun 06 '25 14:06 rogu-beta