Commit Graph

10272 Commits

Author SHA1 Message Date
Zach Musgrave 71be0e17cd Bats tests for drop database 2021-11-10 14:13:12 -08:00
Zach Musgrave 05a8756e64 Merge pull request #2365 from dolthub/zachmu/ignore
Added dolt databases to gitignore
2021-11-09 17:04:34 -08:00
Zach Musgrave f7a13cab56 Added dolt databases to gitignore 2021-11-09 16:52:48 -08:00
Zach Musgrave 20e4f9b015 Merge pull request #2364 from dolthub/zachmu/sql-create-polish
Better support for sql outside a database directory
2021-11-09 16:50:38 -08:00
Zach Musgrave 114b62bf30 PR feedback 2021-11-09 16:34:27 -08:00
Zach Musgrave af4842768f Fixed a couple more tests 2021-11-09 16:21:58 -08:00
Zach Musgrave 83f89fff1b Merge branch 'zachmu/sql-create-polish' of github.com:dolthub/dolt into zachmu/sql-create-polish 2021-11-09 15:32:42 -08:00
Zach Musgrave fd9babb2d7 Fixed bug in init and fixed tests 2021-11-09 15:32:35 -08:00
zachmu 42621bb61f [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-09 23:17:46 +00:00
Zach Musgrave 79c78168ea Fix broken test (config --get should never have more than one config scope) 2021-11-09 15:16:30 -08:00
Zach Musgrave 5a8a95d369 Fixed tests and added additional ones. Fixed a bug in email check for dolt commit 2021-11-09 15:04:59 -08:00
Zach Musgrave 58bf504157 Fixed bugs in config and some formatting errors 2021-11-09 14:32:32 -08:00
Zach Musgrave 42b42fcfe1 Updated error message for missing identity to match git 2021-11-09 13:28:32 -08:00
Zach Musgrave b3eaff2ec1 More tests of config, and made it so that SQL envs with no local config write updates to global config 2021-11-09 13:16:13 -08:00
jennifersp e10587d4a0 Merge pull request #2356 from dolthub/jennifer/dump-json-format
dump - add json format
2021-11-09 11:20:46 -08:00
jennifersp 845274a891 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-09 18:40:15 +00:00
jennifersp 1d8536bef1 fix descriptions 2021-11-09 10:39:18 -08:00
Maximilian Hoffman 45a3374808 DOLT_REPLICATE_HEADs_STRATEGY option, fetch all branches from remote before every read (#2346)
* save version with defaultConfig in session -- todo remove and make PersistedSession

* add PersistedSession, and DoltSession interface to switch

* fmt

* fixup test for persistedSession

* PersistedSession progress, interfaces and enginetests

* All DsessFromSess references fixed

* delete unnuecessary lines

* Comments for dolt session

* Dolt session tests

* save bats progress

* formatting

* GMS version

* Bump GMS version

* add license header

* fix multi-db errors

* try copyright again

* make test deterministic

* higher connection timeout default

* sever config ordering

* PR fixes

* PR fixes

* config rewrite progress

* server config refactor

* PR cleanup

* delete lines

* add go tests, refactor persistent global initialization

* PR fixes

* delete more lines

* small PR cleanup

* try to fix data race

* better constructor names

* zach don't like --server flag

* edge cases around disabling replication

* missed line in merge

* Skip two tests i fixed in follow-on PR

* commit hook warning progress

* merge two config prs

* fix nondeterministic bats

* zach's comments

* bump bats sql-shell expect timeout

* non-server progress

* replication warnings

* Get and set config bool types

* More bats, small PR fixes

* missing header

* fix bats panic

* PR touch ups

* flag, logic and tests for pulling multiple heads to replica

* change name because enginetest, fix impl typo

* missed file commit, config var name changed to strategy

* delete unnecessary lines

* progress, need to merge other PR

* prototype working

* delete some lines

* don't make a new branch until after fetch

* zach's comments

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* fix import cycle

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* fix import cycle, sys vars in sqle

* style fixes, one more bats

* split heads spec and all heads into two variables

* remove unnecessary rebase

* bad merge duplicated bats

* fix on demand fetch after multi head pull changes

* correctness, bats and zach fixes

* drop unnecessary server test

* bad bats title

* small PR fixes

* correctness fix for detached head / fetch branch

* fix comment

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-11-09 10:37:09 -08:00
jennifersp 0bb6bae8ea [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-09 17:47:10 +00:00
jennifersp eb338218ed fix wordings 2021-11-09 09:46:05 -08:00
Zach Musgrave 9873a81b54 More tests 2021-11-09 09:03:40 -08:00
jennifersp b79af49089 update dump.go 2021-11-08 15:45:14 -08:00
jennifersp 5973538694 fix error msgs 2021-11-08 15:39:05 -08:00
zachmu f064c7abc0 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-08 22:09:52 +00:00
Zach Musgrave e724926b18 I don't know Tim, is fun necessary? 2021-11-08 13:28:51 -08:00
jennifersp 62f80f13fc Merge pull request #2347 from dolthub/jennifer/fix-dolt-fetch-bug
fix fetch newline issue
2021-11-08 13:14:14 -08:00
Zach Musgrave 5352a787db Tests of failsafe config 2021-11-08 12:37:27 -08:00
Zach Musgrave 576753d38c Added failsafe values to dolt CLI config, only in sql context for now 2021-11-08 12:26:52 -08:00
jennifersp 148484a2fa update remotes.bats 2021-11-08 12:14:18 -08:00
jennifersp b9c1d9308a [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-08 20:11:56 +00:00
jennifersp 5ee79c6604 get readme from main 2021-11-08 12:09:49 -08:00
jennifersp 105c8f8321 combine uptodate detch test 2021-11-08 12:01:55 -08:00
jennifersp 4f9c26add2 add json result format 2021-11-08 11:54:53 -08:00
Zach Musgrave c76f4bde26 Fixed bug in config hierarchy construction -- it was being constructed backwards, so globals were being returned instead of locals 2021-11-08 11:43:13 -08:00
Maximilian Hoffman 382c498390 Max hoffman patch 1 (#2355)
* Update README.md

* missed backup short desc

* Update README.md
2021-11-08 10:31:04 -08:00
Max Hoffman 643201ec3a merge README --help output PR 2021-11-08 10:26:53 -08:00
Max Hoffman faf2e45f91 merge replication warnings PR 2021-11-08 10:26:21 -08:00
jennifersp 7532713f32 fix bats test 2021-11-05 15:57:32 -07:00
Zach Musgrave 21a17f0c7b Test fix 2021-11-05 15:53:12 -07:00
Zach Musgrave dd24ced73f Unskipped test 2021-11-05 15:46:55 -07:00
Zach Musgrave 202c512257 Moved some common logic into DoltEnvAsMultiEnv, unskipped test 2021-11-05 15:46:32 -07:00
jennifersp 04b77f3d80 add fixes 2021-11-05 14:58:05 -07:00
jennifersp 4a0d170091 Update remotes.bats 2021-11-05 13:46:26 -07:00
Dustin Brown 402183d1d1 Merge pull request #2351 from dolthub/db/handle-v
[no-release-notes] /.github/workflows/cd-release.yaml: handle bad v on release
2021-11-05 12:44:35 -07:00
Dustin Brown 175be7c25f /.github/workflows/cd-release.yaml: handle bad v on release 2021-11-05 12:43:32 -07:00
jennifersp feab054d03 Merge branch 'main' into jennifer/fix-dolt-fetch-bug 2021-11-05 12:40:08 -07:00
coffeegoddd f60446800b [ga-bump-release] Update Dolt version to 0.33.1 and release v0.33.1 v0.33.1 2021-11-05 19:16:35 +00:00
Dustin Brown 0042e4bdad Merge pull request #2349 from dolthub/db/fix-version
/go/cmd/dolt/dolt.go: fix dolt version format
2021-11-05 12:11:57 -07:00
Dustin Brown c0e7de24c8 /go/cmd/dolt/dolt.go: fix dolt version format 2021-11-05 12:10:36 -07:00
jennifersp acb5b5d2bb update doltdb.go 2021-11-05 11:46:29 -07:00