Skip to content

Commit

Permalink
Rename only_known_words to continuous #2769
Browse files Browse the repository at this point in the history
This is applying the renaming doone in the code to the actual rules

Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Nov 27, 2021
1 parent bb54959 commit ff7c148
Show file tree
Hide file tree
Showing 298 changed files with 302 additions and 326 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: d-fsl-1.0-de
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/apache-2.0_217.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: apache-2.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/apache-2.0_580.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: apache-2.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/apache-2.0_581.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: apache-2.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/bsd-new_292.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: bsd-new
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 90
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/bsd-new_524.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: bsd-new
is_license_tag: yes
only_known_words: yes
continuous: yes
relevance: 90
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/bsd-new_89.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: bsd-new
is_license_tag: yes
relevance: 95
relevance: 99
4 changes: 1 addition & 3 deletions src/licensedcode/data/rules/bsd-simplified_50.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
## Licence

BSD-2-Clause
Licence BSD-2-Clause
4 changes: 1 addition & 3 deletions src/licensedcode/data/rules/bsd-simplified_89.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
BSD

BSD-2-Clause
BSD BSD-2-Clause
5 changes: 1 addition & 4 deletions src/licensedcode/data/rules/bsd-simplified_91.RULE
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
License
-------

2 clause BSD license. See [LICENSE]
License 2 clause BSD license. See [LICENSE]
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/cc-by-4.0_11.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: cc-by-4.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/classpath-exception-2.0_5.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
license_expression: classpath-exception-2.0
is_license_reference: yes
relevance: 100
continuous: yes

Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
is_false_positive: yes
only_known_words: yes
notes: A mention of a license and not a license
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: gpl-1.0-plus
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 99
minimum_coverage: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/gpl-1.0_15.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: gpl-1.0
is_license_tag: yes
relevance: 60
only_known_words: yes
continuous: yes
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/gpl-1.0_gpl_10_bare_words.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: gpl-1.0
is_license_tag: yes
relevance: 60
only_known_words: yes
continuous: yes

1 change: 1 addition & 0 deletions src/licensedcode/data/rules/gpl-2.0-plus_768.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
license_expression: gpl-2.0-plus
is_license_notice: yes
relevance: 100
minimum_coverage: 80
6 changes: 3 additions & 3 deletions src/licensedcode/data/rules/gpl-2.0-plus_92.RULE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
it under the terms of the {{GNU General Public License}} as published by
the Free Software Foundation; either {{version 2 of the License, or
(at your option) any later version}}.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/gpl-2.0-plus_92.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
license_expression: gpl-2.0-plus
is_license_notice: yes
minimum_coverage: 80
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: gpl-2.0-plus WITH ada-linking-exception
is_license_notice: yes
only_known_words: yes
continuous: yes
relevance: 99
minimum_coverage: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/gpl-2.0_gpl_20_bare_words.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: gpl-2.0
is_license_tag: yes
relevance: 60
only_known_words: yes
continuous: yes

Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ license_expression: gpl-2.0 WITH classpath-exception-2.0 AND gpl-2.0 AND apache-
AND bsd-new AND bsd-original AND gpl-1.0-plus AND ijg AND lgpl-2.0-plus AND mit AND mpl-2.0
AND public-domain AND w3c AND zlib
is_license_tag: yes
only_known_words: yes
continuous: yes
relevance: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/gpl-3.0_gpl_30_bare_words.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: gpl-3.0
is_license_tag: yes
relevance: 60
only_known_words: yes
continuous: yes

4 changes: 1 addition & 3 deletions src/licensedcode/data/rules/lgpl-2.1-plus_105.RULE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
COPYING
-------
Free use of this software is granted under the terms of the GNU Lesser General
Public License (LGPL v2.1+). For details see the files `COPYING` and
`COPYING.LESSER` included with the distribution.
`COPYING.LESSER` included with the distribution.
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lgpl-2.1-plus_111.RULE
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ COPYING
-------
Free use of this software is granted under the terms of the GNU Lesser General
Public License (LGPL v2.1+). For details see the files `COPYING` and
`COPYING.LESSER` included with the libmodbus distribution.
`COPYING.LESSER` included with the distribution.
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lgpl_20_tag.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: lgpl-2.0-plus
is_license_tag: yes
relevance: 99
only_known_words: yes
continuous: yes

2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/mit_111.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: mit
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 99
minimum_coverage: 100
2 changes: 0 additions & 2 deletions src/licensedcode/data/rules/mit_138.RULE
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
License
-------

[The MIT License](LICENSE).
3 changes: 1 addition & 2 deletions src/licensedcode/data/rules/mit_154.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
## License

License
MIT License (MIT)
7 changes: 2 additions & 5 deletions src/licensedcode/data/rules/mit_163.RULE
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
## License

All software included is bundled with own license

The MIT License (MIT)
License All software included is bundled with own license
The MIT License (MIT)
4 changes: 1 addition & 3 deletions src/licensedcode/data/rules/mit_221.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
license

MIT/X11
license MIT/X11
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/mit_479.RULE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @license http://mit-license.org/
license http://mit-license.org/
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/ofl-1.1_and_mit_5.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: ofl-1.1 AND mit
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
ignorable_urls:
Expand Down
9 changes: 3 additions & 6 deletions src/licensedcode/data/rules/proprietary_47.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
("Proprietary"
t
"All Rights Reserved."
""
"This program and its documentation constitute intellectual property "
"of
Proprietary t
All Rights Reserved
This program and its documentation constitute intellectual property of
3 changes: 1 addition & 2 deletions src/licensedcode/data/rules/proprietary_49.RULE
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"This program and its documentation constitute intellectual property "
"of
This program and its documentation constitute intellectual property of
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/public-domain_426.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
license_expression: public-domain
is_license_text: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/public-domain_bare_words.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: public-domain
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 70
4 changes: 1 addition & 3 deletions src/licensedcode/data/rules/ruby_13.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
License

Ruby's
License: Ruby's
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/ruby_13.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: ruby
is_license_reference: yes
is_license_tag: yes
relevance: 99
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: bsd-zero
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: 389-exception
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: adobe-scl
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: afl-1.1
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: afl-1.2
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: afl-2.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: afl-2.1
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: afl-3.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-1.0-plus
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-1.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-1.0-plus
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-3.0-plus
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 90
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-3.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 90
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: agpl-3.0-plus
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: amdplpa
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: antlr-pd
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 50
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: apache-1.1
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 90
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
license_expression: apache-2.0
is_license_reference: yes
only_known_words: yes
continuous: yes
relevance: 100
minimum_coverage: 100
notes: Used to detect a bare SPDX license id
Loading

0 comments on commit ff7c148

Please sign in to comment.