Skip to content

v2.0.0

Compare
Choose a tag to compare
@elrayle elrayle released this 28 Oct 16:40
· 29 commits to master since this release
284d8f8

Release tag: v2.0.0

Upgrade Notes

No steps are required to upgrade to this release as a user of ClearlyDefined. Any local harvesters will need to get the latest crawler image from Docker Hub and restart their crawler.

All major changes are related to data output changes brought in by updates to license identification tools and the license extraction process.

Note: Requests for definitions do not initiate a harvest request when a definition already exists. A harvest request is required to update raw tool results from which the definition will be constructed. Note as well that harvesting takes significant time. There will be a delay from the time the harvest request is made before the results will be reflected in a definition request.

What’s changed

Major Changes

Update license detection tools

Modifications to ClearlyDefined license extraction

  • Update PodExtract tool version by @qtomlinson in #566
  • Derive license from info.license over classifiers in pypi registry data by @qtomlinson in #586

Minor Changes

New traversal policy

  • Introduce “reharvestAlways” traversal policy to make re-harvest simpler by @qtomlinson in #598

New “reharvestAlways” policy behavior:

  • When the tool result for a component is available, the tool will be rerun and tool result updated, similar to the "always" policy.
  • When the tool result for a component is not available, the component will be fetched and the tool will be run. This differs from the “always” policy which skips running when the results do not already exist.

Other minor changes

  • Remove rimraf by @lumaxis in #558
  • Update spdx parsing which includes support for passing in LicenseRef map by @ljones140 in #606

Bug Fixes and Patches

Development related

DevOps

  • Deploy production crawler to Clearly Defined’s Azure account, along with MSFT by @ljones140 in #608
  • Deploys to dev on master merge by @ljones140 in #601
  • Deploy dev crawler via GitHub action by @ljones140 in #599
  • tests should run for changes in prod and have the option to run manually by @elrayle in #592
  • Add separate workflow step for testing Docker build by @lumaxis in #580
  • docs: add SECURITY.md by @nickvidal in #584

Dependencies

New Contributors

Full Changelog: v1.2.0...v2.0.0