Skip to content

Commit

Permalink
Merge pull request aboutcode-org#1401 from mriiinal/1380-url-badge
Browse files Browse the repository at this point in the history
Add license detection rules and test for badge URLs aboutcode-org#1380

Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne authored Feb 28, 2019
2 parents dc6685d + c17a2d7 commit c6d1de1
Show file tree
Hide file tree
Showing 69 changed files with 199 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ The following organizations or individuals have contributed to ScanCode:
- Nirmal Sarswat @vivonk
- Tushar Mittal @techytushar
- Martin Petkov @MartinPetkov
- Mrinal Paliwal @mriiinal
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/agpl-3.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/agpl-3.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: agpl-3.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/apache-2.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: apache-2.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/artistic-2.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/artistic-2.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: artistic-2.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/artistic-2.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: Artistic-2.0](https://img.shields.io/badge/License-Perl-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/artistic-2.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: artistic-2.0
is_license_reference: yes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: bsd-2-clause-freebsd
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/bsd-new_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/bsd-new_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: bsd-new
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY 4.0](https://licensebuttons.net/l/by/4.0/80x15.png)](https://creativecommons.org/licenses/by/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-4.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nc-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC 4.0](https://licensebuttons.net/l/by-nc/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nc-4.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nc-nd-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC-ND 4.0](https://licensebuttons.net/l/by-nc-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-nd/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-nd-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-nd-4.0
is_license_reference: yes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC%20BY--NC--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-nd-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-nd-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nc-sa-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC-SA 4.0](https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-sa-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-sa-4.0
is_license_reference: yes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nc-sa-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nc-sa-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nd-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-ND 4.0](https://licensebuttons.net/l/by-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nd/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nd-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nd-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-nd-4.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-ND 4.0](https://img.shields.io/badge/License-CC%20BY--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nd/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-nd-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-nd-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-sa-4.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-sa-4.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-sa-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc-by-sa-4.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC BY-SA 4.0](https://licensebuttons.net/l/by-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-sa/4.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc-by-sa-4.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc-by-sa-4.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc0-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC0-1.0](https://licensebuttons.net/l/zero/1.0/80x15.png)](http://creativecommons.org/publicdomain/zero/1.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc0-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc0-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/cc0-1.0_url_badge_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: CC0-1.0](https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/cc0-1.0_url_badge_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: cc0-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/epl-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License](https://img.shields.io/badge/License-EPL%201.0-red.svg)](https://opensource.org/licenses/EPL-1.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/epl-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: epl-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/gfdl-1.3_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: FDL 1.3](https://img.shields.io/badge/License-FDL%20v1.3-blue.svg)](https://www.gnu.org/licenses/fdl-1.3)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/gfdl-1.3_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: gfdl-1.3
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/gpl-2.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/gpl-2.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: gpl-2.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/gpl-3.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/gpl-3.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: gpl-3.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/ibmpl-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: IPL 1.0](https://img.shields.io/badge/License-IPL%201.0-blue.svg)](https://opensource.org/licenses/IPL-1.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/ibmpl-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: ibmpl-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/lgpl-3.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: lgpl-3.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/mit_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/mit_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: mit
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/mpl-2.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/mpl-2.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: mpl-2.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/odbl-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: ODbL](https://img.shields.io/badge/License-ODbL-brightgreen.svg)](https://opendatacommons.org/licenses/odbl/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/odbl-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: odbl-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/odc-by-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: Open Data Commons Attribution](https://img.shields.io/badge/License-ODC_BY-brightgreen.svg)](https://opendatacommons.org/licenses/by/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/odc-by-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: odc-by-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/pddl-1.0_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: ODbL](https://img.shields.io/badge/License-PDDL-brightgreen.svg)](https://opendatacommons.org/licenses/pddl/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/pddl-1.0_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: pddl-1.0
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/unlicense_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/unlicense_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: unlicense
is_license_reference: yes
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/zlib_url_badge.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![License: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)](https://opensource.org/licenses/Zlib)
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/zlib_url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expression: zlib
is_license_reference: yes
65 changes: 65 additions & 0 deletions tests/licensedcode/data/licenses/url_badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)

[![License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)

[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)

[![License: CC0-1.0](https://licensebuttons.net/l/zero/1.0/80x15.png)](http://creativecommons.org/publicdomain/zero/1.0/)

[![License: CC0-1.0](https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)

[![License: CC BY 4.0](https://licensebuttons.net/l/by/4.0/80x15.png)](https://creativecommons.org/licenses/by/4.0/)

[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)

[![License: CC BY-SA 4.0](https://licensebuttons.net/l/by-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-sa/4.0/)

[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/)

[![License: CC BY-NC 4.0](https://licensebuttons.net/l/by-nc/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc/4.0/)

[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)

[![License: CC BY-ND 4.0](https://licensebuttons.net/l/by-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nd/4.0/)

[![License: CC BY-ND 4.0](https://img.shields.io/badge/License-CC%20BY--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nd/4.0/)

[![License: CC BY-NC-SA 4.0](https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

[![License: CC BY-NC-ND 4.0](https://licensebuttons.net/l/by-nc-nd/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC%20BY--NC--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

[![License](https://img.shields.io/badge/License-EPL%201.0-red.svg)](https://opensource.org/licenses/EPL-1.0)

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)

[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)

[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)

[![License: FDL 1.3](https://img.shields.io/badge/License-FDL%20v1.3-blue.svg)](https://www.gnu.org/licenses/fdl-1.3)

[![License: IPL 1.0](https://img.shields.io/badge/License-IPL%201.0-blue.svg)](https://opensource.org/licenses/IPL-1.0)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)

[![License: Open Data Commons Attribution](https://img.shields.io/badge/License-ODC_BY-brightgreen.svg)](https://opendatacommons.org/licenses/by/)

[![License: ODbL](https://img.shields.io/badge/License-ODbL-brightgreen.svg)](https://opendatacommons.org/licenses/odbl/)

[![License: ODbL](https://img.shields.io/badge/License-PDDL-brightgreen.svg)](https://opendatacommons.org/licenses/pddl/)

[![License: Artistic-2.0](https://img.shields.io/badge/License-Perl-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)

[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)

[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)

[![License: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)](https://opensource.org/licenses/Zlib)
34 changes: 34 additions & 0 deletions tests/licensedcode/data/licenses/url_badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
license_expressions:
- apache-2.0
- bsd-new
- bsd-2-clause-freebsd
- cc0-1.0
- cc0-1.0
- cc-by-4.0
- cc-by-4.0
- cc-by-sa-4.0
- cc-by-sa-4.0
- cc-by-nc-4.0
- cc-by-nc-4.0
- cc-by-nd-4.0
- cc-by-nd-4.0
- cc-by-nc-sa-4.0
- cc-by-nc-sa-4.0
- cc-by-nc-nd-4.0
- cc-by-nc-nd-4.0
- epl-1.0
- gpl-3.0
- gpl-2.0
- agpl-3.0
- lgpl-3.0
- gfdl-1.3
- ibmpl-1.0
- mit
- mpl-2.0
- odc-by-1.0
- odbl-1.0
- pddl-1.0
- artistic-2.0
- artistic-2.0
- unlicense
- zlib

0 comments on commit c6d1de1

Please sign in to comment.