You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Please leave a brief description of the License Detection Bug:
21
+
22
+
23
+
### Where to get the File/Package
24
+
25
+
> Link to Public Repository/Package Index, if there are multiple files that has license detection errors
26
+
> Also list some example files. If the bug is in a single file then link to the file.
27
+
28
+
29
+
30
+
## Scan Reports
31
+
32
+
> What scancode command was used?
33
+
34
+
35
+
> Scan Outputs (Preferably of a whole file in [json-pretty-print](https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/output-format.html#json-pp-file))
36
+
> Note:-
37
+
> If possible please use the `--license-text` and `--license-text-diagonostics`[command line options](https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/basic-options.html#license-text-diagnostics-options)
38
+
> as it helps understand which parts were wrongly matched and gives us more insight into the bug
39
+
> Upload your results.json file on this issue [like this](https://docs.github.com/en/enterprise/2.16/user/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests)
40
+
41
+
42
+
43
+
### System/Scancode Configuration
44
+
45
+
> For bug reports, it really helps us to know:
46
+
47
+
* What OS are you running on?
48
+
> (Windows/MacOS/Linux)
49
+
50
+
51
+
* What version of scancode-toolkit was used to generate the scan file?
52
+
> `./scancode --version`
53
+
54
+
55
+
* What installation method was used to install/run scancode?
56
+
> (pip/source download/other)
57
+
58
+
59
+
## Links to Rule or excerpts of Rule Texts (If Possible)
60
+
61
+
> Which Licenses/Rules were wrongly matched (if Applicable)
62
+
>
63
+
> [Rule Directory](https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules) and [License Directory](https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses)
64
+
65
+
66
+
67
+
## Select the Relevant Issue Category(s)
68
+
69
+
> [] - Unselected, [x] - Selected
70
+
71
+
-[ ] Unknown License
72
+
-[ ] False Positive
73
+
-[ ] Multiple Detections, Some Wrong
74
+
-[ ] License Version Mismatch
75
+
-[ ] New License
76
+
-[ ] Change in License/Rule Attributes
77
+
-[ ] Edit existing Rule
78
+
-[ ] From [`scancode-results-analyzer`](https://github.com/nexB/scancode-results-analyzer)
79
+
80
+
81
+
## Comments on the License Detection Bug
82
+
83
+
> What should have been detected instead, why is it a bug.
84
+
85
+
86
+
87
+
## Comments (if any) on How to Add a New Rule/Modify an existing Rule for solving this Bug
88
+
89
+
> Refer the documentation page at [Add new license](https://scancode-toolkit.readthedocs.io/en/latest/how-to-guides/add_new_license.html) and [Add new rule](https://scancode-toolkit.readthedocs.io/en/latest/how-to-guides/add_new_license_detection_rule.html)
90
+
91
+
92
+
<!--
93
+
Your help makes ScanCode Toolkit better! We *deeply* appreciate your help in improving ScanCode Toolkit.
Copy file name to clipboardExpand all lines: INSTALL.rst
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@
2
2
Installation
3
3
============
4
4
5
-
There are 3 main ways you can `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_.
5
+
There are 4 main ways you can `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_.
6
6
7
7
- Installation as an Application: Downloading Releases (Recommended)
8
+
- Docker Installation
8
9
- Installation as a library: via pip
9
10
- Installation from Source Code: Git Clone
10
11
@@ -32,14 +33,30 @@ Installation as an Application : Downloading Releases
32
33
- Linux/Mac : ``./scancode --help``
33
34
- Windows : ``scancode --help``
34
35
36
+
Docker Installation
37
+
-------------------
38
+
39
+
#. Download the Source Code as an archive from the `GitHub releases <https://github.com/nexB/scancode-toolkit/releases>`_ and unzip it, or via `git clone`.
40
+
41
+
#. Build the docker image from the `scancode-toolkit` directory.::
42
+
43
+
docker build -t scancode-toolkit .
44
+
45
+
#. Mount current working directory and run scan on mounted folder::
46
+
47
+
docker run -v $PWD/:/project scancode-toolkit -clpeui --json-pp /project/result.json /project
48
+
49
+
Note that the parameters *before* ``scancode-toolkit`` are used for docker,
50
+
those after will be forwarded to scancode.
51
+
35
52
Installation as a library: via pip
36
53
----------------------------------
37
54
38
55
#. Create a Python 3.6 Virtual Environment and activate the same::
0 commit comments