Usage of /usr/bin/livegrep-github-reindex:
-api-base-url string
Github API base url (default "https://api.github.com/")
-archived
whether to index repositories that are archived on github
-blacklist string
[DEPRECATED] This flag has been deprecated and will be removed in a future release. Please switch to the '-ignorelist' option.
-codesearch codesearch
Path to the codesearch binary
-depth int
clone repository with specify --depth=N depth.
-dir string
Directory to store repos (default "repos")
-fetch-reindex livegrep-fetch-reindex
Path to the livegrep-fetch-reindex binary
-forks
whether to index repositories that are github forks, and not original repos (default true)
-github-key string
Github API key
-http
clone repositories over HTTPS instead of SSH
-http-user string
Override the username to use when cloning over https (default "git")
-ignorelist string
File containing a list of repositories to ignore when indexing
-installation-token
Treat the API key as a Github Application Installation Key when cloning
-max-concurrent-gh-requests int
Applied per org/user. If fetching 2 orgs, you will have 2x{yourInput} network calls possible at a time (default 1)
-name string
The name to be stored in the index file (default "livegrep index")
-no-index
Skip indexing after writing config and fetching
-num-repo-update-workers string
Number of workers fetch-reindex will use to update repositories (default "8")
-org value
Specify a github organization to index (may be passed multiple times)
-out value
Path to write the index (default ${dir}/livegrep.idx)
-repo value
Specify a repo to index (may be passed multiple times)
-revision string
git revision to index (default "HEAD")
-revparse git rev-parse
whether to git rev-parse the provided revision in generated links (default true)
-skip-missing
skip repositories where the specified revision is missing
-url-pattern string
when using the local frontend fileviewer, this string will be used to construt a link to the file source on github (default "https://github.com/{name}/blob/{version}/{path}#L{lno}")
-user value
Specify a github user to index (may be passed multiple times)
Options (24)
| Option | Description | Source |
|---|---|---|
-api-base-url string | Github API base url (default "https://api.github.com/") | help |
-archived | whether to index repositories that are archived on github | help |
-blacklist string | [DEPRECATED] This flag has been deprecated and will be removed in a future release. | help |
-codesearch codesearch | Path to the codesearch binary | help |
-depth int | clone repository with specify --depth=N depth. | help |
-dir string | Directory to store repos (default "repos") | help |
-fetch-reindex livegrep-fetch-reindex | Path to the livegrep-fetch-reindex binary | help |
-forks | whether to index repositories that are github forks, and not original repos (default true) | help |
-github-key string | Github API key | help |
-http | clone repositories over HTTPS instead of SSH | help |
-http-user string | Override the username to use when cloning over https (default "git") | help |
-ignorelist string | File containing a list of repositories to ignore when indexing | help |
-installation-token | Treat the API key as a Github Application Installation Key when cloning | help |
-max-concurrent-gh-requests int | Applied per org/user. | help |
-name string | The name to be stored in the index file (default "livegrep index") | help |
-no-index | Skip indexing after writing config and fetching | help |
-num-repo-update-workers string | Number of workers fetch-reindex will use to update repositories (default "8") | help |
-org value | Specify a github organization to index (may be passed multiple times) | help |
-out value | Path to write the index (default ${dir}/livegrep.idx) | help |
-repo value | Specify a repo to index (may be passed multiple times) | help |
-revision string | git revision to index (default "HEAD") | help |
-skip-missing | skip repositories where the specified revision is missing | help |
-url-pattern string | when using the local frontend fileviewer, this string will be used to construt a link to the file source on github (default "https://github.com/{name}/blob/{version}/{path}#L{lno}") | help |
-user value | Specify a github user to index (may be passed multiple times) | help |