community

command module
v0.0.0-...-91d6bfb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

README

community

community is a tool for collecting github informations, including repos, stargazers, forkers, etc.

How to build

make deps && sh deps.sh (optional, install golang dependent packages)
make build

How to use

Usage of community:
  -L string
      log level: debug, info, warn, error, fatal (default "info")
  -config string
      Config file
  -end string
      end date
  -i string
      input file
  -o string
      github owner
  -r string
      github repo
  -s string
      print service information [ forkers | issues | repos | stargazers | stargazer-ids | users | watchers ]
  -start string
      start date
  -t string
      github access token

Example

./community -o pingcap -r tidb -t {your-token} -s {service}

Or use config file.

./community --config=config.toml -s {service}

Service

forkers

List github forkers of {owner}/{repo}.

you can choose start and end as starred time filter for forkers collection, like -start 2016-11-01 -end 2016-11-06

issues

List github issuers of {owner}/{repo}.

repos

List github public repos of owner.

stargazers

List github stargazers of {owner}/{repo}.

you can choose start and end as starred time filter for stargazers collection, like -start 2016-11-01 -end 2016-11-06

stargazer-ids

List github stargazer ids of {owner}/{repo}.

you can choose start and end as starred time filter for stargazers collection, like -start 2016-11-01 -end 2016-11-06

users

List github users.

you can choose input file as specified user ids for users collection,like -i input

watchers

List github watchers of {owner}/{repo}.

License

Apache 2.0 license. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL