Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-12-16 | 2 | -0/+11 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-12-09 | 11 | -51/+780 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-10-07 | 2 | -0/+98 |
| | |||||
* | Support repo license (#24872) | yp05327 | 2024-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-09-23 | 1 | -0/+14 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-09-09 | 4 | -0/+111 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-08-26 | 3 | -0/+166 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-08-12 | 2 | -107/+11 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-08-05 | 1 | -0/+10 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-07-29 | 4 | -0/+41 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-05-27 | 5 | -0/+98 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-05-20 | 5 | -0/+269 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-05-13 | 15 | -436/+1989 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-04-29 | 1 | -0/+121 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-04-22 | 2 | -0/+42 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-04-15 | 3 | -0/+47 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-04-08 | 11 | -63/+64 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-04-01 | 3 | -0/+35 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-03-18 | 1 | -0/+3 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-03-04 | 1 | -0/+23 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-02-19 | 14 | -0/+205 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-02-05 | 4 | -0/+162 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-01-29 | 1 | -0/+6 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-01-22 | 5 | -0/+265 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2024-01-08 | 7 | -4/+263 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-12-25 | 2 | -0/+15 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-12-11 | 1 | -0/+15 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-12-04 | 2 | -0/+47 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-11-13 | 8 | -0/+341 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-10-16 | 2 | -0/+58 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-10-02 | 26 | -2/+406 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-09-18 | 9 | -4/+164 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-09-04 | 2 | -0/+32 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-08-28 | 7 | -8/+87 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-08-07 | 3 | -0/+27 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-07-31 | 4 | -0/+15 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-07-03 | 9 | -0/+259 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-06-12 | 3 | -8/+25 |
| | |||||
* | Fix incorrect git ignore rule and add missing license files (#25135) | yp05327 | 2023-06-08 | 12 | -0/+794 |
| | | | | Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io> | ||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-06-05 | 1 | -0/+7 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-05-22 | 7 | -0/+107 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-05-08 | 1 | -0/+17 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-05-01 | 9 | -0/+427 |
| | |||||
* | [skip ci] Updated licenses and gitignores | GiteaBot | 2023-02-26 | 32 | -0/+1144 |
| | |||||
* | [skip ci] Updated licenses and gitignores | KN4CK3R | 2023-01-01 | 1 | -0/+5 |
| | |||||
* | [skip ci] Updated licenses and gitignores | Lunny Xiao | 2022-12-25 | 6 | -0/+87 |
| | |||||
* | [skip ci] Updated licenses and gitignores | zeripath | 2022-12-18 | 1 | -0/+44 |
| | |||||
* | [skip ci] Updated licenses and gitignores | KN4CK3R | 2022-12-11 | 1 | -0/+10 |
| | |||||
* | [skip ci] Updated licenses and gitignores | KN4CK3R | 2022-11-27 | 2 | -0/+20 |
| | |||||
* | [skip ci] Updated licenses and gitignores | KN4CK3R | 2022-10-30 | 2 | -0/+20 |
| |