-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.We have reviewed the proposal and agree that it should be implemented like that/at all.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
There are more than 720 licenses in Gitea https://github.com/go-gitea/gitea/tree/main/options/license
Most of them are out-dated/inactive/unpopular
We could just keep about 20-40 popular licenses:
- https://innovationgraph.github.com/global-metrics/licenses
- https://github.com/github/innovationgraph/blob/main/data/licenses.csv
Benefits:
- reduce binary size
- speed up execution time
- save memory
- especially the License Detector, it consumes more than 100MB memory at the moment
- by removing most unnecessary licenses, License Detector could only consume 3-5MB memory then
lunny, eeyrjmr, techknowlogick, delvh, hiifong and 5 more
Metadata
Metadata
Assignees
Labels
proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.We have reviewed the proposal and agree that it should be implemented like that/at all.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.