dl9pf / meta-spdxscanner

SPDX scanner support
MIT License
9 stars 10 forks source link

This repository has been moved to http://git.yoctoproject.org/cgit/cgit.cgi/meta-spdxscanner/.

meta-spdxscanner

meta-spdxscanner supports the following SPDX create tools.

  1. fossology REST API (Can work with fossology after 3.5.0)
  2. fossdriver (Can work with fossology)
  3. scancode-toolkit
  4. DoSOCSv2 (Scanner comes from fossology 3.4.0)

This layer supplys invoking scanners as following:

  1. fossology REST API

    • openembedded-core
  2. fossdriver

    • openembedded-core
  3. scancode-toolkit

    • openembedded-core
  4. DoSOCSv2

    • openembedded-core
    • meta-openembedded/meta-oe
    • meta-openembedded/meta-python

How to use

  1. fossology-rest.bbclass
    • inherit the folowing class in your conf/local.conf for all of recipes or in some recipes which you want.
  INHERIT += "fossology-rest"
  TOKEN = "eyJ0eXAiO..."
  FOSSOLOGY_SERVER = "http://xx.xx.xx.xx:8081/repo" //Optional,by default, it is http://127.0.0.1:8081/repo
  FOLDER_NAME = "xxxx" //Optional,by default, it is the top folder "Software Repository"(folderId=1).

Note

  1. fossdriver-host.bbclass
    • inherit the folowing class in your conf/local.conf for all of recipes or in some recipes which you want.
  INHERIT += "fossdriver-host"

Note

  1. scancode.bbclass
    • inherit the folowing class in your conf/local.conf for all of recipes or in some recipes which you want.
  INHERIT += "scancode-tk"

Note

  1. dosocs.bbclass
    • inherit the folowing class in your conf/local.conf for all of recipes or in some recipes which you want.
  INHERIT += "dosocs"

Note