Commit 83dc6c9
authored
Adds ability to fetch per-repo license information (piotrmurach#344)
The Github Licenses API uses the open source Ruby Gem Licensee to
attempt to identify the project's license. Licensee matches the contents
of a project's LICENSE file (if it exists) against a short list of known
licenses. As a result, the API does not take into account the licenses
of project dependencies or other means of documenting a project's license
such as references to the license name in the documentation.
If a license is matched, the license key and name returned conforms to
the SPDX specification.
Signed-off-by: zachwick <[email protected]>1 parent 5080af2 commit 83dc6c9
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
36 | 53 | | |
37 | 54 | | |
38 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
0 commit comments