Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/mit_1056.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Distributed under the MIT License (MIT)
4 changes: 4 additions & 0 deletions src/licensedcode/data/rules/mit_1056.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
license_expression: mit
is_license_notice: yes
relevance: 100
notes: https://github.com/nexB/scancode-toolkit/issues/2675
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/mit_1057.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
or copy at http://opensource.org/licenses/MIT)
9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/mit_1057.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
license_expression: mit
is_license_notice: yes
relevance: 100
referenced_filenames:
- LICENSE.txt
notes: https://github.com/nexB/scancode-toolkit/issues/2675
ignorable_urls:
- http://opensource.org/licenses/MIT

11 changes: 11 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* @file Exception.cpp
* @ingroup SQLiteCpp
* @brief Encapsulation of the error message from SQLite3 on a std::runtime_error.
*
* Copyright (c) 2012-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#include <SQLiteCpp/Exception.h>
3 changes: 3 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expressions:
- mit