-
Notifications
You must be signed in to change notification settings - Fork 1
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
qmstr.yaml configuration instructions #469
Comments
@senaingrid Can you please provide your views on this? |
Any update on this? |
Hi @utkarshyen, which document are you following? It seems you're using an outdated version of the config file. You can find the yaml example file at this link: https://qmstr.org/documentation/configuration/ Best, |
Hello @senaingrid I followed the same document which you mentioned for config file I'm trying to look the issue at my end. I could not see any entries in generated HTML report. Regards, |
Are you using a public fork of |
I'm using ubuntu 18.04 debian source, Regards, |
Hi @utkarshyen. Sorry in advance, our documentation is not complete but we are trying our best. You tried the tutorial, debian curl and json-c packages. Did they work for you? |
Hello @GiasemiSh, Sorry to bother. On the other note, I have explored the source code of QuaterMaster. I came to below understanding, Regards, |
Scancode detects licenses from the source files. Now if you want to view the results I would ask you to make a change in your yaml configuration. --> In order to deploy this option you need to have Hugo installed in your machine. In the qmstr-reporter-html configuration please add the following line: So the qmstr-reporter-html configuration would look like this:
With this option, you disable qmstr to execute Hugo which generates the static HTML page with the QMSTR reports. Since it's disabled you can afterwards run it locally and view the results. Please build the json-c package with QMSTR again.
|
Hello @GiasemiSh , Thank you for your detailed info. It was really helpful. I checked the scancode.json and it is fine. Regards, |
Hello,
I have seen some sample report of curl on https://qmstr.org/packages/curl/curl/curl-7_64_1-142-g761b49b91/ which gives the licenses for binary. But no info of source list used or which license belongs to which source files. For e.g. However, binary is built with only filea and thus licensea. Does QuaterMaster provides such information. I could answer these questions myself once I successfully setup and run the QuaterMaster my side and explore. Just sharing my view. Regards, |
Hello @mirkoboehm
I have followed the installation steps mentioned in document.
Tested the tutorials, debian curl and json-c packages.
However, I could not see the binary licenses (target licenses) in scancode.json file, even in report I could see all the tabs as BLANK.
Please find the qmstr.yaml file.
NOTE I have used same qmstr.yaml file from json-c tutorials for testing purpose.
project:
name: "elfutils"
metadata:
Vendor: ""
OcFossLiaison: ""
OcComplianceContact: ""
analysis:
- analyzer: spdx-identifier-analyzer
name: "Simple SPDX Analyzer"
config:
workdir: "/buildroot"
- analyzer: scancode-analyzer
name: "Scancode Analyzer"
config:
workdir: "/buildroot"
resultfile: "/buildroot/scancode.json"
#cached: "true"
- analyzer: test-analyzer
name: "Simple CI Test Analyzer"
config:
workdir: "/buildroot"
reporting:
- reporter: test-reporter
name: "Test Reporter"
config:
siteprovider: "Endocode"
- reporter: package-manifest-reporter
name: "Package manifest Reporter"
config:
outputdir: "/buildroot"
pathSubst: ".+?/.+?/.+?/(.+)||./$1"
- reporter: qmstr-reporter-html
name: "Public HTML Reports"
config:
siteprovider: "Endocode"
baseurl: "http://qmstr.org/packages/"
Can you please put some light on this? Am I missing any steps here? Or any configuration setting?
Also, https://qmstr.org/documentation/introduction/getting-started/Qmstr.yaml.md page is not found.
Regards,
UT
The text was updated successfully, but these errors were encountered: