-
Notifications
You must be signed in to change notification settings - Fork 11
Fossology spdx web api
Users can use wget to return a license (comma separated list of license names):
wget -qO - --no-check-certificate --post-file=mypackage.tar.gz --timeout=0 http://myfossologyspdxserver/?mod=spdx_license_once
For example:
wget -qO - --no-check-certificate --post-file=./time-1.7.tar --timeout=0 https://fossologyspdx.ist.unomaha.edu/?mod=spdx_license_once
FSF,GNU-Manpages,GPL-2.0,GPL-2.0+,MIT,No_license_found,Public-domain-ref
The approach of the API is:
1: Unpack package by using FOSSology ununpack agent.
2: Scan unpacked files by using FOSSology nomos agent.
3: Format information for output.(SPDX spec is considered now)
You can find details of above agent from here
You also can find other details about How to use FOSSology from the command line.