About The Project
This repo is for implementation of for a starter bug of GSoC 2021(Port power policies end-to-end tests project.)
See more detail here
Getting Started
Prerequisites
Please make sure you have installed golang in your environments
Installation
- Run chrome os with debug mode
For example, in Mac
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
- Clone the repo
$ go run main.go
Usage
It does
- Navigate to chromium.googlesource.com/chromiumos/platform/tast-tests/
- Click main under branches on the left, it navigates you to the latest commit
- Parse page and write only commit message to the file. By default it will create a folder called output
- Click on the commit hash on the right side of parent.
- Generate csv file to show how many commits each contributor created (author) and reviewed (Reviewed-by). By Default it will create a folder called csv
Also you can pass some parameters
-
Commit Numbers by default
1
. You can specify by --numbers -
Repository URL by default
http://chromium.googlesource.com/chromiumos/platform/tast-tests/
You can specify by --url -
Branch name by default
main
. You can specify by --branch -
Timeout in sec --timeout by default 30 sec. You can specify by --timeout
-
Commit message files folder path by default
output
. You can specify by --output-dir -
CSV files folder path. By default
csv
. You can specify by --csv-output