Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (14 loc) · 1.02 KB

Traces

Traces is a micro CLI application that is able to get all contributions and their contributors in "developer-readable" JSON format for a specified repository.

Installation

The authentication is a basic login/password for GitHub.

 $ composer require prestashop/traces
 
 $ ./vendor/bin/traces <repositoryOwner/repositoryName> <login> <password> --config="config.yml"

You can configure a list of excluded contributors, take a look to config.dist.yml file.

A file named contributors.js will be generated, you can manipulate it using any programming language.

I prefer to export in XML/CSV/Whatever

This is not provided out of box right now. For CSV support take a look at Json to CSV website, or to csvkit.

For XML, you may use SimpleXMLElement. I'm open to contributions that allow to pass --output=xml|csv|json if the code remains simple.