Script that:
- Download repositories from csv
- Iterates over the repositories by running LicenseFinder
- Dump the result of LicenseFinder execution in a file
This experiment can be replicated to projects that your programming language is supported with LicenseFinder. List of supported project types
- Python3
- LicenseFinder (Execution with Docker)
- Dataset
.csv
insrc/repositories.csv
. Recommended dataset or another with the same structure.
$ git clone https://github.com/dennisurtubia/licenses-datamining.git
$ cd licenses-datamining
$ sudo python3 src/execute.py NUMBER_OF_PROCESS # NUMBER_OF_PROCESS 0 or 1
Example for Cookies project execution:
{
"Cookies": {
"dependencies": [
{
"name": "cookies-js",
"version": "1.2.4-pre",
"licenses": ["Public Domain"]
}
]
}
}