FOSSology+SPDX [Crossposting]
Matt
Hi All, Bob,
This is Kotrappa, from Wipro Technologies India.
We are using Fossology on a local sever for scanning some of packages for License/copyright info.
Recently we have installed Fossology+SPDX module on a local PC, and this gives spdx results as well.
Spdx.org gives open source tools to convert .rdf to .spdx, .spdx to .rdf, .xls to.rdf etc.
Reference http://spdx.org/spdx-tools/tools-from-the-spdx-workgroup
We would like to know after Fossology+SPDX scans a package and gives results in sdpx format,
Is there any command line tools to execute on command prompt in Local PC using localhost server running Fossology agents to get results in spdx format.
( Please note I cannot use Web Interface version of https://fossologyspdx.ist.unomaha.edu/?mod=Default because packages cannot be uploaded to public)
I mean, I should be able to get results something like mypackage_name.spdx or mypackage_name.rdf which complies with SPDX format
specified in spdx.org, which I can use as an input to spdx open source tools for conversion, comparison etc.
Please help.
Best regards
Kotrappa.
************
[fullSPDXFlag]: true/false. Only when this option is set to "true", low definition version of the full SPDX contents are output. Skipping this option equals setting it to "false." This option should be set to "true" when you want to generate an SPDX document from the command line.
wget -qO - --no-check-certificate --post-file=./[mypackagename] --timeout=0 "https://domain/?mod=spdx_license_once&noCopyright=false&jsonOutput=false&fullSPDXFlag=true&packageNameInLog=[mypackagename]" > [mypackagename].spdx
for example:
wget -qO - --no-check-certificate --post-file=./time-1.7.tar --timeout=0 "https://fossologyspdx.ist.unomaha.edu/?mod=spdx_license_once&noCopyright=false&jsonOutput=false&fullSPDXFlag=false&packageNameInLog=time-1.7.tar" > time-1.7.tar.spdx
Matt Germonprez and Liang Cao