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
Directories []string`short:"d" long:"directories" description:"Path where standard git repositories are located, multiple directories can be defined."`
Bucketint`long:"bucket" default:"2" description:"Bucketing level to use with siva libraries"`
62
-
Barebool`long:"bare" description:"Sets the library to use bare git repositories, used only with git format libraries"`
63
-
NonBarebool`long:"non-bare" description:"Sets the library to use non bare git repositories, used only with git format libraries"`
64
-
NonRootedbool`long:"non-rooted" description:"Disables treating siva files as rooted repositories"`
65
-
Hoststring`long:"host" default:"localhost" description:"Host where the server is going to listen"`
66
-
Portint`short:"p" long:"port" default:"3306" description:"Port where the server is going to listen"`
67
-
Userstring`short:"u" long:"user" default:"root" description:"User name used for connection"`
68
-
Passwordstring`short:"P" long:"password" default:"" description:"Password used for connection"`
69
-
UserFilestring`short:"U" long:"user-file" env:"GITBASE_USER_FILE" default:"" description:"JSON file with credentials list"`
70
-
ConnTimeoutint`short:"t" long:"timeout" env:"GITBASE_CONNECTION_TIMEOUT" description:"Timeout in seconds used for connections"`
71
-
IndexDirstring`short:"i" long:"index" default:"/var/lib/gitbase/index" description:"Directory where the gitbase indexes information will be persisted." env:"GITBASE_INDEX_DIR"`
72
-
CacheSize cache.FileSize`long:"cache" default:"512" description:"Object cache size in megabytes" env:"GITBASE_CACHESIZE_MB"`
73
-
Parallelismuint`long:"parallelism" description:"Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 means default, 1 means disabled."`
74
-
DisableSquashbool`long:"no-squash" description:"Disables the table squashing."`
ReadOnlybool`short:"r" long:"readonly" description:"Only allow read queries. This disables creating and deleting indexes as well. Cannot be used with --user-file." env:"GITBASE_READONLY"`
77
-
SkipGitErrorsbool// SkipGitErrors disables failing when Git errors are found.
78
-
Verbosebool`short:"v" description:"Activates the verbose mode"`
Directories []string`short:"d" long:"directories" description:"Path where standard git repositories are located, multiple directories can be defined."`
Bucketint`long:"bucket" default:"2" description:"Bucketing level to use with siva libraries"`
68
+
Barebool`long:"bare" description:"Sets the library to use bare git repositories, used only with git format libraries"`
69
+
NonBarebool`long:"non-bare" description:"Sets the library to use non bare git repositories, used only with git format libraries"`
70
+
NonRootedbool`long:"non-rooted" description:"Disables treating siva files as rooted repositories"`
71
+
Hoststring`long:"host" default:"localhost" description:"Host where the server is going to listen"`
72
+
Portint`short:"p" long:"port" default:"3306" description:"Port where the server is going to listen"`
73
+
Userstring`short:"u" long:"user" default:"root" description:"User name used for connection"`
74
+
Passwordstring`short:"P" long:"password" default:"" description:"Password used for connection"`
75
+
UserFilestring`short:"U" long:"user-file" env:"GITBASE_USER_FILE" default:"" description:"JSON file with credentials list"`
76
+
ConnTimeoutint`short:"t" long:"timeout" env:"GITBASE_CONNECTION_TIMEOUT" description:"Timeout in seconds used for connections"`
77
+
IndexDirstring`short:"i" long:"index" default:"/var/lib/gitbase/index" description:"Directory where the gitbase indexes information will be persisted." env:"GITBASE_INDEX_DIR"`
78
+
CacheSize cache.FileSize`long:"cache" default:"512" description:"Object cache size in megabytes" env:"GITBASE_CACHESIZE_MB"`
79
+
Parallelismuint`long:"parallelism" description:"Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 means default, 1 means disabled."`
80
+
DisableSquashbool`long:"no-squash" description:"Disables the table squashing."`
MetricsPortint`long:"metrics-port" env:"GITBASE_METRICS_PORT" default:"2112" description:"Port where the server is going to expose prometheus metrics"`
84
+
ReadOnlybool`short:"r" long:"readonly" description:"Only allow read queries. This disables creating and deleting indexes as well. Cannot be used with --user-file." env:"GITBASE_READONLY"`
85
+
SkipGitErrorsbool// SkipGitErrors disables failing when Git errors are found.
86
+
Verbosebool`short:"v" description:"Activates the verbose mode"`
0 commit comments