GiteaBot
|
5a012d519d
|
[skip ci] Updated licenses and gitignores
|
2024-12-23 00:32:58 +00:00 |
|
GiteaBot
|
427d71a79e
|
[skip ci] Updated licenses and gitignores
|
2024-12-16 00:35:55 +00:00 |
|
GiteaBot
|
6d822a2547
|
[skip ci] Updated licenses and gitignores
|
2024-12-09 00:35:40 +00:00 |
|
GiteaBot
|
b907ce6d5c
|
[skip ci] Updated licenses and gitignores
|
2024-10-07 00:32:39 +00:00 |
|
yp05327
|
b6ea0a3def
|
Support repo license (#24872)
Close #278
Close #24076
## Solutions:
- Use
[google/licenseclassifier](https://github.com/google/licenseclassifier/)
Test result between
[google/licensecheck](https://github.com/google/licensecheck) and
[go-license-detector](https://github.com/go-enry/go-license-detector):
https://github.com/go-gitea/gitea/pull/24872#issuecomment-1560361167
Test result between
[google/licensecheck](https://github.com/google/licensecheck) and
[google/licenseclassifier](https://github.com/google/licenseclassifier/):
https://github.com/go-gitea/gitea/pull/24872#issuecomment-1576092178
- Generate License Convert Name List to avoid import license templates
with same contents
Gitea automatically get latest license data from[
spdx/license-list-data](https://github.com/spdx/license-list-data).
But unfortunately, some license templates have same contents. #20915
[click here to see the
list](https://github.com/go-gitea/gitea/pull/24872#issuecomment-1584141684)
So we will generate a list of these license templates with same contents
and create a new file to save the result when using `make
generate-license`. (Need to decide the save path)
- Save License info into a new table `repo_license`
Can easily support searching repo by license in the future.
## Screen shot
Single License:

Multiple Licenses:

Triggers:
- [x] Push commit to default branch
- [x] Create repo
- [x] Mirror repo
- [x] When Default Branch is changed, licenses should be updated
Todo:
- [x] Save Licenses info in to DB when there's a change to license file
in the commit
- [x] DB Migration
- [x] A nominal test?
- [x] Select which library to
use(https://github.com/go-gitea/gitea/pull/24872#issuecomment-1560361167)
- [x] API Support
- [x] Add repo license table
- ~Select license in settings if there are several licenses(Not
recommended)~
- License board(later, not in this PR)

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
|
2024-10-01 15:25:08 -04:00 |
|
GiteaBot
|
d186145264
|
[skip ci] Updated licenses and gitignores
|
2024-09-23 00:31:34 +00:00 |
|
GiteaBot
|
c2082329dc
|
[skip ci] Updated licenses and gitignores
|
2024-09-09 00:31:04 +00:00 |
|
GiteaBot
|
789ec9876e
|
[skip ci] Updated licenses and gitignores
|
2024-08-26 00:28:33 +00:00 |
|
GiteaBot
|
010ebb25e3
|
[skip ci] Updated licenses and gitignores
|
2024-08-12 00:29:12 +00:00 |
|
GiteaBot
|
b55daf1a8e
|
[skip ci] Updated licenses and gitignores
|
2024-08-05 00:28:44 +00:00 |
|
GiteaBot
|
f9f23d5978
|
[skip ci] Updated licenses and gitignores
|
2024-07-29 00:28:39 +00:00 |
|
GiteaBot
|
a9c944ad3f
|
[skip ci] Updated licenses and gitignores
|
2024-05-27 00:26:27 +00:00 |
|
GiteaBot
|
668a1ec800
|
[skip ci] Updated licenses and gitignores
|
2024-05-20 00:25:39 +00:00 |
|
GiteaBot
|
c7836a5a5a
|
[skip ci] Updated licenses and gitignores
|
2024-05-13 00:26:15 +00:00 |
|
GiteaBot
|
b8b3a90e8b
|
[skip ci] Updated licenses and gitignores
|
2024-04-29 00:25:01 +00:00 |
|
GiteaBot
|
30fcd77860
|
[skip ci] Updated licenses and gitignores
|
2024-04-22 00:25:56 +00:00 |
|
GiteaBot
|
68c2ab3537
|
[skip ci] Updated licenses and gitignores
|
2024-04-15 02:40:53 +00:00 |
|
GiteaBot
|
8053787dd4
|
[skip ci] Updated licenses and gitignores
|
2024-04-08 00:25:35 +00:00 |
|
GiteaBot
|
a21c5f5458
|
[skip ci] Updated licenses and gitignores
|
2024-04-01 00:27:21 +00:00 |
|
GiteaBot
|
a20d7f9a9c
|
[skip ci] Updated licenses and gitignores
|
2024-03-18 00:24:59 +00:00 |
|
GiteaBot
|
4fe1ccd97e
|
[skip ci] Updated licenses and gitignores
|
2024-03-04 00:24:22 +00:00 |
|
GiteaBot
|
6c4b2f34d0
|
[skip ci] Updated licenses and gitignores
|
2024-02-19 00:24:35 +00:00 |
|
GiteaBot
|
2eac889efa
|
[skip ci] Updated licenses and gitignores
|
2024-02-05 00:25:25 +00:00 |
|
GiteaBot
|
9cad24b410
|
[skip ci] Updated licenses and gitignores
|
2024-01-29 00:24:21 +00:00 |
|
GiteaBot
|
d30a90bb4e
|
[skip ci] Updated licenses and gitignores
|
2024-01-22 00:26:33 +00:00 |
|
GiteaBot
|
b1278bb96c
|
[skip ci] Updated licenses and gitignores
|
2024-01-08 00:26:06 +00:00 |
|
GiteaBot
|
6638dd94f0
|
[skip ci] Updated licenses and gitignores
|
2023-12-25 00:25:23 +00:00 |
|
GiteaBot
|
614f84177c
|
[skip ci] Updated licenses and gitignores
|
2023-12-11 00:25:45 +00:00 |
|
GiteaBot
|
485b105252
|
[skip ci] Updated licenses and gitignores
|
2023-12-04 00:25:15 +00:00 |
|
GiteaBot
|
9634194d97
|
[skip ci] Updated licenses and gitignores
|
2023-11-13 00:24:40 +00:00 |
|
GiteaBot
|
1f5c5dddd4
|
[skip ci] Updated licenses and gitignores
|
2023-10-16 00:24:20 +00:00 |
|
GiteaBot
|
87e3cf1b14
|
[skip ci] Updated licenses and gitignores
|
2023-10-02 00:23:46 +00:00 |
|
GiteaBot
|
242a98bf20
|
[skip ci] Updated licenses and gitignores
|
2023-09-18 00:23:39 +00:00 |
|
GiteaBot
|
bcb945f3b0
|
[skip ci] Updated licenses and gitignores
|
2023-09-04 00:23:31 +00:00 |
|
GiteaBot
|
eb8cf46237
|
[skip ci] Updated licenses and gitignores
|
2023-08-28 00:22:48 +00:00 |
|
GiteaBot
|
ee50fa4642
|
[skip ci] Updated licenses and gitignores
|
2023-08-07 00:27:21 +00:00 |
|
GiteaBot
|
bf46806cbd
|
[skip ci] Updated licenses and gitignores
|
2023-07-31 00:32:16 +00:00 |
|
GiteaBot
|
325b1512c5
|
[skip ci] Updated licenses and gitignores
|
2023-07-03 00:30:17 +00:00 |
|
GiteaBot
|
e333c028f2
|
[skip ci] Updated licenses and gitignores
|
2023-06-12 00:29:16 +00:00 |
|
yp05327
|
f10eb8f1b7
|
Fix incorrect git ignore rule and add missing license files (#25135)
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
|
2023-06-08 09:36:53 +02:00 |
|
GiteaBot
|
27088bb155
|
[skip ci] Updated licenses and gitignores
|
2023-06-05 00:27:49 +00:00 |
|
GiteaBot
|
75f9f3d9d3
|
[skip ci] Updated licenses and gitignores
|
2023-05-22 00:25:26 +00:00 |
|
GiteaBot
|
27c3ae47ec
|
[skip ci] Updated licenses and gitignores
|
2023-05-08 00:23:39 +00:00 |
|
GiteaBot
|
2f46eb1b0f
|
[skip ci] Updated licenses and gitignores
|
2023-05-01 00:25:30 +00:00 |
|
GiteaBot
|
0189132d36
|
[skip ci] Updated licenses and gitignores
|
2023-02-26 00:15:26 +00:00 |
|
KN4CK3R
|
587ab411f5
|
[skip ci] Updated licenses and gitignores
|
2023-01-01 00:19:35 +00:00 |
|
Lunny Xiao
|
aecfb7b9d5
|
[skip ci] Updated licenses and gitignores
|
2022-12-25 00:19:36 +00:00 |
|
zeripath
|
6f5b7c8c9e
|
[skip ci] Updated licenses and gitignores
|
2022-12-18 00:19:33 +00:00 |
|
KN4CK3R
|
5c7a42eab9
|
[skip ci] Updated licenses and gitignores
|
2022-12-11 00:19:34 +00:00 |
|
KN4CK3R
|
25636d2cf5
|
[skip ci] Updated licenses and gitignores
|
2022-11-27 00:19:33 +00:00 |
|