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

Apply miscellaneous license detection updates #3936

Merged
merged 24 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
82e207c
Improve copyright detection accuracy
pombredanne Mar 22, 2024
ad75483
Add key phrase to license rule
pombredanne Mar 22, 2024
0c688fa
Add notes to mit-taylor-variant licenses
pombredanne Apr 26, 2024
5dfdaf3
Tag key phrases in license rules
pombredanne Apr 26, 2024
3669c5f
Add new generated keyword
pombredanne Apr 26, 2024
40f9390
Add new license test
pombredanne Apr 26, 2024
7fb0c97
Discard empty attributes in rules generator data
pombredanne Apr 26, 2024
29431a2
Merge remote-tracking branch 'upstream/develop' into misc-license-upd…
pombredanne May 9, 2024
d3474d2
Add new and improved license rules
pombredanne May 9, 2024
67f000d
Use correct tag for license rule
pombredanne May 9, 2024
6890e4f
Add new GFDL license rules
pombredanne May 9, 2024
6b1a7f0
Add new improved license detection rules
pombredanne May 9, 2024
316554b
Add new false positive license rules
pombredanne May 9, 2024
9d536e9
Rename GFDL license rule
pombredanne May 9, 2024
fd43393
Add new GFDL rules and update tests
pombredanne May 9, 2024
0c60f41
Improve license detection tests
pombredanne May 9, 2024
2fe96e4
Add new license detection rules
pombredanne May 9, 2024
8cd3796
Improve Rust license detection
pombredanne May 9, 2024
1e669cf
Improve copyright tracing
pombredanne May 9, 2024
295628d
Rename license rules to merge cleanly
pombredanne Oct 2, 2024
cf29f16
Merge latest develop
pombredanne Oct 2, 2024
c0f7a72
Update ignorables in license rules
pombredanne Oct 4, 2024
bf670c3
Adjust tests to latest code
pombredanne Oct 4, 2024
10d65c7
Merge remote-tracking branch 'upstream/develop' into misc-updates
pombredanne Oct 4, 2024
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions etc/scripts/licenses/buildrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def __attrs_post_init__(self, *args, **kwargs):
print(rdat)
print("########################################################")
raise
self.data = {k: v for k, v in self.data.items() if v is not None or (v is None and k == "license_expression")}


def load_data(location="00-new-licenses.txt"):
Expand Down
3 changes: 2 additions & 1 deletion src/licensedcode/data/licenses/mit-taylor-variant.LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ other_spdx_license_keys:
- LicenseRef-scancode-mit-taylor-variant
other_urls:
- https://github.com/pkgconf/pkgconf/blob/master/cli/main.c#L8
notes: Originally from https://github.com/quinntaylor/CHDataStructures/blob/097c0e3f4d7ae1c24266d3d03434e07b9b76f3db/source/Util.h#L6C1-L9C1
---

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

The software is provided "as is", without warranty of any kind, including all
The software is provided "as is", without warranty of any kind, including all
implied warranties of merchantability and fitness. In no event shall the authors
or copyright holders be liable for any claim, damages, or other liability,
whether in an action of contract, tort, or otherwise, arising from, out of, or
Expand Down
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/agpl-3.0-plus_11.RULE
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ignorable_urls:
- http://www.gnu.org/licenses
---

is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
is free software: you can redistribute it and/or modify it under the terms of the {{GNU Affero General Public License}} as published by the Free Software Foundation, {{either version 3 of the License, or (at your option) any later version.}}

is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with . If not, see http://www.gnu.org/licenses/.
You should have received a copy of the GNU Affero General Public License along with . If not, see http://www.gnu.org/licenses/.
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/agpl-3.0-plus_161.RULE
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ referenced_filenames:
---

This script is part of GNU Ghostscript and is distributed under
the terms of the GNU Affero General Public License. See the file COPYING
for more information.
the terms of the {{GNU Affero General Public License.}} See the file COPYING
for more information.
Loading
Loading