This toolkit provides you a quick and easy way to extract metadata from git-based repositories.
Tools:
- Git history parser.
- Query tool.
- The Git Plugin.
- Command line interface.
- Install node.js v14.x
- Install the toolkit via npm:
npm i https://github.com/imdonix/git-qtk --global
- Check:
git-qtk -h
- Create a script file:
nano test.yaml
from: commit c
select: c.sha
- Run
git-qtk -s .\test.yaml -r https://github.com/imdonix/example
- Install node.js v14.x
- Clone:
git clone https://github.com/imdonix/git-qtk
- Change directory:
cd git-qtk
- Install dependecies:
npm i
- Use:
node .\bin\main.js -h
- Example queries can be found under:
./examples
Unit tests are implemented with the mocha framework:
npm test
The runtime measurement will run multiple scripts on multiple repositories.
npm run runtime
-> ./gen/[CPU name].csv