holmari / gerritstats

Tool for creating statistics from a Gerrit repository
MIT License
193 stars 54 forks source link

Add -i/--private-key to GerritDownloader #5

Closed opalmer closed 8 years ago

opalmer commented 8 years ago

It would be nice be able to specify a specific private key directly when connecting over ssh. This could be controlled by specifying the configuration in ~/.ssh/id_rsa too but passing in -i/--private-key seemed more convenient.

On a side note, I'm by no means a Java expert so if there's something wrong or a better way of accomplishing this I'll be happy to fix it.

holmari commented 8 years ago

Merged, thanks @opalmer !