Skip to content
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

Release 31 #2888

Merged
merged 87 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
4004ebe
Do not use pytest 7.0.0 which is buggy
pombredanne Feb 14, 2022
b15b6b7
Update `configure` to work with space in installation path
chinyeungli Feb 17, 2022
311b0a1
Remove echo statement
chinyeungli Feb 17, 2022
840ccef
Add black codestyle test for skeleton
keshav-space Feb 22, 2022
35af643
Update configure.bat
chinyeungli Feb 23, 2022
70a2d2f
Merge pull request #55 from nexB/configure_for_path_with_spaces_on_wi…
pombredanne Feb 23, 2022
c7084ee
Merge pull request #56 from keshav-space/main
pombredanne Feb 23, 2022
9558c0c
Deprecate windows-2016 images for azure CI
AyanSinhaMahapatra Feb 23, 2022
e19a520
Remove macos 10.14 job from azure-pipelines.yml
JonoYang Mar 1, 2022
cb17d70
Merge pull request #57 from nexB/deprecate-win-2016-ci
JonoYang Mar 1, 2022
7eb4ca8
Merge pull request #58 from nexB/remove-mac-1014
JonoYang Mar 1, 2022
47da14b
Do not use Python 3.6 on Windows 2022 jobs
JonoYang Mar 1, 2022
c4678dc
Merge pull request #59 from nexB/win2022-py36
JonoYang Mar 1, 2022
ad17a42
Deprecate windows-2016 images for azure CI
AyanSinhaMahapatra Feb 23, 2022
cad3164
Remove macos 10.14 job from azure-pipelines.yml
JonoYang Mar 1, 2022
d659e09
Do not use Python 3.6 on Windows 2022 jobs
JonoYang Mar 1, 2022
b408c85
Merge pull request #60 from nexB/update-signoff
pombredanne Mar 4, 2022
c5251f4
Run tests on macOS 11
pombredanne Mar 4, 2022
a118fe7
Align configuration scripts on POSIX and Windows
pombredanne Mar 4, 2022
e810da3
Update README
pombredanne Mar 4, 2022
243f7cb
Refactor and streamline thirdparty utilities
pombredanne Mar 5, 2022
931f610
Cleanup whitespaces
pombredanne Mar 5, 2022
6e43a7a
Add usage instructions to README.rst
JonoYang Mar 9, 2022
ae73ce3
Merge pull request #61 from nexB/update-readme
JonoYang Mar 9, 2022
c53e4f0
Update SPDX license ids
pombredanne Feb 21, 2022
f4d7eca
Refactor and streamline thirdparty utilities
pombredanne Mar 4, 2022
07a9e25
Simplify code, remove unused data
pombredanne Mar 4, 2022
1b9ec0d
Correct license and rules metadadata
pombredanne Mar 4, 2022
9a7aad7
Remove bitarray as a direct dependency
pombredanne Mar 4, 2022
4e0e040
Also always use importlib_metadata on all Python versions.
pombredanne Mar 4, 2022
d7ca9a0
Format with black
pombredanne Mar 4, 2022
b960f64
Now use Python 3.8 as a base Python for tests
pombredanne Mar 5, 2022
6aa09d1
Sync bootstrap scripts with skeleton
pombredanne Mar 5, 2022
3636038
Do not mistake MIT for an Elastic license
pombredanne Mar 9, 2022
2b75a45
Bump release to beta1
pombredanne Mar 9, 2022
6238b83
Merge branch 'main' of https://github.com/nexB/skeleton into main
pombredanne Mar 9, 2022
16a1623
Rename rule to a new arachni named license
pombredanne Mar 9, 2022
20c8316
Update arachni license
pombredanne Mar 9, 2022
2e69d34
Add new licenses
pombredanne Mar 9, 2022
b272e3b
Format code
pombredanne Mar 9, 2022
0bc9ae9
Format code
pombredanne Mar 9, 2022
907e540
Merge pull request #62 from nexB/better-tpp-scripts
pombredanne Mar 9, 2022
566739f
Merge latest skeleton
pombredanne Mar 9, 2022
6ffeedd
Sync both setup formats
pombredanne Mar 9, 2022
1e4d3bc
Reorg setup sections
pombredanne Mar 9, 2022
03d4799
Do not depend on click. Use argparse.
pombredanne Mar 9, 2022
f0d5a29
Correct configure scripts
pombredanne Mar 9, 2022
6ed9983
Remove remnants of configure --init
pombredanne Mar 9, 2022
bf7398e
Fix configure scripts
pombredanne Mar 9, 2022
d628de7
Merge latest skeleton
pombredanne Mar 9, 2022
acb4766
Update CHANGELOG and docs #2861
JonoYang Mar 3, 2022
8d88592
Always run classification plugin #2842
JonoYang Mar 4, 2022
d1d7f95
Create new summary plugin #2842
JonoYang Mar 4, 2022
0bbad82
Cast set as list before use #2842
JonoYang Mar 9, 2022
6dbf82d
Merge remote-tracking branch 'upstream/develop' into release-31
pombredanne Mar 10, 2022
bde20be
Marke license test as passing
pombredanne Mar 10, 2022
7d86c50
Do not mistake MIT for an Elastic license
pombredanne Mar 10, 2022
18ff56e
Tag more rules for key phrases
pombredanne Mar 10, 2022
c723e05
Raise a DuplicateRuleError exception on dupes
pombredanne Mar 10, 2022
604fa30
Add simple copyright test
pombredanne Mar 10, 2022
8c96ba2
Drop Python 3.6 on macOS 11
pombredanne Mar 10, 2022
6b575d4
Drop Windows 2016
pombredanne Mar 10, 2022
55cff1e
Use correct Azure image name
pombredanne Mar 10, 2022
c667d66
Bump virtualenv
pombredanne Mar 10, 2022
29b1248
Bump dependency versions
pombredanne Mar 10, 2022
dfd906c
Do not regen tests in CI
pombredanne Mar 10, 2022
15cbff3
Use new SCANCODE_REGEN_TEST_FIXTURES env var
pombredanne Mar 10, 2022
f6e357f
Merge remote-tracking branch 'upstream/2842-primary-license-in-summar…
pombredanne Mar 10, 2022
bbd8cf2
Use proper plugin variable for summary
pombredanne Mar 10, 2022
5cad4f9
Do not always run classify
pombredanne Mar 10, 2022
573e25e
Do not bump the output format version
pombredanne Mar 10, 2022
bf6bbaa
Pytyon 3.6 is not available on Windows 2022
pombredanne Mar 11, 2022
b620c41
Open file with context manager
pombredanne Mar 11, 2022
ab70896
Do not use sets for unicity.
pombredanne Mar 11, 2022
dbc578d
Format code
pombredanne Mar 11, 2022
d3d8a38
Add missing help for the new summary option
pombredanne Mar 11, 2022
f968acd
Use option dependencies for summary
pombredanne Mar 11, 2022
d1ae72d
Add summary2 tests
pombredanne Mar 11, 2022
4ab834f
Add long_description_content_type
pombredanne Mar 11, 2022
a4e5b77
Merge latest skeleton
pombredanne Mar 11, 2022
61b65ff
Align setup and setup-mini
pombredanne Mar 11, 2022
d4ec867
Improve tracing
pombredanne Mar 11, 2022
90056f2
Correct false positive in CocoaLumberjack
pombredanne Mar 11, 2022
504f6c4
Merge latest skeleton
pombredanne Mar 11, 2022
936b3a4
Add new and improved license detection rules
pombredanne Mar 11, 2022
37bc3f2
Add missing ignorables
pombredanne Mar 11, 2022
c89e8b3
Try to run fewer CI jobs, more efficiently
pombredanne Mar 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 73 additions & 9 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ Important API changes:
column to "path". The "copyright_holder" has been ranmed to "holder"


Development environment changes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- The license cache consistency is not checked anymore when you are using a Git
checkout. The SCANCODE_DEV_MODE tag file has been removed entirely. Use
instead the --reindex-licenses option to rebuild the license index.


Copyright detection:
~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -122,7 +114,6 @@ License detection:
- Small, two-words matches that overlap the previous or next match by
by the word "license" and assimilated are now filtered as false matches.


- The new --licenses-reference option adds a new "licenses_reference" top
level attribute to a scan when using the JSON and YAML outputs. This contains
all the details and the full text of every licenses seen in a file or
Expand Down Expand Up @@ -231,6 +222,66 @@ License Clarity Scoring Update
- Scoring Weight = -20


License Clarity Scoring Update
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- We are moving away from the license clarity scoring defined by ClearlyDefined
in the license clarity score plugin. The previous license clarity scoring
logic produced a score that was misleading, where it would return a low score
when scanning packages due to the stringent scoring criteria. We are now
using more general criteria to get a sense of what provenance information has
been provided and whether or not there is a conflict in licensing between
what licenses were declared at the top-level key files and what licenses have
been detected in the files under the top-level.

- The license clarity score is a value from 0-100 calculated by combining the
weighted values determined for each of the scoring elements:

- Declared license:

- When true, indicates that the software package licensing is documented at
top-level or well-known locations in the software project, typically in a
package manifest, NOTICE, LICENSE, COPYING or README file.
- Scoring Weight = 40

- Identification precision:

- Indicates how well the license statement(s) of the software identify known
licenses that can be designated by precise keys (identifiers) as provided in
a publicly available license list, such as the ScanCode LicenseDB, the SPDX
license list, the OSI license list, or a URL pointing to a specific license
text in a project or organization website.
- Scoring Weight = 40

- License texts:

- License texts are provided to support the declared license expression in
files such as a package manifest, NOTICE, LICENSE, COPYING or README.
- Scoring Weight = 10

- Declared copyright:

- When true, indicates that the software package copyright is documented at
top-level or well-known locations in the software project, typically in a
package manifest, NOTICE, LICENSE, COPYING or README file.
- Scoring Weight = 10

- Ambiguous compound licensing:

- When true, indicates that the software has a license declaration that
makes it difficult to construct a reliable license expression, such as in
the case of multiple licenses where the conjunctive versus disjunctive
relationship is not well defined.
- Scoring Weight = -10

- Conflicting license categories:

- When true, indicates the declared license expression of the software is in
the permissive category, but that other potentially conflicting categories,
such as copyleft and proprietary, have been detected in lower level code.
- Scoring Weight = -20


Outputs:
~~~~~~~~

Expand All @@ -251,13 +302,26 @@ Changes:
- add resource-level attribute `for_packages`.
- remove `package-data` attribute `root_path`.


Documentation Update
~~~~~~~~~~~~~~~~~~~~~~~~

- Various documentations have been updated to reflects API changes and
correct minor documentation issues.


Development environment changes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- The license cache consistency is not checked anymore when you are using a Git
checkout. The SCANCODE_DEV_MODE tag file has been removed entirely. Use
instead the --reindex-licenses option to rebuild the license index.

- We can now regenerate updated test fixtures using the new SCANCODE_REGEN_TEST_FIXTURES
environemnt variable. There is no need to replace the regen=False with regen=True
in the code.


30.1.0 - 2021-09-25
--------------------

Expand Down
Loading