watson

command module
v0.0.0-...-cf86a0e Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

watson

Build Status

A crawler for Googles code review system Gerrit.

Features

  • List all projects of a Gerrit instance
  • Crawl a Gerrit instance and st
  • Various storage backends (currently MySQL only)
  • Special storage backends for identites (currently sortinghat only)

Installation

TODO

Usage

$ ./watson -help
NAME:
   Watson - Crawl your Gerrit!

USAGE:
   ./watson [global options] command [command options] [arguments...]

VERSION:
   0.0.1

AUTHOR(S):
   Andy Grunwald <andygrunwald@gmail.com>

COMMANDS:
   list-projects, lp	Lists all projects of a Gerrit instance
   crawl, c		Crawls a Gerrit instance
   help, h		Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --instance, -i 	URL for the Gerrit instance [$WATSON_INSTANCE]
   --username, -u 	Username for the Gerrit instance [$WATSON_AUTH_USERNAME]
   --password, -p 	Password for the Gerrit instance [$WATSON_AUTH_PASSWORD]
   --auth-mode, --am 	Mode for Gerrit authentication (basic or cookie) [$WATSON_AUTH_MODE]
   --help, -h		show help
   --version, -v	print the version
List projects

Get all projects of Android:

$ ./watson -i "https://android-review.googlesource.com/" list-projects

List all extensions with descriptions of TYPO3:

$ ./watson -i "https://review.typo3.org/" list-projects \
           -template "{{ .IDEscaped | printf \"%-60s\" }} {{ .Description }}" \
           -filter "TYPO3CMS/Extensions/.*"
Crawl

TODO

License

This project is released under the terms of the Apache License 2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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