-
-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4,215 changed files
with
96,984 additions
and
291,786 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Ignore the Docker files themselves to avoid that all layers are invalidated if the Docker files are changed during development. | ||
.dockerignore | ||
Dockerfile | ||
|
||
# Ignore the Git directory and files and github directory. | ||
.git/ | ||
.github/ | ||
.gitattributes | ||
.gitignore | ||
|
||
# Ignore other directories that are not required in the image | ||
tests/ | ||
docs/ | ||
samples/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
name: "\U0001F41B License Detection Bug report" | ||
about: Create a Report for a License Detection Bug | ||
title: '' | ||
labels: 'bug', 'license scan', 'new and improved data' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
Please fill out as much of the below template and delete unnecessary text. | ||
Sample License Detection Bug Reports | ||
- https://github.com/nexB/scancode-toolkit/issues/2126 | ||
- https://github.com/nexB/scancode-toolkit/issues/2266 | ||
Markdown Styling - https://commonmark.org/help/ | ||
--> | ||
|
||
### Description | ||
|
||
> Please leave a brief description of the License Detection Bug: | ||
|
||
### Where to get the File/Package | ||
|
||
> Link to Public Repository/Package Index, if there are multiple files that has license detection errors | ||
> Also list some example files. If the bug is in a single file then link to the file. | ||
|
||
|
||
## Scan Reports | ||
|
||
> What scancode command was used? | ||
|
||
> 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)) | ||
> Note:- | ||
> 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) | ||
> as it helps understand which parts were wrongly matched and gives us more insight into the bug | ||
> 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) | ||
|
||
|
||
### System/Scancode Configuration | ||
|
||
> For bug reports, it really helps us to know: | ||
* What OS are you running on? | ||
> (Windows/MacOS/Linux) | ||
|
||
* What version of scancode-toolkit was used to generate the scan file? | ||
> `./scancode --version` | ||
|
||
* What installation method was used to install/run scancode? | ||
> (pip/source download/other) | ||
|
||
## Links to Rule or excerpts of Rule Texts (If Possible) | ||
|
||
> Which Licenses/Rules were wrongly matched (if Applicable) | ||
> | ||
> [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) | ||
|
||
|
||
## Select the Relevant Issue Category(s) | ||
|
||
> [ ] - Unselected, [x] - Selected | ||
- [ ] Unknown License | ||
- [ ] False Positive | ||
- [ ] Multiple Detections, Some Wrong | ||
- [ ] License Version Mismatch | ||
- [ ] New License | ||
- [ ] Change in License/Rule Attributes | ||
- [ ] Edit existing Rule | ||
- [ ] From [`scancode-results-analyzer`](https://github.com/nexB/scancode-results-analyzer) | ||
|
||
|
||
## Comments on the License Detection Bug | ||
|
||
> What should have been detected instead, why is it a bug. | ||
|
||
|
||
## Comments (if any) on How to Add a New Rule/Modify an existing Rule for solving this Bug | ||
|
||
> 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) | ||
|
||
<!-- | ||
Your help makes ScanCode Toolkit better! We *deeply* appreciate your help in improving ScanCode Toolkit. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,3 +79,5 @@ pyvenv.cfg | |
lib64 | ||
tcl | ||
/.env | ||
|
||
*.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# Copyright (c) 2018 nexB Inc. and others. All rights reserved. | ||
# http://nexb.com and https://github.com/nexB/scancode-toolkit/ | ||
# The ScanCode software is licensed under the Apache License version 2.0. | ||
# Data generated with ScanCode require an acknowledgment. | ||
# ScanCode is a trademark of nexB Inc. | ||
# | ||
# You may not use this software except in compliance with the License. | ||
# You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0 | ||
# Unless required by applicable law or agreed to in writing, software distributed | ||
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
# CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
# When you publish or redistribute any data created with ScanCode or any ScanCode | ||
# derivative work, you must accompany this data with the following acknowledgment: | ||
# | ||
# Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
# OR CONDITIONS OF ANY KIND, either express or implied. No content created from | ||
# ScanCode should be considered or used as legal advice. Consult an Attorney | ||
# for any legal advice. | ||
# ScanCode is a free software code scanning tool from nexB Inc. and others. | ||
# Visit https://github.com/nexB/scancode-toolkit/ for support and download. | ||
|
||
FROM python:3.6 | ||
|
||
# Requirements as per https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html | ||
RUN apt-get update && apt-get install bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev | ||
|
||
# Create directory for scancode sources | ||
RUN mkdir scancode-toolkit | ||
|
||
# Copy sources into docker container | ||
COPY . scancode-toolkit | ||
|
||
# Set workdir | ||
WORKDIR scancode-toolkit | ||
|
||
# Run scancode once for initial configuration, with --reindex-licenses to create the base license index | ||
RUN ./scancode --reindex-licenses | ||
|
||
# Add scancode to path | ||
ENV PATH=$HOME/scancode-toolkit:$PATH | ||
|
||
# Set entrypoint to be the scancode command, allows to run the generated docker image directly with the scancode arguments: `docker run (...) <containername> <scancode arguments>` | ||
ENTRYPOINT ["./scancode"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.