-
-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6733 from dolthub/zachmu/timestamp-commit
Moved all environment variables relevant to a customer into a common file so we can collect and document them more easily
- Loading branch information
Showing
54 changed files
with
142 additions
and
196,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright 2023 Dolthub, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package dconfig | ||
|
||
const ( | ||
EnvPassword = "DOLT_CLI_PASSWORD" | ||
EnvUser = "DOLT_CLI_USER" | ||
EnvSilenceUserReqForTesting = "DOLT_SILENCE_USER_REQ_FOR_TESTING" | ||
EnvOpenAiKey = "OPENAI_API_KEY" | ||
EnvDoltRemotePassword = "DOLT_REMOTE_PASSWORD" | ||
EnvEditor = "EDITOR" | ||
EnvSqlDebugLogVerbose = "DOLT_SQL_DEBUG_LOG_VERBOSE" | ||
EnvSqlDebugLog = "DOLT_SQL_DEBUG_LOG" | ||
EnvHome = "HOME" | ||
EnvDoltRootPath = "DOLT_ROOT_PATH" | ||
EnvRemoteVersionDownloadStats = "DOLT_REMOTE_VERBOSE_DOWNLOAD_STATS" | ||
EnvPushLog = "PUSH_LOG" | ||
EnvDefaultBinFormat = "DOLT_DEFAULT_BIN_FORMAT" | ||
EnvTestForceOpenEditor = "DOLT_TEST_FORCE_OPEN_EDITOR" | ||
EnvDisableChunkJournal = "DOLT_DISABLE_CHUNK_JOURNAL" | ||
EnvOssEndpoint = "OSS_ENDPOINT" | ||
EnvOssAccessKeyID = "OSS_ACCESS_KEY_ID" | ||
EnvOssAccessKeySecret = "OSS_ACCESS_KEY_SECRET" | ||
EnvVerboseAssertTableFilesClosed = "DOLT_VERBOSE_ASSERT_TABLE_FILES_CLOSED" | ||
EnvDisableGcProcedure = "DOLT_DISABLE_GC_PROCEDURE" | ||
EnvEditTableBufferRows = "DOLT_EDIT_TABLE_BUFFER_ROWS" | ||
EnvDisableFixedAccess = "DOLT_DISABLE_FIXED_ACCESS" | ||
EnvDoltAssistAgree = "DOLT_ASSIST_AGREE" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2023 Dolthub, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package doltdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,10 @@ const TestEmailAddress = "[email protected]" | |
const ConnectAttempts = 50 | ||
const RetrySleepDuration = 50 * time.Millisecond | ||
|
||
const EnvDoltBinPath = "DOLT_BIN_PATH" | ||
|
||
func init() { | ||
path := os.Getenv("DOLT_BIN_PATH") | ||
path := os.Getenv(EnvDoltBinPath) | ||
if path == "" { | ||
path = "dolt" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.