Skip to content

Commit caeb49f

Browse files
Merge branch 'develop' into rename_dependency_is_resolved
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
2 parents 705630c + defe3a6 commit caeb49f

File tree

2,756 files changed

+131138
-56587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,756 files changed

+131138
-56587
lines changed

CHANGELOG.rst

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ Changes in Output Data Structure:
4848
so we have a major version bump ``3.2.0`` to ``4.2.0``:
4949

5050
- Dependency attribute ``is_resolved`` renamed to ``is_pinned``
51+
- Update link references of ownership from nexB to aboutcode-org
52+
See https://github.com/aboutcode-org/scancode-toolkit/issues/3885
53+
54+
- New and updated licenses, including support for newly released
55+
SPDX license list versions:
56+
- SPDX License List 3.25.0:
57+
This release of the SPDX license list had 9 new licenses
58+
and exceptions, and out of them 5 were present as licenses
59+
and 2 were present as rules already. There were 2 new
60+
license/exception texts added, and also 1 license was deprecated.
61+
For more details see https://github.com/aboutcode-org/scancode-toolkit/pull/3897
62+
63+
- New and improved copyright detection with many false positive removed
64+
and refined detection added.
65+
66+
- Fix Python ``SyntaxWarning`` in textcode module.
5167

5268
v32.2.1 - 2024-07-02
5369
---------------------
@@ -169,7 +185,7 @@ Changes in Output Data Structure:
169185
file-level ``package_data``
170186
* ``license_detections`` and ``other_license_detections`` in
171187
codebase level ``packages``
172-
188+
173189
- On using the CLI option ``--license-text-diagnostics`` there is
174190
now a new license match attribute ``matched_text_diagnostics``
175191
with the matched text and highlighted diagnostics, instead of
@@ -178,7 +194,7 @@ Changes in Output Data Structure:
178194
- A new ``reference_matches`` attribute is added to codebase-level
179195
``license_detections`` which is same as the ``matches`` attribute
180196
in other license detections.
181-
197+
182198
- We now have SPDX license expressions everywhere we have
183199
ScanCode license expressions for ease of use and adopting
184200
SPDX everywhere. A new attribute ``license_expression_spdx``
@@ -226,7 +242,7 @@ Changes in Output Data Structure:
226242
and https://github.com/nexB/scancode-toolkit/issues/3443
227243
Also improve debian manifests parsing and purl parsing from
228244
filenames. Support for https://github.com/nexB/purldb/issues/245
229-
Bumps debian-inspector to v31.1.0
245+
Bumps debian-inspector to v31.1.0
230246

231247
- Bump commoncode to v31.0.3
232248

@@ -884,6 +900,8 @@ Package detection:
884900

885901
- For Pypi packages, python_requires is treated as a package dependency.
886902

903+
- Update JavaScript package handlers to handle aliases in npm and yarn manifests.
904+
887905

888906
License Clarity Scoring Update:
889907
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

README.rst

Lines changed: 141 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Why use ScanCode?
8989
InstallShield installers, iOS apps, ISO images, Apache IVY, JBoss Sar,
9090
R CRAN, Apache Maven, Meteor, Mozilla extensions, MSI installers,
9191
JavaScript npm packages, package-lock.json, yarn.lock, NSIS Installers,
92-
NugGet, OPam, Cocoapods, Python PyPI setup.py, setup.cfg, and
92+
NuGet, OPam, Cocoapods, Python PyPI setup.py, setup.cfg, and
9393
several related lockfile formats, semi structured README
9494
files such as README.android, README.chromium, README.facebook, README.google,
9595
README.thirdparty, RPMs, Shell Archives, Squashfs images, Java WAR, Windows
@@ -246,6 +246,7 @@ See the NOTICE file and the .ABOUT files that document the origin and license of
246246
the third-party code used in ScanCode for more details.
247247

248248

249+
249250
.. |azure| image:: https://dev.azure.com/nexB/scancode-toolkit/_apis/build/status/nexB.scancode-toolkit?branchName=develop
250251
:target: https://dev.azure.com/nexB/scancode-toolkit/_build/latest?definitionId=1&branchName=develop
251252
:alt: Azure tests status (Linux, macOS, Windows)
@@ -261,3 +262,142 @@ the third-party code used in ScanCode for more details.
261262
.. |release-github-actions| image:: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml/badge.svg?event=push
262263
:target: https://github.com/nexB/scancode-toolkit/actions/workflows/scancode-release.yml
263264
:alt: Release tests
265+
266+
267+
Acknowledgements, Funding, Support and Sponsoring
268+
--------------------------------------------------------
269+
270+
This project is funded, supported and sponsored by:
271+
272+
- Generous support and contributions from users like you!
273+
- the European Commission NGI programme
274+
- the NLnet Foundation
275+
- the Swiss State Secretariat for Education, Research and Innovation (SERI)
276+
- Google, including the Google Summer of Code and the Google Seasons of Doc programmes
277+
- Mercedes-Benz Group
278+
- Microsoft and Microsoft Azure
279+
- AboutCode ASBL
280+
- nexB Inc.
281+
282+
283+
284+
|europa| |dgconnect|
285+
286+
|ngi| |nlnet|
287+
288+
|aboutcode| |nexb|
289+
290+
291+
This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial
292+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
293+
Communications Networks, Content and Technology under grant agreement No 825322.
294+
295+
|ngidiscovery| https://nlnet.nl/project/vulnerabilitydatabase/
296+
297+
298+
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial
299+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
300+
Communications Networks, Content and Technology under grant agreement No 101069594.
301+
302+
|ngizeroentrust| https://nlnet.nl/project/Back2source/
303+
304+
305+
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial
306+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
307+
Communications Networks, Content and Technology under grant agreement No 101092990.
308+
309+
|ngizerocore| https://nlnet.nl/project/Back2source-next/
310+
311+
312+
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial
313+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
314+
Communications Networks, Content and Technology under grant agreement No 101092990.
315+
316+
|ngizerocore| https://nlnet.nl/project/FastScan/
317+
318+
319+
This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial
320+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
321+
Communications Networks, Content and Technology under grant agreement No 101135429. Additional
322+
funding is made available by the Swiss State Secretariat for Education, Research and Innovation
323+
(SERI).
324+
325+
|ngizerocommons| |swiss| https://nlnet.nl/project/MassiveFOSSscan/
326+
327+
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial
328+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
329+
Communications Networks, Content and Technology under grant agreement No 101069594.
330+
331+
|ngizeroentrust| https://nlnet.nl/project/purl2sym/
332+
333+
334+
.. |nlnet| image:: https://nlnet.nl/logo/banner.png
335+
:target: https://nlnet.nl
336+
:height: 50
337+
:alt: NLnet foundation logo
338+
339+
.. |ngi| image:: https://ngi.eu/wp-content/uploads/thegem-logos/logo_8269bc6efcf731d34b6385775d76511d_1x.png
340+
:target: https://ngi.eu35
341+
:height: 50
342+
:alt: NGI logo
343+
344+
.. |nexb| image:: https://nexb.com/wp-content/uploads/2022/04/nexB.svg
345+
:target: https://nexb.com
346+
:height: 30
347+
:alt: nexB logo
348+
349+
.. |europa| image:: https://ngi.eu/wp-content/uploads/sites/77/2017/10/bandiera_stelle.png
350+
:target: http://ec.europa.eu/index_en.htm
351+
:height: 40
352+
:alt: Europa logo
353+
354+
.. |aboutcode| image:: https://aboutcode.org/wp-content/uploads/2023/10/AboutCode.svg
355+
:target: https://aboutcode.org/
356+
:height: 30
357+
:alt: AboutCode logo
358+
359+
.. |swiss| image:: https://www.sbfi.admin.ch/sbfi/en/_jcr_content/logo/image.imagespooler.png/1493119032540/logo.png
360+
:target: https://www.sbfi.admin.ch/sbfi/en/home/seri/seri.html
361+
:height: 40
362+
:alt: Swiss logo
363+
364+
.. |dgconnect| image:: https://commission.europa.eu/themes/contrib/oe_theme/dist/ec/images/logo/positive/logo-ec--en.svg
365+
:target: https://commission.europa.eu/about-european-commission/departments-and-executive-agencies/communications-networks-content-and-technology_en
366+
:height: 40
367+
:alt: EC DG Connect logo
368+
369+
.. |ngizerocore| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
370+
:target: https://nlnet.nl/core
371+
:height: 40
372+
:alt: NGI Zero Core Logo
373+
374+
.. |ngizerocommons| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
375+
:target: https://nlnet.nl/commonsfund/
376+
:height: 40
377+
:alt: NGI Zero Commons Logo
378+
379+
.. |ngizeropet| image:: https://nlnet.nl/image/logos/NGI0PET_tag.svg
380+
:target: https://nlnet.nl/PET
381+
:height: 40
382+
:alt: NGI Zero PET logo
383+
384+
.. |ngizeroentrust| image:: https://nlnet.nl/image/logos/NGI0Entrust_tag.svg
385+
:target: https://nlnet.nl/entrust
386+
:height: 38
387+
:alt: NGI Zero Entrust logo
388+
389+
.. |ngiassure| image:: https://nlnet.nl/image/logos/NGIAssure_tag.svg
390+
:target: https://nlnet.nl/image/logos/NGIAssure_tag.svg
391+
:height: 32
392+
:alt: NGI Assure logo
393+
394+
.. |ngidiscovery| image:: https://nlnet.nl/image/logos/NGI0Discovery_tag.svg
395+
:target: https://nlnet.nl/discovery/
396+
:height: 40
397+
:alt: NGI Discovery logo
398+
399+
400+
401+
402+
403+

azure-pipelines.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,33 @@ jobs:
7575
tests/licensedcode/test_detection_validate.py \
7676
-k TestValidateLicenseExtended5
7777
78+
79+
license_validate_ignorables_1: |
80+
venv/bin/pytest -n 3 -vvs --test-suite=validate \
81+
tests/licensedcode/test_detection_validate.py \
82+
-k TestValidateLicenseIgnorableClues1
83+
84+
license_validate_ignorables_2: |
85+
venv/bin/pytest -n 3 -vvs --test-suite=validate \
86+
tests/licensedcode/test_detection_validate.py \
87+
-k TestValidateLicenseIgnorableClues2
88+
89+
license_validate_ignorables_3: |
90+
venv/bin/pytest -n 3 -vvs --test-suite=validate \
91+
tests/licensedcode/test_detection_validate.py \
92+
-k TestValidateLicenseIgnorableClues3
93+
94+
license_validate_ignorables_4: |
95+
venv/bin/pytest -n 3 -vvs --test-suite=validate \
96+
tests/licensedcode/test_detection_validate.py \
97+
-k TestValidateLicenseIgnorableClues4
98+
99+
license_validate_ignorables_5: |
100+
venv/bin/pytest -n 3 -vvs --test-suite=validate \
101+
tests/licensedcode/test_detection_validate.py \
102+
-k TestValidateLicenseIgnorableClues5
103+
104+
78105
license_cache: |
79106
venv/bin/pytest -n 3 -vvs --test-suite=all \
80107
tests/licensedcode/test_zzzz_cache.py --reruns 2

docs/source/cli-reference/basic-options.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"license_expression": "apache-2.0",
109109
"rule_identifier": "apache-2.0_65.RULE",
110110
"rule_relevance": 100,
111-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE",
111+
"rule_url": "https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE",
112112
"matched_text": "License: Apache-2.0"
113113
}
114114
],
@@ -589,19 +589,19 @@
589589

590590
A scan example using the ``--license-url-template TEXT`` option ::
591591

592-
scancode -clpieu --json-pp output.json samples --license-url-template https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/{}.LICENSE
592+
scancode -clpieu --json-pp output.json samples --license-url-template https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/{}.LICENSE
593593

594594
In a normal scan, reference url for "ZLIB License" is as follows::
595595

596596
"reference_url": "https://scancode-licensedb.aboutcode.org/zlib",
597597

598598
After using the option in the following manner::
599599

600-
``--license-url-template https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/{}.LICENSE``
600+
``--license-url-template https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/{}.LICENSE``
601601

602-
the reference URL changes to this `zlib.LICENSE file <https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/licenses/zlib.LICENSE>`_::
602+
the reference URL changes to this `zlib.LICENSE file <https://github.com/aboutcode-org/scancode-toolkit/blob/develop/src/licensedcode/data/licenses/zlib.LICENSE>`_::
603603

604-
"reference_url": "https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/licenses/zlib.LICENSE",
604+
"reference_url": "https://github.com/aboutcode-org/scancode-toolkit/blob/develop/src/licensedcode/data/licenses/zlib.LICENSE",
605605

606606
The reference URL changes for all detected licenses in the scan, across the scan result file.
607607

@@ -693,7 +693,7 @@
693693
"license_expression": "unknown-license-reference",
694694
"rule_identifier": "lead-in_unknown_30.RULE",
695695
"rule_relevance": 100,
696-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE",
696+
"rule_url": "https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE",
697697
"matched_text": "dual-licensed under [`
698698
},
699699
{
@@ -706,7 +706,7 @@
706706
"license_expression": "wtfpl-2.0",
707707
"rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE",
708708
"rule_relevance": 50,
709-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE",
709+
"rule_url": "https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE",
710710
"matched_text": "WTFPL"
711711
},
712712
{
@@ -719,7 +719,7 @@
719719
"license_expression": "wtfpl-2.0",
720720
"rule_identifier": "wtfpl-2.0_27.RULE",
721721
"rule_relevance": 100,
722-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE",
722+
"rule_url": "https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE",
723723
"matched_text": "www.wtfpl.net/"
724724
},
725725
{
@@ -732,7 +732,7 @@
732732
"license_expression": "mit",
733733
"rule_identifier": "mit_64.RULE",
734734
"rule_relevance": 100,
735-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE",
735+
"rule_url": "https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE",
736736
"matched_text": "MIT`](https://opensource.org/licenses/MIT)."
737737
}
738738
],

docs/source/cli-reference/help-text-options.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The Following Help Text is displayed, i.e. This is the help text for Scancode Ve
7979
--csv FILE [DEPRECATED] Write scan output as CSV to FILE. The
8080
--csv option is deprecated and will be replaced by new
8181
CSV and tabular output formats in the next ScanCode
82-
release. Visit https://github.com/nexB/scancode-
82+
release. Visit https://github.com/aboutcode-org/scancode-
8383
toolkit/issues/3043 to provide inputs and feedback.
8484
--html FILE Write scan output as HTML to FILE.
8585
--custom-output FILE Write scan output to FILE formatted with the custom
@@ -321,7 +321,7 @@ The Following Text is displayed, i.e. This is the available plugins for Scancode
321321
required_plugins:
322322
options:
323323
help_group: output formats, name: csv: --csv
324-
help: [DEPRECATED] Write scan output as CSV to FILE. The --csv option is deprecated and will be replaced by new CSV and tabular output formats in the next ScanCode release. Visit https://github.com/nexB/scancode-toolkit/issues/3043 to provide inputs and feedback.
324+
help: [DEPRECATED] Write scan output as CSV to FILE. The --csv option is deprecated and will be replaced by new CSV and tabular output formats in the next ScanCode release. Visit https://github.com/aboutcode-org/scancode-toolkit/issues/3043 to provide inputs and feedback.
325325
doc: None
326326

327327
--------------------------------------------

0 commit comments

Comments
 (0)