scancode-toolkit
scancode-toolkit copied to clipboard
:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nl...
This is for the 2022 Google Summer of Code. This PR contains all the work that needs to be done for the project. This adds `--additional-license-directory` as a command line...
See the test [here](https://github.com/nexB/scancode-toolkit/tree/develop/tests/packagedcode/data/pypi/source-package) for which [top-level dependencies](https://github.com/nexB/scancode-toolkit/blob/develop/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json#L2) doesn't contain the requirements that are present in this [package_data dependencies](https://github.com/nexB/scancode-toolkit/blob/develop/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json#L235) This was probably introduced [here](https://github.com/nexB/scancode-toolkit/commit/a13f81e8a2a9902b565583a3dfc8c3a509135546#diff-80126c7a092bbabab590e68c600239f669e58ca6f8f3f469add6cede74258ffa)
``` >>> from licensedcode.cache import * >>> idx=get_index() >>> rule = idx.rules_by_rid[1200] >>> rule Rule(identifier='agpl-3.0_371.RULE', license_expression='agpl-3.0', minimum_coverage=80, is_continuous=False, relevance=100, has_stored_relevance=True, length=6) >>> rule.data_file '/home/runner/work/scancode-toolkit/scancode-toolkit/src/licensedcode/data/rules/agpl-3.0_371.yml' >>> ``` Here `'/home/runner/work/scancode-toolkit/scancode-toolkit/src/licensedcode/data/rules/agpl-3.0_371.yml' ` is...
See #2878 ### Tasks * [x] Reviewed [contribution guidelines](https://github.com/nexB/scancode-toolkit/blob/develop/CONTRIBUTING.rst) * [x] PR is descriptively titled 📑 and links the original issue above 🔗 * [x] Tests pass -- look for...
Find out how https://opendev.org/assets/js/licenses.txt was generated and if there is a format that's used commonly enough that we could treat this as a package-like data. Find a list of projects...
we do have some issue that's been reported privately with macOS 12 on X86 : SCTK 31.0.0rc3 does not install correctly
The current CSV output is a mess, albeit a convenient mess. We need something and quick. I suggest these short term and long term actions ## For now in v31:...
As part of #2601 this is a first essential step before we start modifying more things to improve package reporting This is also needed to support: - #2350 - #2381...
Hi guys, I have a problem, when I scan for GPL using "./scancode -l --processes 10 --csv ../result/hardware.csv ${SRC_CODE_PATH}", the "../result" directory doesn't exist, no will generate hardware.csv, I think...
This PR adds new licenses and license detection rules. It also improves some license and rules metadata. The general purpose is more accurate and faster license detection ### Tasks *...