sangheestyle / bigdiff-code

bigdiff-code
2 stars 1 forks source link

bigdiff-code

You can find what we need to do in issue.

Setup

To setup the environment, run:

$ git clone https://github.com/sangheestyle/bigdiff-code
$ cd bigdiff-code
$ npm install

For more information, please see documentation for bigdiff-code

How to use

You can see some example to know how to use this module.

Submodules and functionalities

The bigdiff-code module will give you submodules for accessing repositories and social artifacts.

git

Wrap git functionalities.

github

Find repositories or issues via various criteria. See Search APIs.

googlePlay

Search packages, crawl their information, and save them.

utils

Some utils help other modules.

REST APIs

POST api/search/commits

Search regex for commits with some params. example

$ curl -H "Content-Type: application/json" -X POST \
-d '{"regex": ".setTag\\([^,|^\\(]*,[^,]*\\)", "ext":"java", "local_repo_root": "demo_set", "max":100}' \
http://sangheestyle.com:8080/api/search/commits \
-o result.json

Params:

Style guide

You will want to understand and follow the style guides listed below.