You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`GITBASE_BLOBS_MAX_SIZE`| maximum blob size to return in MiB, default 5 MiB |
9
10
|`GITBASE_BLOBS_ALLOW_BINARY`| enable retrieval of binary blobs, default `false`|
10
11
|`GITBASE_UNSTABLE_SQUASH_ENABLE`| enable join squash rule to improve query performance **experimental**. This optimization collects inner joins between tables with a set of supported conditions and converts them into a single node that retrieves the data in chained steps (getting first the commits and then the blobs of every commit instead of joining all commits and all blobs, for example).|
11
12
|`GITBASE_SKIP_GIT_ERRORS`| do not stop queries on git errors, default disabled |
12
13
13
-
## Executable parameters
14
+
## Executable parameters
15
+
16
+
```bash
17
+
Please specify one command of: server or version
18
+
Usage:
19
+
gitbase [OPTIONS] <server | version>
20
+
21
+
Help Options:
22
+
-h, --help Show this help message
23
+
24
+
Available commands:
25
+
server Starts a gitbase server instance
26
+
version Show the version information
27
+
```
28
+
29
+
`server` command contains the following options:
30
+
31
+
```bash
32
+
Usage:
33
+
gitbase [OPTIONS] server [server-OPTIONS]
34
+
35
+
Starts a gitbase server instance
36
+
37
+
The squashing tables and pushing down join conditions is still a
38
+
work in progress and unstable, disable by default. It can be enabled
39
+
using a not empty value at GITBASE_UNSTABLE_SQUASH_ENABLE env variable.
40
+
41
+
By default when gitbase encounters an error in a repository it
42
+
stops the query. With GITBASE_SKIP_GIT_ERRORS variable it won't
43
+
complain and just skip those rows or repositories.
44
+
45
+
Help Options:
46
+
-h, --help Show this help message
47
+
48
+
[server command options]
49
+
-v Activates the verbose mode
50
+
-g, --git= Path where the git repositories are located, multiple directories can be defined. Accepts globs.
51
+
--siva= Path where the siva repositories are located, multiple directories can be defined. Accepts globs.
52
+
-h, --host= Host where the server is going to listen (default: localhost)
53
+
-p, --port= Port where the server is going to listen (default: 3306)
54
+
-u, --user= User name used for connection (default: root)
55
+
-P, --password= Password used for connection
56
+
--pilosa= URL to your pilosa server (default: http://localhost:10101)
57
+
-i, --index= Directory where the gitbase indexes information will be persisted. (default: /var/lib/gitbase/index)
0 commit comments