@@ -53,15 +53,30 @@ License detection:
53
53
detected license only once. This data can contain the reference license text
54
54
as an option.
55
55
56
- - We can now detect licenses using custom license texts and license rules.
57
- These can be provided as a one off in a directory or packaged as a plugin
58
- for consistent reuse and deployment.
59
-
60
56
- There is a new "scancode-reindex-licenses" command that replace the
61
57
"scancode --reindex-licenses" command line option which has been
62
58
removed. This new command supports simpler reindexing using custom
63
59
license texts and license rules contributed by plugins or stored in an
64
- additional directory.
60
+ additional directory. The "--reindex-licenses-for-all-languages" CLI option
61
+ is also moved to the "scancode-reindex-licenses" command as an option
62
+ "--all-languages".
63
+
64
+ - We can now detect licenses using custom license texts and license rules.
65
+ These can be provided as a one off in a directory or packaged as a plugin
66
+ for consistent reuse and deployment. There is an option "--additional-directory"
67
+ with the "scancode-reindex-licenses" command and also a new "--only-builtin"
68
+ option to only use the builtin licenses to build the cache.
69
+
70
+ - Scancode LICENSE and RULE files now also contain their data as YAML frontmatter,
71
+ which previously used to be in their respective YAML files. This reduces number of
72
+ files in those directories, 'rules' and 'licenses' to half. Git line history is
73
+ preserved for the files.
74
+
75
+ - A new command line option "--get-license-data" is added to dump license data in
76
+ JSON, YAML and HTML formats, and also generates a local index and a static website
77
+ to view the data. This will essentially be an API/way to get scancode license data
78
+ as opposed to just reading the files.
79
+
65
80
66
81
Package detection:
67
82
~~~~~~~~~~~~~~~~~~~~~
0 commit comments