aboutsummaryrefslogtreecommitdiffstats
path: root/options/license
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated licenses and gitignoresGiteaBot2024-12-162-0/+11
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-12-0911-51/+780
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-10-072-0/+98
|
* Support repo license (#24872)yp053272024-10-011-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: ![image](https://github.com/go-gitea/gitea/assets/18380374/41260bd7-0b4c-4038-8592-508706cffa9f) Multiple Licenses: ![image](https://github.com/go-gitea/gitea/assets/18380374/34ce2f73-7e18-446b-9b96-ecc4fb61bd70) 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) ![image](https://github.com/go-gitea/gitea/assets/18380374/2c3c3bf8-bcc2-4c6d-8ce0-81d1a9733878) --------- 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 gitignoresGiteaBot2024-09-231-0/+14
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-09-094-0/+111
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-08-263-0/+166
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-08-122-107/+11
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-08-051-0/+10
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-07-294-0/+41
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-05-275-0/+98
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-05-205-0/+269
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-05-1315-436/+1989
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-291-0/+121
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-222-0/+42
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-153-0/+47
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-0811-63/+64
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-013-0/+35
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-03-181-0/+3
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-03-041-0/+23
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-02-1914-0/+205
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-02-054-0/+162
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-01-291-0/+6
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-01-225-0/+265
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-01-087-4/+263
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-12-252-0/+15
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-12-111-0/+15
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-12-042-0/+47
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-11-138-0/+341
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-10-162-0/+58
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-10-0226-2/+406
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-09-189-4/+164
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-09-042-0/+32
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-08-287-8/+87
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-08-073-0/+27
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-07-314-0/+15
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-07-039-0/+259
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-06-123-8/+25
|
* Fix incorrect git ignore rule and add missing license files (#25135)yp053272023-06-0812-0/+794
| | | | Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
* [skip ci] Updated licenses and gitignoresGiteaBot2023-06-051-0/+7
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-05-227-0/+107
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-05-081-0/+17
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-05-019-0/+427
|
* [skip ci] Updated licenses and gitignoresGiteaBot2023-02-2632-0/+1144
|
* [skip ci] Updated licenses and gitignoresKN4CK3R2023-01-011-0/+5
|
* [skip ci] Updated licenses and gitignoresLunny Xiao2022-12-256-0/+87
|
* [skip ci] Updated licenses and gitignoreszeripath2022-12-181-0/+44
|
* [skip ci] Updated licenses and gitignoresKN4CK3R2022-12-111-0/+10
|
* [skip ci] Updated licenses and gitignoresKN4CK3R2022-11-272-0/+20
|
* [skip ci] Updated licenses and gitignoresKN4CK3R2022-10-302-0/+20
|